joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
push edi
call fcn.00408aa0
mov esi, eax
mov eax, dword [esi + 0x14]
add esp, 4
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
cmp ebp, ebx
je 0x408df9
movzx ecx, word [esi + 8]
mov edx, dword [esp + 0x30]
push ebx
push esi
push ebp
push ecx
push ebx
push edi
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x408df9
mov eax, dword [esp + 0x28]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x408df9
mov word [esp + 0x14], 0x4d42
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x14]
lea eax, [edx + ecx*4]
mov ecx, dword [esi]
lea edx, [eax + ecx + 0xe]
mov dword [esp + 0x16], edx
mov word [esp + 0x1a], bx
mov word [esp + 0x1c], bx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [ecx + eax*4 + 0xe]
lea eax, [esp + 0x14]
push eax
push 0xe
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x32], edx
call ebx
test eax, eax
je 0x408df9
mov eax, dword [esi + 0x20]
push 0
lea edx, [esp + 0x14]
push edx
lea ecx, [eax*4 + 0x28]
push ecx
push esi
push edi
call ebx
test eax, eax
je 0x408df9
mov esi, dword [esi + 0x14]
push 0
lea edx, [esp + 0x14]
push edx
push esi
push ebp
push edi
call ebx
test eax, eax
je 0x408df9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x408df9
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x408fe0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x450959
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46c8b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.00417b8f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40902d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
push 0x104
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
call fcn.00434707
push 0x104
mov esi, eax
push 0
push esi
call fcn.004345b0
add esp, 0x10
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push 0x455b70
push edi
call fcn.004013d0
push esi
call fcn.0043462a
add esp, 0x10
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4090a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x450999
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46c8b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.00417b8f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4090ed
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
push 0x104
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
call fcn.00434707
push 0x104
mov esi, eax
push 0
push esi
call fcn.004345b0
add esp, 0x10
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
push 0x455b70
push edi
call fcn.004013d0
push esi
call fcn.0043462a
add esp, 0x10
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x409da0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x450ca8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46c8b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 8]
push eax
call fcn.004090a0
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esi + 0x10]
push str._s_shell32.dll_15
push edx
mov dword [esp + 0x24], 0
call fcn.004013d0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esi + 0x14]
push str._s_shell32.dll_17
push ecx
call fcn.004013d0
mov edx, dword [esp + 0x24]
push edx
lea eax, [esi + 0x1c]
push str._s_shell32.dll_32
push eax
call fcn.004013d0
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esi + 0x18]
push str._s_shell32.dll_31
push edx
call fcn.004013d0
mov eax, dword [esp + 0x3c]
push eax
push str._s_shell32.dll_126
add esi, 0x20
push esi
call fcn.004013d0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x40
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x409e80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x450cd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46c8b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 8]
push eax
call fcn.004090a0
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esi + 0x24]
push str._s_shell32.dll_8
push edx
mov dword [esp + 0x24], 0
call fcn.004013d0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esi + 0x28]
push str._s_shell32.dll_11
push ecx
call fcn.004013d0
mov edx, dword [esp + 0x24]
push edx
lea eax, [esi + 0x2c]
push str._s_shell32.dll_3
push eax
call fcn.004013d0
mov ecx, dword [esp + 0x30]
push ecx
push str._s_shell32.dll_4
add esi, 0x30
push esi
call fcn.004013d0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x34
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409f2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x40b6f0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x451108
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c8b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push 0x20006
xor edi, edi
push edi
push ebx
push ecx
mov dword [esp + 0x38], 2
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebp, dword [esp + 0x30]
jne 0x40b788
cmp dword [ebp - 0xc], edi
je 0x40b75c
mov edx, dword [esp + 0x14]
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x40b771
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], edi
je 0x40b779
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40b779
mov edi, esi
xor esi, esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40b7a1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.RegDelete
call fcn.004044a0
call fcn.00404060
add esp, 4
lea eax, [ebx - 0x10]
mov byte [esp + 0x24], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b7c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b7e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b80b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x40b830
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x451140
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c8b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push 2
push 0
push esi
mov ebx, 1
push edi
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebp, dword [esp + 0x30]
je 0x40b8a4
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x2001f
push 0
push 0x455b91
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40b8d0
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x38]
push edx
push 4
push 0
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40b8c1
xor ebx, ebx
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x40b8e9
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.SetRegDWORD
call fcn.004044a0
call fcn.00404060
add esp, 4
lea eax, [esi - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b90a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b92e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x418ada
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x418ae3
xor eax, eax
jmp 0x418b4c
cmp dword [esp + 8], 0
jne 0x418aef
call fcn.00417a1e
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0043621f
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x418b2a
push dword [esi + 0x10]
call fcn.00435f64
test eax, eax
pop ecx
jne 0x418b2a
mov esi, dword [esi + 0xc]
call fcn.00436288
push esi
push dword [eax]
push 1
call fcn.00426bda
push dword [esi + 0x10]
call fcn.00435f93
test eax, eax
pop ecx
je 0x418b49
push dword [esi + 0x10]
call fcn.0043742b
push eax
call fcn.00401870
pop ecx
pop ecx
jmp 0x418b18
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x418b55
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x418b5f
call fcn.00417a1e
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00435ed7
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x418b8c
mov esi, dword [esi + 0xc]
call fcn.00436288
push esi
push dword [eax]
push 1
call fcn.00426bda
pop esi
ret 8

Function at 0x41d2f1
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 0x41d337
call fcn.00424154
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d337
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41d37a
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 0x41d363
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 0x41d363
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41d377
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 0x421d29
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x421d62
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.00418638
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041838e
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x423870
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 0x4238b3
call fcn.00424154
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4238b3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4238ce
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00423427
test ebx, ebx
mov esi, eax
je 0x4238cc
test edi, edi
je 0x4238cc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x425c3c
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 0x425c6a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x425c88
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00425ba6
jmp 0x425c88
mov eax, dword [esi + 0x14]
test eax, eax
je 0x425c88
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00425ba6
test edi, edi
mov eax, edi
jne 0x425c72
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46faf8]
test ecx, ecx
je 0x425d4b
jmp 0x425c3b
ret 8

Function at 0x433eb7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46c8b0]
jne 0x433ec1
repz ret
jmp fcn.0043cf8c
Function at 0x446223
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043c9d7
xor ebx, ebx
cmp dword [0x470848], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4462f8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x446263
xor eax, eax
jmp 0x4463bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45dcc4
push edi
call esi
cmp eax, ebx
je 0x44625c
push eax
call fcn.0043c974
mov dword [esp], 0x45dcb4
push edi
mov dword [0x470848], eax
call esi
push eax
call fcn.0043c974
mov dword [esp], 0x45dca0
push edi
mov dword [0x47084c], eax
call esi
push eax
call fcn.0043c974
mov dword [0x470850], eax
lea eax, [ebp - 8]
push eax
call fcn.004378ae
test eax, eax
pop ecx
pop ecx
je 0x4462c6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b21a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4462f8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043c974
cmp eax, ebx
pop ecx
mov dword [0x470858], eax
je 0x4462f8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043c974
pop ecx
mov dword [0x470854], eax
mov eax, dword [0x470854]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x446371
cmp dword [0x470858], esi
je 0x446371
push eax
call fcn.0043c9e0
pop ecx
call eax
cmp eax, ebx
je 0x44633e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x470858]
call fcn.0043c9e0
pop ecx
call eax
test eax, eax
je 0x44633e
test byte [ebp - 0x18], 1
jne 0x446371
lea eax, [ebp - 0xc]
push eax
call fcn.004378e5
test eax, eax
pop ecx
je 0x446359
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b21a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x446368
or dword [ebp + 0x10], 0x200000
jmp 0x4463a2
or dword [ebp + 0x10], 0x40000
jmp 0x4463a2
mov eax, dword [0x47084c]
cmp eax, esi
je 0x4463a2
push eax
call fcn.0043c9e0
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4463a2
mov eax, dword [0x470850]
cmp eax, esi
je 0x4463a2
push dword [ebp - 4]
push eax
call fcn.0043c9e0
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x470848]
call fcn.0043c9e0
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44df36
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46c8b0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044decb
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.004345b0
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 0x44df85
cmp dword [ebp - 0x1c], 5
jb 0x44df9d
jmp 0x44df99
cmp dword [ebp - 0x10], 1
jne 0x44df9d
cmp dword [ebp - 0x1c], 4
ja 0x44df99
jne 0x44df9d
cmp dword [ebp - 0x18], 0
jbe 0x44df9d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45ea50
call fcn.0044dd9f
test eax, eax
jge 0x44dfbe
mov byte [0x46df68], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00433eb7
add ebp, 0x78
leave
ret

Function at 0x413200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.EYZtqSKO
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x413222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413218
mov eax, 1
add ebx, ebx
jne 0x41323b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413230
jne 0x41324c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413230
xor ecx, ecx
sub eax, 3
jb 0x413260
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4132d2
mov ebp, eax
add ebx, ebx
jne 0x41326b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413278
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41329c
inc ecx
add ebx, ebx
jne 0x413288
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41327d
jne 0x413299
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41327d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4132bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4132ad
jmp 0x41321e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4132bc
add edi, ecx
jmp 0x41321e
pop esi
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x41331b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x130b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1311c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4132d9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13124]
or eax, eax
je 0x413315
mov dword [ebx], eax
add ebx, 4
jmp 0x4132f6
call dword [esi + 0x13120]
mov ebp, dword [esi + 0x13128]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41334f
sub esp, 0xffffff80
jmp section.WZqkObwJ
Function at 0x41db50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a5cb
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.0047e81b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41dbd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047c47d
mov eax, dword [eax]
push 0x59f230
push eax
call fcn.0046e944
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047eaa6
test bl, bl
je 0x41dbd2
push 0x59f230
lea ecx, [esp + 0xc]
call fcn.0047ee36
push 0x5a2dc0
lea ecx, [esp + 0xc]
call fcn.0047ee36
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 0x41dc0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047eaa6
jmp 0x41dcd9
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 0x41dc92
lea edx, [esp + 0x7c]
push 0x5a2dbc
push edx
call fcn.0046e944
add esp, 8
test eax, eax
je 0x41dc92
lea eax, [esp + 0x7c]
push 0x5a2db8
push eax
call fcn.0046e944
add esp, 8
test eax, eax
je 0x41dc92
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 0x41dc22
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.0047eaa6
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 0x41e4d0
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 0x41e532
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