joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436a5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x436aa8
mov eax, esi
call fcn.0044c2e8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436aa8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x436aa8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x436be7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x436ae8
cmp eax, 0x108
ja 0x436ae8
mov eax, esi
call fcn.0044c2e8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436bde
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x436be7
jmp 0x436bde
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x436bc7
cmp eax, 0x20a
ja 0x436bc7
test byte [esi + 0x50], 0x80
jne 0x436b1a
sub eax, 0x203
je 0x436b17
sub eax, 3
je 0x436b17
sub eax, 3
jne 0x436b1a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x436b2e
dec eax
je 0x436b43
dec eax
je 0x436b60
dec eax
je 0x436b43
jmp 0x436b67
mov ecx, ebx
mov eax, dword [0x4580e4]
mov eax, dword [eax]
mov edx, esi
call fcn.00455bb0
jmp 0x436bde
cmp byte [esi + 0x5d], 1
jne 0x436b59
mov eax, esi
mov si, 0xffed
call fcn.00403698
jmp 0x436be7
or word [esi + 0x54], 1
jmp 0x436bde
and word [esi + 0x54], 0xfffe
jmp 0x436bde
mov eax, dword [0x459b10]
cmp byte [eax + 0x20], 0
je 0x436bde
mov eax, dword [0x459b10]
cmp dword [eax + 0x1c], 0
je 0x436bde
mov eax, dword [ebx]
mov edx, dword [0x459b10]
cmp eax, dword [edx + 0x1c]
jne 0x436bde
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044c22c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403698
jmp 0x436be7
cmp eax, 0xb00b
jne 0x436bde
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00435370
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a168
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43a184
cmp dword [esi + 4], 0
je 0x43a1b1
test byte [ebx + 0x55], 1
jne 0x43a1a3
mov eax, ebx
call fcn.00438d08
test eax, eax
jne 0x43a1a3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43a2c1
mov edx, esi
mov eax, ebx
call fcn.00439c8c
jmp 0x43a2c1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43a2ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043bfd8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00436990
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043a168
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043bfd8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a2c1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440858
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45824c]
cmp byte [eax + 0xc], 0
je 0x4409c5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4409be
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x459b64], 0
jne 0x4408ac
push 0x4409cc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4409d4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b64], eax
cmp dword [0x457c24], 0
jne 0x4409a7
push 0x4409e4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x457c24], eax
cmp dword [0x457c24], 0
je 0x4409a7
push 0x4409f0
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b68], eax
push 0x440a00
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b6c], eax
push 0x440a14
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b70], eax
push 0x440a2c
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b74], eax
push 0x440a44
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b78], eax
push 0x440a58
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b7c], eax
push 0x440a70
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b80], eax
push 0x440a88
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b84], eax
push 0x440aa4
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b88], eax
push 0x440ab0
mov eax, dword [0x457c24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x459b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4409c5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444974
Capabilities:
Log keystrokes
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.00404204
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4449c3
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.00404474
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c19c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c1ec]
test si, 4
je 0x44c1b0
or bl, 1
test si, 8
je 0x44c1ba
or bl, 4
test si, 1
je 0x44c1c4
or bl, 8
test si, 2
je 0x44c1ce
or bl, 0x10
test si, 0x10
je 0x44c1d8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c1e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c1f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c228]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c209
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c218
or bl, 4
test esi, 0x20000000
je 0x44c223
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4528ec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4528fe
add esp, 0xfffffff0
call fcn.004037b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041975c
mov eax, dword [0x457f18]
mov dword [eax + 4], ebx
mov dword [eax], 0x452c90
mov eax, dword [0x457f24]
mov dword [eax + 4], ebx
mov dword [eax], 0x452c9c
mov eax, ebx
call fcn.00452ca8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411a54]
call fcn.00403460
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 sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44f0c0
push eax
push 0
push 0
mov eax, dword [0x45806c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b1a0]
call fcn.0041c608
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b1a0]
call fcn.0041c608
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b1a0]
call fcn.0041c608
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004530f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452fc0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452fc0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452fc0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452a3b
call fcn.00403808
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452da4
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 0x452f4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452f30
mov dl, 1
mov eax, dword [0x411e70]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404204
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452f1f
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.00440bb8
test al, al
je 0x452f12
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, 0x452f60
lea eax, [ebp - 0x254]
call fcn.00408e70
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452f12
xor eax, eax
push ebp
push 0x452f0b
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 0x452f98
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452ef4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404474
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 0x452ef4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404474
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452f12
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452e15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041594c
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 0x452f56
lea eax, [ebp - 0x260]
call fcn.00404204
ret

Function at 0x453898
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x459bb0]
cmp byte [eax + 0xa5], 0
jne 0x453909
cmp dword [0x459bc8], 0
jne 0x4538ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453854
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x459bc8], eax
cmp dword [0x459bc4], 0
jne 0x4538e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x459bc4], eax
cmp dword [0x459bcc], 0
jne 0x453909
push esp
push 0
push 0
push 0x4537f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x459bcc], eax
pop edx
ret
Function at 0x453f9c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x459bb0]
cmp dword [eax + 0x30], 0
je 0x454046
cmp dword [ebx + 0x94], 0
jne 0x454040
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453f2c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454040
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 0x454006
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454040
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.00413dbc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454015
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454ba4
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 0x454bd9
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.004042f4
jmp 0x454be6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404258
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455cf8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455d39
mov eax, esi
call fcn.0043c2dc
test al, al
je 0x455d39
mov eax, dword [ebx + 0x84]
call fcn.0043bfd8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455d39
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bfd8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x405463
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414014]
jne 0x40546d
repz ret
jmp fcn.00406424

Function at 0x40a0bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x414014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004073bf
and dword [ebp - 0x14], 0
cmp dword [0x415c38], 0
mov dword [ebp - 0x18], eax
jne 0x40a16f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a217
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4119a4
push ebx
call edi
test eax, eax
je 0x40a217
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x415c38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x415c3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x415c40], eax
call edi
push eax
call esi
mov dword [0x415c48], eax
test eax, eax
je 0x40a16f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x415c44], eax
mov eax, dword [0x415c44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a1c8
cmp dword [0x415c48], ecx
je 0x40a1c8
push eax
call esi
push dword [0x415c48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a1c8
test ebx, ebx
je 0x40a1c8
call edi
test eax, eax
je 0x40a1bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a1bf
test byte [ebp - 8], 1
jne 0x40a1c8
or dword [ebp + 0x10], 0x200000
jmp 0x40a1fb
mov eax, dword [0x415c3c]
cmp eax, dword [ebp - 0x18]
je 0x40a1fb
push eax
call esi
test eax, eax
je 0x40a1fb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a1fb
mov eax, dword [0x415c40]
cmp eax, dword [ebp - 0x18]
je 0x40a1fb
push eax
call esi
test eax, eax
je 0x40a1fb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x415c38]
call esi
test eax, eax
je 0x40a217
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a219
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405463
leave
ret
Function at 0x407769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b190
cmp edx, dword [eax]
je 0x40778b
add eax, 8
inc ecx
cmp eax, 0x40b220
jl 0x40777c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b190]
jne 0x4078b9
mov eax, dword [0x40bbb0]
cmp eax, 1
je 0x407893
test eax, eax
jne 0x4077bc
cmp dword [0x40b0e4], 1
je 0x407893
cmp edx, 0xfc
je 0x4078b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4077f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x407836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a45c
push edi
call fcn.00408f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408680
lea eax, [ebp - 0xa0]
push 0x40a43c
push eax
call fcn.00408680
push dword [esi + 0x40b194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408e75
add esp, 0x2c
pop edi
jmp 0x4078b9
lea eax, [ebp + 8]
lea esi, [esi + 0x40b194]
push 0
push eax
push dword [esi]
call fcn.00408490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x7ebc09bf
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x4999146b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x414779
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004100b5
xor ebx, ebx
cmp dword [0x4244a8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41484e
push 0x41cb64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4147b9
xor eax, eax
jmp 0x414912
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41cb58
push edi
call esi
cmp eax, ebx
je 0x4147b2
push eax
call fcn.00410052
mov dword [esp], 0x41cb48
push edi
mov dword [0x4244a8], eax
call esi
push eax
call fcn.00410052
mov dword [esp], 0x41cb34
push edi
mov dword [0x4244ac], eax
call esi
push eax
call fcn.00410052
mov dword [0x4244b0], eax
lea eax, [ebp - 8]
push eax
call fcn.0040eac1
test eax, eax
pop ecx
pop ecx
je 0x41481c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41484e
push 0x41cb18
push edi
call esi
push eax
call fcn.00410052
cmp eax, ebx
pop ecx
mov dword [0x4244b8], eax
je 0x41484e
push 0x41cb00
push edi
call esi
push eax
call fcn.00410052
pop ecx
mov dword [0x4244b4], eax
mov eax, dword [0x4244b4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4148c7
cmp dword [0x4244b8], esi
je 0x4148c7
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
je 0x414894
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4244b8]
call fcn.004100be
pop ecx
call eax
test eax, eax
je 0x414894
test byte [ebp - 0x18], 1
jne 0x4148c7
lea eax, [ebp - 0xc]
push eax
call fcn.0040eaf8
test eax, eax
pop ecx
je 0x4148af
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4148be
or dword [ebp + 0x10], 0x200000
jmp 0x4148f8
or dword [ebp + 0x10], 0x40000
jmp 0x4148f8
mov eax, dword [0x4244ac]
cmp eax, esi
je 0x4148f8
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4148f8
mov eax, dword [0x4244b0]
cmp eax, esi
je 0x4148f8
push dword [ebp - 4]
push eax
call fcn.004100be
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 [0x4244a8]
call fcn.004100be
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x69a3d0
Capabilities:
Encode data using xor

Disassembly:
cmp esi, dword [eax - 0x693d7466]
out 0xff, eax
and al, 0x6c
push ebp
invalid
Function at 0x506b90
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ecx + 0x10], ecx
mov dword [ecx + 0x14], ecx
mov dword [ebp - 4], 0x13
mov edx, 0xffffffff
mov dword [ebp - 4], 0x11
mov ebx, dword [ecx + 0x10]
mov byte [ebx], 0
lea ebx, [ecx + 0x18]
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
mov dword [ebp - 4], 0xf
mov byte [ebx], 0
lea ebx, [ecx + 0x30]
mov dword [ecx + 0x40], ebx
mov dword [ecx + 0x44], ebx
mov dword [ebp - 4], 0xd
mov byte [ebx], 0
lea ebx, [ecx + 0x48]
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x5c], ebx
mov dword [ebp - 4], 0xb
mov byte [ebx], 0
lea ebx, [ecx + 0x60]
mov dword [ecx + 0x70], ebx
mov dword [ecx + 0x74], ebx
mov dword [ebp - 4], 9
mov byte [ebx], 0
lea ebx, [ecx + 0x78]
mov dword [ecx + 0x88], ebx
mov dword [ecx + 0x8c], ebx
mov dword [ebp - 4], 7
mov byte [ebx], 0
lea ebx, [ecx + 0x90]
mov dword [ecx + 0xa0], ebx
mov dword [ecx + 0xa4], ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx + 0xa0]
mov eax, ecx
mov byte [edx], 0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret