joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b565
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x46a860]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x41b5a5
push 0x454cb0
push 4
push eax
call fcn.00436747
push eax
call fcn.00404a00
add esp, 0x10
jmp 0x41b5b7
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x41b625
push edi
call fcn.0043a287
mov edi, dword [eax]
call fcn.0043a287
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00439ab1
add esp, 0x18
mov ebx, eax
call fcn.0043a287
cmp dword [eax], 0
je 0x41b605
call fcn.0043a287
push dword [eax]
call fcn.00419ba4
pop ecx
jmp 0x41b60c
call fcn.0043a287
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41b625
cmp ebx, esi
jae 0x41b625
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x41b627
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00435327
leave
ret
Function at 0x41c21f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41c265
call fcn.00425181
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41c265
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41c2a8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41c291
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41c291
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41c2a5
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41d775
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x451494
call fcn.00439eca
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00425181
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41d7c0
call fcn.00425181
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41d7d1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41d7de
or eax, 0xffffffff
jmp 0x41d93a
mov ecx, esi
call fcn.0041d2c7
mov dword [ebp - 0x14], eax
call fcn.004206bd
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41d85c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41d85c
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41d85c
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00404ac0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41d85c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41d85c
mov ecx, ebx
call fcn.0042344d
test eax, eax
je 0x41d85c
push 0
mov ecx, ebx
call fcn.00423468
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004220b5
push dword [ebp - 0x14]
call fcn.00420615
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041d57d
xor edi, edi
cmp eax, edi
je 0x41d8b9
test byte [esi + 0x3c], 0x10
je 0x41d8a3
push 4
pop edi
mov ecx, esi
call fcn.0042335e
test ax, 0x100
je 0x41d899
push 5
pop edi
push edi
mov ecx, esi
call fcn.004201dd
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41d8b9
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042363b
or dword [ebp - 4], 0xffffffff
jmp 0x41d8e4
cmp dword [ebp - 0x28], edi
je 0x41d8f2
push 1
mov ecx, ebx
call fcn.00423468
cmp dword [ebp - 0x2c], edi
je 0x41d902
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41d91b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41d91b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041d301
cmp dword [esi + 0x58], edi
je 0x41d937
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00439f6f
ret
Function at 0x421685
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4216be
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041a1be
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00402d40
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x423242
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x423285
call fcn.00425181
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x423285
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4232a0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00422df9
test ebx, ebx
mov esi, eax
je 0x42329e
test edi, edi
je 0x42329e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x427acc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x427afa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x427b18
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00427a36
jmp 0x427b18
mov eax, dword [esi + 0x14]
test eax, eax
je 0x427b18
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00427a36
test edi, edi
mov eax, edi
jne 0x427b02
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46f200]
test ecx, ecx
je 0x427bdb
jmp 0x427acb
ret 8

Function at 0x435327
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46a860]
jne 0x435331
repz ret
jmp fcn.0043cc7b
Function at 0x436fd3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x437010
cmp dword [ebp + 0x14], edi
je 0x437010
cmp ecx, edi
jne 0x437017
call fcn.0043a287
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00435a70
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43702b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43704c
cmp ebx, 0xffffffff
je 0x43703b
push ebx
push edi
push ecx
call fcn.00437770
add esp, 0xc
cmp esi, edi
je 0x436ff8
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x436ff8
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x437068
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43706f
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x437160
test word [esi + 0xc], 0x10c
je 0x4370c3
mov eax, dword [esi + 4]
test eax, eax
je 0x4370c3
jl 0x4371c1
cmp ebx, eax
mov edi, ebx
jb 0x437094
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x437168
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00434fb1
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x437158
cmp ebx, dword [ebp - 0xc]
jb 0x437130
cmp dword [ebp - 0xc], 0
je 0x4370ed
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4370e2
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4370e9
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4370f8
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4370f8
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x437194
push eax
push dword [ebp - 8]
push esi
call fcn.00442ced
pop ecx
push eax
call fcn.00442bf0
add esp, 0xc
test eax, eax
je 0x4371d3
cmp eax, 0xffffffff
je 0x4371c1
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x437158
push esi
call fcn.0044250f
cmp eax, 0xffffffff
pop ecx
je 0x4371c5
cmp dword [ebp - 4], 0
je 0x437194
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x437077
mov eax, dword [ebp + 0x14]
jmp 0x437012
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43717f
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00437770
add esp, 0xc
call fcn.0043a287
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x437008
cmp dword [ebp + 0xc], 0xffffffff
je 0x4371aa
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00437770
add esp, 0xc
call fcn.0043a287
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x437008
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x437012
or dword [esi + 0xc], 0x10
jmp 0x4371c5
Function at 0x4415b8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46b298]
je 0x4415d3
inc edi
cmp edi, 0x17
jb 0x4415c4
cmp edi, 0x17
jae 0x441753
push ebp
push 3
call fcn.0044744e
cmp eax, 1
pop ecx
je 0x44171f
push 3
call fcn.0044744e
test eax, eax
pop ecx
jne 0x441607
cmp dword [0x46a84c], 1
je 0x44171f
cmp ebx, 0xfc
je 0x441752
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46fa98
push ebp
call fcn.00436747
add esp, 0xc
test eax, eax
je 0x44163d
push esi
push esi
push esi
push esi
push esi
call fcn.00435974
add esp, 0x14
push 0x104
mov esi, 0x46fab1
push esi
push 0
mov byte [0x46fbb5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x441681
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00436747
add esp, 0xc
test eax, eax
je 0x441681
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00435974
add esp, 0x14
push esi
call fcn.00437be0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4416c6
push esi
call fcn.00437be0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46fdac
push 0x457cfc
sub ecx, eax
push ecx
push eax
call fcn.0043a6cb
add esp, 0x14
test eax, eax
je 0x4416c6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00435974
add esp, 0x14
jmp 0x4416c8
xor esi, esi
push 0x457cf8
push ebx
push ebp
call fcn.00436905
add esp, 0xc
test eax, eax
je 0x4416e8
push esi
push esi
push esi
push esi
push esi
call fcn.00435974
add esp, 0x14
push dword [edi*8 + 0x46b29c]
push ebx
push ebp
call fcn.00436905
add esp, 0xc
test eax, eax
je 0x44170a
push esi
push esi
push esi
push esi
push esi
call fcn.00435974
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00447291
add esp, 0xc
jmp 0x441752
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x441752
cmp ebp, 0xffffffff
je 0x441752
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46b29c]
push dword [esi]
call fcn.00437be0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x447291
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043e445
xor ebx, ebx
cmp dword [0x46ff34], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x447367
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x447447
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x458e84
push edi
call esi
cmp eax, ebx
je 0x447447
push eax
call fcn.0043e3d7
mov dword [esp], 0x458e74
push edi
mov dword [0x46ff34], eax
call esi
push eax
call fcn.0043e3d7
mov dword [esp], 0x458e60
push edi
mov dword [0x46ff38], eax
call esi
push eax
call fcn.0043e3d7
mov dword [0x46ff3c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043a3ce
test eax, eax
pop ecx
pop ecx
je 0x447335
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00435974
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x447367
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043e3d7
cmp eax, ebx
pop ecx
mov dword [0x46ff44], eax
je 0x447367
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043e3d7
pop ecx
mov dword [0x46ff40], eax
mov eax, dword [0x46ff40]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4473ec
cmp dword [0x46ff44], ecx
je 0x4473ec
push eax
call fcn.0043e44e
push dword [0x46ff44]
mov esi, eax
call fcn.0043e44e
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4473ec
cmp edi, ebx
je 0x4473ec
call esi
cmp eax, ebx
je 0x4473b9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4473b9
test byte [ebp - 0x18], 1
jne 0x4473ec
lea eax, [ebp - 0x10]
push eax
call fcn.0043a405
test eax, eax
pop ecx
je 0x4473d4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00435974
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4473e3
or dword [ebp + 0x10], 0x200000
jmp 0x447427
or dword [ebp + 0x10], 0x40000
jmp 0x447427
mov eax, dword [0x46ff38]
cmp eax, dword [ebp - 8]
je 0x447427
push eax
call fcn.0043e44e
cmp eax, ebx
pop ecx
je 0x447427
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x447427
mov eax, dword [0x46ff3c]
cmp eax, dword [ebp - 8]
je 0x447427
push eax
call fcn.0043e44e
cmp eax, ebx
pop ecx
je 0x447427
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46ff34]
call fcn.0043e44e
cmp eax, ebx
pop ecx
je 0x447447
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447449
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c930
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x452483
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x46a860]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.0044c4e0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x46ff60
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x45a1e0
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0044d8c0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x44c9c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x452638
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46a860]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x44ca00
push esi
push esi
push esi
push 2
call fcn.0044df90
xor al, al
jmp 0x44cb8a
call fcn.0044bd30
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.004373ff
push esi
call fcn.00443314
push 0
push 0
push esi
mov edi, eax
call fcn.004373ff
add esp, 0x1c
test edi, edi
jg 0x44ca47
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.0044df90
xor al, al
jmp 0x44cb8a
mov dword [esp + 0x14], 0x46ff60
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.0044d820
lea eax, [edi + 1]
push eax
call fcn.0041972a
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.0043726f
add esp, 0x14
cmp eax, 1
je 0x44cabd
push ebp
call fcn.00419755
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.0044df90
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x46ff60
je 0x44cab6
push eax
call fcn.00419755
add esp, 4
xor al, al
jmp 0x44cb8a
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x44cb32
jmp 0x44cad0
mov cl, byte [esi]
cmp cl, 0xa
jne 0x44caf0
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0044d9b0
add esi, 1
mov eax, esi
jmp 0x44cb2d
cmp cl, 0xd
jne 0x44cb2a
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x44cb08
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0044d9b0
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.0044d9b0
cmp byte [esi + 1], 0xa
jne 0x44cae9
add esi, 2
mov eax, esi
jmp 0x44cb2d
add esi, 1
cmp byte [esi], 0
jne 0x44cad0
sub esi, eax
je 0x44cb41
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0044d9b0
push ebp
call fcn.00419755
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x44caa6
cmp eax, 0x46ff60
je 0x44cb88
push eax
call fcn.00419755
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x44f8d4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46a860]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044f869
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00437770
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44f923
cmp dword [ebp - 0x1c], 5
jb 0x44f93b
jmp 0x44f937
cmp dword [ebp - 0x10], 1
jne 0x44f93b
cmp dword [ebp - 0x1c], 4
ja 0x44f937
jne 0x44f93b
cmp dword [ebp - 0x18], 0
jbe 0x44f93b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45a088
call fcn.0044f75a
test eax, eax
jge 0x44f95c
mov byte [0x4700d4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00435327
add ebp, 0x78
leave
ret
Function at 0x40bf6d
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040c11d
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40c06b
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40c00e
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40c051
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40c025
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40c040
test al, 0x40
je 0x40c037
mov ecx, dword [edi + 0x20]
jmp 0x40c03e
test al, 0x80
je 0x40c051
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40c051
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40bfdd
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41ba70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ae53b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a269b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41baf2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049fced
mov eax, dword [eax]
push 0x6ac254
push eax
call fcn.0047f8d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a2926
test bl, bl
je 0x41baf2
push 0x6ac254
lea ecx, [esp + 0xc]
call fcn.004a2cb6
push 0x6afdcc
lea ecx, [esp + 0xc]
call fcn.004a2cb6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41bb2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a2926
jmp 0x41bbf9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41bbb2
lea edx, [esp + 0x7c]
push 0x6afdc8
push edx
call fcn.0047f8d4
add esp, 8
test eax, eax
je 0x41bbb2
lea eax, [esp + 0x7c]
push 0x6afdc4
push eax
call fcn.0047f8d4
add esp, 8
test eax, eax
je 0x41bbb2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41bb42
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a2926
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41c410
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41c472
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc