joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41acd7
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 0x41ad17
push 0x454bf8
push 4
push eax
call fcn.00436837
push eax
call fcn.00404a10
add esp, 0x10
jmp 0x41ad29
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x41ad97
push edi
call fcn.0043a377
mov edi, dword [eax]
call fcn.0043a377
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.00439ba1
add esp, 0x18
mov ebx, eax
call fcn.0043a377
cmp dword [eax], 0
je 0x41ad77
call fcn.0043a377
push dword [eax]
call fcn.00419c94
pop ecx
jmp 0x41ad7e
call fcn.0043a377
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41ad97
cmp ebx, esi
jae 0x41ad97
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x41ad99
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00435417
leave
ret
Function at 0x41c328
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 0x41c36e
call fcn.00423c0a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41c36e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41c3b1
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 0x41c39a
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 0x41c39a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41c3ae
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 0x41d84a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4514f4
call fcn.00439fba
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.00423c0a
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41d895
call fcn.00423c0a
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 0x41d8a6
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41d8b3
or eax, 0xffffffff
jmp 0x41da0f
mov ecx, esi
call fcn.0041d39c
mov dword [ebp - 0x14], eax
call fcn.00420796
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41d931
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41d931
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41d931
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00404ad0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41d931
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41d931
mov ecx, ebx
call fcn.00423e2f
test eax, eax
je 0x41d931
push 0
mov ecx, ebx
call fcn.00423e4a
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042218e
push dword [ebp - 0x14]
call fcn.004206ee
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041d652
xor edi, edi
cmp eax, edi
je 0x41d98e
test byte [esi + 0x3c], 0x10
je 0x41d978
push 4
pop edi
mov ecx, esi
call fcn.00423d40
test ax, 0x100
je 0x41d96e
push 5
pop edi
push edi
mov ecx, esi
call fcn.004202b6
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41d98e
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00424019
or dword [ebp - 4], 0xffffffff
jmp 0x41d9b9
cmp dword [ebp - 0x28], edi
je 0x41d9c7
push 1
mov ecx, ebx
call fcn.00423e4a
cmp dword [ebp - 0x2c], edi
je 0x41d9d7
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41d9f0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41d9f0
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.0041d3d6
cmp dword [esi + 0x58], edi
je 0x41da0c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043a05f
ret
Function at 0x42175e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x421797
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.0041a2ae
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 0x42331b
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 0x42335e
call fcn.00423c0a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42335e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x423379
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00422ed2
test ebx, ebx
mov esi, eax
je 0x423377
test edi, edi
je 0x423377
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x427a93
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 0x427ac1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x427adf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004279fd
jmp 0x427adf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x427adf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004279fd
test edi, edi
mov eax, edi
jne 0x427ac9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46f1f8]
test ecx, ecx
je 0x427ba2
jmp 0x427a92
ret 8

Function at 0x435417
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46a860]
jne 0x435421
repz ret
jmp fcn.0043cd6b
Function at 0x4370c3
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 0x437100
cmp dword [ebp + 0x14], edi
je 0x437100
cmp ecx, edi
jne 0x437107
call fcn.0043a377
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00435b60
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43711b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43713c
cmp ebx, 0xffffffff
je 0x43712b
push ebx
push edi
push ecx
call fcn.00437860
add esp, 0xc
cmp esi, edi
je 0x4370e8
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4370e8
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x437158
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43715f
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x437250
test word [esi + 0xc], 0x10c
je 0x4371b3
mov eax, dword [esi + 4]
test eax, eax
je 0x4371b3
jl 0x4372b1
cmp ebx, eax
mov edi, ebx
jb 0x437184
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x437258
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004350a1
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 0x437248
cmp ebx, dword [ebp - 0xc]
jb 0x437220
cmp dword [ebp - 0xc], 0
je 0x4371dd
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x4371d2
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4371d9
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4371e8
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x4371e8
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x437284
push eax
push dword [ebp - 8]
push esi
call fcn.00442dd9
pop ecx
push eax
call fcn.00442cdc
add esp, 0xc
test eax, eax
je 0x4372c3
cmp eax, 0xffffffff
je 0x4372b1
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x437248
push esi
call fcn.004425fb
cmp eax, 0xffffffff
pop ecx
je 0x4372b5
cmp dword [ebp - 4], 0
je 0x437284
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 0x437167
mov eax, dword [ebp + 0x14]
jmp 0x437102
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43726f
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00437860
add esp, 0xc
call fcn.0043a377
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4370f8
cmp dword [ebp + 0xc], 0xffffffff
je 0x43729a
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00437860
add esp, 0xc
call fcn.0043a377
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4370f8
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x437102
or dword [esi + 0xc], 0x10
jmp 0x4372b5
Function at 0x4416a4
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 + 0x46b290]
je 0x4416bf
inc edi
cmp edi, 0x17
jb 0x4416b0
cmp edi, 0x17
jae 0x44183f
push ebp
push 3
call fcn.0044753e
cmp eax, 1
pop ecx
je 0x44180b
push 3
call fcn.0044753e
test eax, eax
pop ecx
jne 0x4416f3
cmp dword [0x46a84c], 1
je 0x44180b
cmp ebx, 0xfc
je 0x44183e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46fa90
push ebp
call fcn.00436837
add esp, 0xc
test eax, eax
je 0x441729
push esi
push esi
push esi
push esi
push esi
call fcn.00435a64
add esp, 0x14
push 0x104
mov esi, 0x46faa9
push esi
push 0
mov byte [0x46fbad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44176d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00436837
add esp, 0xc
test eax, eax
je 0x44176d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00435a64
add esp, 0x14
push esi
call fcn.00437cd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4417b2
push esi
call fcn.00437cd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46fda4
push 0x457cfc
sub ecx, eax
push ecx
push eax
call fcn.0043a7bb
add esp, 0x14
test eax, eax
je 0x4417b2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00435a64
add esp, 0x14
jmp 0x4417b4
xor esi, esi
push 0x457cf8
push ebx
push ebp
call fcn.004369f5
add esp, 0xc
test eax, eax
je 0x4417d4
push esi
push esi
push esi
push esi
push esi
call fcn.00435a64
add esp, 0x14
push dword [edi*8 + 0x46b294]
push ebx
push ebp
call fcn.004369f5
add esp, 0xc
test eax, eax
je 0x4417f6
push esi
push esi
push esi
push esi
push esi
call fcn.00435a64
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00447381
add esp, 0xc
jmp 0x44183e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44183e
cmp ebp, 0xffffffff
je 0x44183e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46b294]
push dword [esi]
call fcn.00437cd0
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 0x447381
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043e535
xor ebx, ebx
cmp dword [0x46ff2c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x447457
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x447537
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x458e84
push edi
call esi
cmp eax, ebx
je 0x447537
push eax
call fcn.0043e4c7
mov dword [esp], 0x458e74
push edi
mov dword [0x46ff2c], eax
call esi
push eax
call fcn.0043e4c7
mov dword [esp], 0x458e60
push edi
mov dword [0x46ff30], eax
call esi
push eax
call fcn.0043e4c7
mov dword [0x46ff34], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043a4be
test eax, eax
pop ecx
pop ecx
je 0x447425
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00435a64
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x447457
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043e4c7
cmp eax, ebx
pop ecx
mov dword [0x46ff3c], eax
je 0x447457
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043e4c7
pop ecx
mov dword [0x46ff38], eax
mov eax, dword [0x46ff38]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4474dc
cmp dword [0x46ff3c], ecx
je 0x4474dc
push eax
call fcn.0043e53e
push dword [0x46ff3c]
mov esi, eax
call fcn.0043e53e
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4474dc
cmp edi, ebx
je 0x4474dc
call esi
cmp eax, ebx
je 0x4474a9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4474a9
test byte [ebp - 0x18], 1
jne 0x4474dc
lea eax, [ebp - 0x10]
push eax
call fcn.0043a4f5
test eax, eax
pop ecx
je 0x4474c4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00435a64
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4474d3
or dword [ebp + 0x10], 0x200000
jmp 0x447517
or dword [ebp + 0x10], 0x40000
jmp 0x447517
mov eax, dword [0x46ff30]
cmp eax, dword [ebp - 8]
je 0x447517
push eax
call fcn.0043e53e
cmp eax, ebx
pop ecx
je 0x447517
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x447517
mov eax, dword [0x46ff34]
cmp eax, dword [ebp - 8]
je 0x447517
push eax
call fcn.0043e53e
cmp eax, ebx
pop ecx
je 0x447517
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46ff2c]
call fcn.0043e53e
cmp eax, ebx
pop ecx
je 0x447537
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447539
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44ca20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x452573
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.0044c5d0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x46ff58
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.0044d9b0
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 0x44cab0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x452598
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 0x44caf0
push esi
push esi
push esi
push 2
call fcn.0044e080
xor al, al
jmp 0x44cc7a
call fcn.0044be20
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.004374ef
push esi
call fcn.00443400
push 0
push 0
push esi
mov edi, eax
call fcn.004374ef
add esp, 0x1c
test edi, edi
jg 0x44cb37
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.0044e080
xor al, al
jmp 0x44cc7a
mov dword [esp + 0x14], 0x46ff58
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.0044d910
lea eax, [edi + 1]
push eax
call fcn.0041981a
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.0043735f
add esp, 0x14
cmp eax, 1
je 0x44cbad
push ebp
call fcn.00419845
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.0044e080
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x46ff58
je 0x44cba6
push eax
call fcn.00419845
add esp, 4
xor al, al
jmp 0x44cc7a
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x44cc22
jmp 0x44cbc0
mov cl, byte [esi]
cmp cl, 0xa
jne 0x44cbe0
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0044daa0
add esi, 1
mov eax, esi
jmp 0x44cc1d
cmp cl, 0xd
jne 0x44cc1a
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x44cbf8
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0044daa0
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.0044daa0
cmp byte [esi + 1], 0xa
jne 0x44cbd9
add esi, 2
mov eax, esi
jmp 0x44cc1d
add esi, 1
cmp byte [esi], 0
jne 0x44cbc0
sub esi, eax
je 0x44cc31
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0044daa0
push ebp
call fcn.00419845
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 0x44cb96
cmp eax, 0x46ff58
je 0x44cc78
push eax
call fcn.00419845
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 0x44f9c4
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.0044f959
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.00437860
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 0x44fa13
cmp dword [ebp - 0x1c], 5
jb 0x44fa2b
jmp 0x44fa27
cmp dword [ebp - 0x10], 1
jne 0x44fa2b
cmp dword [ebp - 0x1c], 4
ja 0x44fa27
jne 0x44fa2b
cmp dword [ebp - 0x18], 0
jbe 0x44fa2b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45a088
call fcn.0044f82d
test eax, eax
jge 0x44fa4c
mov byte [0x4700cc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00435417
add ebp, 0x78
leave
ret
Function at 0x410a10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48150b
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.00475e6d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410a92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00473be0
mov eax, dword [eax]
push 0x65f240
push eax
call fcn.004664b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004760f8
test bl, bl
je 0x410a92
push 0x65f240
lea ecx, [esp + 0xc]
call fcn.00476488
push 0x662dc4
lea ecx, [esp + 0xc]
call fcn.00476488
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 0x410ace
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004760f8
jmp 0x410b99
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 0x410b52
lea edx, [esp + 0x7c]
push 0x662dc0
push edx
call fcn.004664b4
add esp, 8
test eax, eax
je 0x410b52
lea eax, [esp + 0x7c]
push 0x662dbc
push eax
call fcn.004664b4
add esp, 8
test eax, eax
je 0x410b52
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 0x410ae2
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.004760f8
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 0x411df0
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 0x411e52
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