joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446ad8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4855ec]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x446c9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0043ef70
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00440198
mov eax, dword [esi]
call fcn.0045d1f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x446b4a
mov eax, dword [esi]
call fcn.0045d1f8
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0045d204
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x446b6e
mov eax, dword [esi]
call fcn.0045d204
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0045d1ec
cmp eax, dword [ebp - 0x18]
jle 0x446b84
mov eax, dword [esi]
call fcn.0045d1ec
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0045d1e0
cmp eax, dword [ebp - 0xc]
jle 0x446b9a
mov eax, dword [esi]
call fcn.0045d1e0
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004455d0
push eax
call fcn.004075b4
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x446c61
mov eax, ebx
call fcn.0040454c
cmp eax, 0x64
jge 0x446c61
cmp dword [0x484b3c], 0
je 0x446c61
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407604
cmp dword [ebp - 8], 0
je 0x446c61
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407604
cmp dword [ebp - 8], 0
je 0x446c24
mov bl, 2
jmp 0x446c3f
lea edx, [ebp - 0x20]
mov eax, dword [0x486b9c]
call fcn.00449d28
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x446c3d
xor ebx, ebx
jmp 0x446c3f
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x484c44]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004455d0
push eax
call dword [0x484b3c]
push 4
mov eax, dword [ebp - 4]
call fcn.004455d0
push eax
call fcn.004075fc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446ca6
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x449e38
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x485610]
cmp byte [eax + 0xc], 0
je 0x449fa5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449f9e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486bf0], 0
jne 0x449e8c
push 0x449fac
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x449fb4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486bf0], eax
cmp dword [0x484c6c], 0
jne 0x449f87
push 0x449fc4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x484c6c], eax
cmp dword [0x484c6c], 0
je 0x449f87
push 0x449fd0
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486bf4], eax
push 0x449fe0
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486bf8], eax
push 0x449ff4
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486bfc], eax
push 0x44a00c
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486c00], eax
push 0x44a024
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486c04], eax
push 0x44a038
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486c08], eax
push 0x44a050
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486c0c], eax
push 0x44a068
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486c10], eax
push 0x44a084
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486c14], eax
push 0x44a090
mov eax, dword [0x484c6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486c18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449fa5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44e6bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404284
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call fcn.00407434
shl eax, 0x10
test eax, eax
je 0x44e70b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004044fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4567b0]
test si, 4
je 0x456774
or bl, 1
test si, 8
je 0x45677e
or bl, 4
test si, 1
je 0x456788
or bl, 8
test si, 2
je 0x456792
or bl, 0x10
test si, 0x10
je 0x45679c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4567ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4567b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4567ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4567cd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4567dc
or bl, 4
test esi, 0x20000000
je 0x4567e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45cfa8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cfba
add esp, 0xfffffff0
call fcn.00403858
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422078
mov eax, dword [0x4852b8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d34c
mov eax, dword [0x4852c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d358
mov eax, ebx
call fcn.0045d364
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417a48]
call fcn.004034c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417a48]
call fcn.004034c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417a48]
call fcn.004034c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417a48]
call fcn.004034c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417a48]
call fcn.004034c4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.004074cc
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45977c
push eax
push 0
push 0
mov eax, dword [0x485408]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423abc]
call fcn.004251d0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423abc]
call fcn.004251d0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423abc]
call fcn.004251d0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d7cc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d6a8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d6a8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d6a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d0f7
call fcn.004038b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d48c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d637
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d618
mov dl, 1
mov eax, dword [0x4180ac]
call fcn.004034c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404284
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d607
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044a198
test al, al
je 0x45d5fa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45d648
lea eax, [ebp - 0x254]
call fcn.00409838
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d5fa
xor eax, eax
push ebp
push 0x45d5f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45d680
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d5dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044fc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d5dc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d5fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d4fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c65c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d63e
lea eax, [ebp - 0x260]
call fcn.00404284
ret

Function at 0x45df6c
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x486c38]
cmp byte [eax + 0xa5], 0
jne 0x45dfdd
cmp dword [0x486c50], 0
jne 0x45df9e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45df28
push eax
push 3
call fcn.004075d4
mov dword [0x486c50], eax
cmp dword [0x486c4c], 0
jne 0x45dfb9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x486c4c], eax
cmp dword [0x486c54], 0
jne 0x45dfdd
push esp
push 0
push 0
push 0x45decc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x486c54], eax
pop edx
ret
Function at 0x45e778
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x486c38]
cmp dword [eax + 0x30], 0
je 0x45e822
cmp dword [ebx + 0x94], 0
jne 0x45e81c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e708
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e81c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e7e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e81c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a278
push eax
call fcn.004075b4
dec esi
cmp esi, 0xffffffff
jne 0x45e7f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f2e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45f31d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404374
jmp 0x45f32a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042d8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4640d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x464138
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004044fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408da4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46413f
lea eax, [ebp - 0xc]
call fcn.00404284
ret

Function at 0x4641b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x464210
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4641df
call fcn.0040cc5c
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004028fc
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x464210
call fcn.0040cc5c
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x46d33c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46d414
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486f8c], 0
jne 0x46d3f8
lea eax, [ebp - 4]
mov edx, 0x46d42c
call fcn.0040431c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404744
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46d3f8
mov eax, ebx
call fcn.00402720
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46d3f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46d3db
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46d43c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46d3db
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x486f8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d3f8
mov eax, dword [ebp - 0xc]
call fcn.00402740
ret
mov ebx, dword [0x486f8c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d41b
lea eax, [ebp - 4]
call fcn.00404284
ret

Function at 0x47c88c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404284
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call fcn.00407434
shl eax, 0x10
test eax, eax
je 0x47c8db
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004044fc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402f0e
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
or dword [ebp - 8], 0xffffffff
mov eax, ecx
push ebx
push esi
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x18], edx
push ecx
xor edi, edi
mov dword [ebp - 0x10], eax
push eax
mov esi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test ebx, ebx
je 0x402f91
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x402f54
push 8
pop edi
or ebx, 0xffffffff
jmp 0x402fa7
push esi
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x402f91
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x402734
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x402f99
cmp dword [ebp - 0x14], edi
je 0x402f99
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
jmp 0x402f9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or ebx, 0xffffffff
test esi, esi
je 0x402fa7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402fb0
mov dword [eax], ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x402fbc
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403340
Capabilities:
Accept command line arguments

Disassembly:
call fcn.00404efd
jmp 0x40334a
push 0x170
push 0x40b9e8
call fcn.0040508c
push dword [0x40c550]
call fcn.00403c67
pop ecx
mov dword [0x40c550], eax
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x130], 0x114
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x40339c
mov eax, 0xff
jmp 0x4034f2
mov esi, dword [ebp - 0x124]
and esi, 0x7fff
mov edi, dword [ebp - 0x120]
cmp edi, 2
je 0x4033b9
or esi, 0x8000
mov edx, dword [ebp - 0x12c]
mov ecx, edx
shl ecx, 8
mov eax, dword [ebp - 0x128]
add ecx, eax
mov dword [0x40ce68], edi
mov dword [0x40ce70], ecx
mov dword [0x40ce74], edx
mov dword [0x40ce78], eax
mov dword [0x40ce6c], esi
call fcn.0040350f
mov edi, eax
mov dword [ebp - 0x13c], edi
push 1
call fcn.00404845
pop ecx
test eax, eax
jne 0x40340a
push 0x1c
call fcn.00403555
pop ecx
call fcn.004040e3
test eax, eax
jne 0x40341b
push 0x10
call fcn.00403555
pop ecx
and dword [ebp - 4], 0
call fcn.00404875
test eax, eax
jns 0x403430
push 0x1b
call fcn.004043a0
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40e6a0], eax
call fcn.00404f95
mov dword [0x40cb20], eax
call fcn.00404af3
test eax, eax
jns 0x403456
push 8
call fcn.004043a0
pop ecx
call fcn.00404de3
test eax, eax
jns 0x403467
push 9
call fcn.004043a0
pop ecx
push 1
call fcn.004043f3
pop ecx
test eax, eax
je 0x40347a
push eax
call fcn.004043a0
pop ecx
call fcn.0040502a
test byte [ebp - 0x154], 1
je 0x403491
movzx ecx, word [ebp - 0x150]
jmp 0x403494
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x138], esi
test edi, edi
je 0x403502
call fcn.004043e4
jmp 0x4034e9
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push esi
call fcn.00404692
push esi
call fcn.004042d0
int3
Function at 0x403550
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x40357a
add eax, dword [0x472e18]
push edi
push edi
push eax
push dword [0x40b014]
mov dword [0x42f1e4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.004033d2
cmp eax, edi
jl 0x403673
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push dword [0x40b014]
call ebx
test eax, eax
je 0x40366f
cmp dword [ebp - 4], esi
jne 0x40366f
push dword [ebp + 8]
add dword [0x42f1e4], esi
call fcn.004033d2
mov dword [ebp - 8], eax
cmp eax, edi
jl 0x403672
cmp dword [ebp + 0x10], edi
jne 0x40363e
cmp dword [ebp + 8], edi
jle 0x40366a
mov esi, 0x42f1e8
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x4035ee
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [0x40b014]
call ebx
test eax, eax
je 0x40366f
cmp edi, dword [ebp - 4]
jne 0x40366f
push 0
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40363a
cmp dword [ebp + 0x14], edi
jne 0x40363a
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x42f1e4], eax
cmp dword [ebp + 8], 0
jg 0x4035e1
jmp 0x40366a
push 0xfffffffffffffffe
jmp 0x403671
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403649
mov eax, dword [ebp + 0x14]
push edi
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40b014]
call ebx
test eax, eax
je 0x40366f
mov eax, dword [ebp - 4]
add dword [0x42f1e4], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403672
push 0xfffffffffffffffd
pop eax
pop ebx
pop edi
pop esi
leave
ret 0x10

Function at 0x403e18
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00403b8d
adc dword [esi], 0xffffffab
lea eax, [ebp - 0x58]
push eax
call fcn.00403b9d
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00403b52
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x403e7b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00403b8d
pop es
popal
push es
lds ecx, [ebp - 0x17af3fbb]
invalid