joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a5c8
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 0x43a5e4
cmp dword [esi + 4], 0
je 0x43a611
test byte [ebx + 0x55], 1
jne 0x43a603
mov eax, ebx
call fcn.00439168
test eax, eax
jne 0x43a603
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43a721
mov edx, esi
mov eax, ebx
call fcn.0043a0ec
jmp 0x43a721
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 0x43a71a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043c460
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.00436df0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043a5c8
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.0043c460
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a721
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 0x440e6c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46edac]
cmp byte [eax + 0xc], 0
je 0x440fd9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440fd2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46fb28], 0
jne 0x440ec0
push 0x440fe0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440fe8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb28], eax
cmp dword [0x46db80], 0
jne 0x440fbb
push 0x440ff8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46db80], eax
cmp dword [0x46db80], 0
je 0x440fbb
push 0x441004
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb2c], eax
push 0x441014
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb30], eax
push 0x441028
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb34], eax
push 0x441040
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb38], eax
push 0x441058
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb3c], eax
push 0x44106c
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb40], eax
push 0x441084
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb44], eax
push 0x44109c
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb48], eax
push 0x4410b8
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb4c], eax
push 0x4410c4
mov eax, dword [0x46db80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440fd9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x445344
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.004044a4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x445393
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.00404714
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44cb64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44cbb4]
test si, 4
je 0x44cb78
or bl, 1
test si, 8
je 0x44cb82
or bl, 4
test si, 1
je 0x44cb8c
or bl, 8
test si, 2
je 0x44cb96
or bl, 0x10
test si, 0x10
je 0x44cba0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44cbaf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44cbb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44cbf0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44cbd1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44cbe0
or bl, 4
test esi, 0x20000000
je 0x44cbeb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4532cc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4532de
add esp, 0xfffffff0
call fcn.004039cc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a4ec
mov eax, dword [0x46ea5c]
mov dword [eax + 4], ebx
mov dword [eax], 0x453670
mov eax, dword [0x46ea68]
mov dword [eax + 4], ebx
mov dword [eax], 0x45367c
mov eax, ebx
call fcn.00453688
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412254]
call fcn.00403664
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412254]
call fcn.00403664
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412254]
call fcn.00403664
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412254]
call fcn.00403664
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412254]
call fcn.00403664
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, 0x44faa0
push eax
push 0
push 0
mov eax, dword [0x46ebbc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bf60]
call fcn.0041d6f8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bf60]
call fcn.0041d6f8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bf60]
call fcn.0041d6f8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453afc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4539c4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4539c4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4539c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45341b
call fcn.00403a24
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453784
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453954
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453935
mov dl, 1
mov eax, dword [0x412670]
call fcn.00403664
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044a4
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x453924
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.004411cc
test al, al
jne 0x453821
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453917
xor edx, edx
push ebp
push 0x453910
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453841
mov ebx, dword [ebp - 0x10]
jmp 0x453843
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x453964
lea eax, [ebp - 0x258]
call fcn.00409424
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4538f9
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x45399c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4538f9
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404714
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4538f9
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404714
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453917
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x453802
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004161d4
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 0x45395b
lea eax, [ebp - 0x264]
call fcn.004044a4
ret
Function at 0x45429c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46fb74]
cmp byte [eax + 0xa5], 0
jne 0x45430d
cmp dword [0x46fb8c], 0
jne 0x4542ce
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454258
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fb8c], eax
cmp dword [0x46fb88], 0
jne 0x4542e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46fb88], eax
cmp dword [0x46fb90], 0
jne 0x45430d
push esp
push 0
push 0
push 0x4541fc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46fb90], eax
pop edx
ret

Function at 0x4549a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fb74]
cmp dword [eax + 0x30], 0
je 0x454a4a
cmp dword [ebx + 0x94], 0
jne 0x454a44
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454930
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454a44
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 0x454a0a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454a44
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.0041462c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454a19
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4555a8
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 0x4555dd
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.00404594
jmp 0x4555ea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4567a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4567e5
mov eax, esi
call fcn.0043c764
test al, al
je 0x4567e5
mov eax, dword [ebx + 0x84]
call fcn.0043c460
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4567e5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c460
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45b190
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x45b199
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x45b33d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045b4d8
xor eax, eax
push ebp
push 0x45b31b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x45b1e8
call fcn.00403ee0
jmp 0x45b322
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x45b2aa
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x45b238
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x45b238
lea eax, [ebp - 0x10]
call fcn.0045af60
push dword [ebp - 0x10]
push 0x45b358
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404824
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x45b26d
lea eax, [ebp - 0x18]
call fcn.0045af60
push dword [ebp - 0x18]
push 0x45b358
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404824
mov eax, dword [ebp - 0x14]
call fcn.00404964
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x45b305
lea eax, [ebp - 0x20]
call fcn.0045af60
push dword [ebp - 0x20]
push 0x45b358
push ebx
push 0x45b364
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404824
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0045b160
jmp 0x45b305
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x45b2cc
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x45b2cc
push ebx
mov edi, dword [ebp - 4]
mov cl, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x45b2e2
mov eax, ebx
call fcn.00404964
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x45b305
lea eax, [ebp - 0x24]
mov ecx, 0x45b364
mov edx, ebx
call fcn.004047b0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0045b160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b322
mov eax, dword [ebp - 4]
call fcn.0045b4e4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b344
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.004044c8
ret
Function at 0x467f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x38]
sub edi, dword [ebx + 0x70]
sub edi, dword [ebx + 0x68]
jmp 0x467f8f
mov eax, dword [ebx + 0x28]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x68]
ja 0x46800e
push esi
mov eax, dword [ebx + 0x34]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00466d14
add esp, 0xc
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x58], ebp
mov eax, dword [ebx + 0x48]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x467fdc
mov cx, word [esp]
sub cx, si
jmp 0x467fde
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x467fc5
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x468004
mov cx, word [esp]
sub cx, si
jmp 0x468006
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x467fed
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x46806b
mov edx, dword [ebx + 0x34]
mov ecx, edi
add edx, dword [ebx + 0x68]
mov eax, ebp
add edx, dword [ebx + 0x70]
call fcn.00467c50
add dword [ebx + 0x70], eax
cmp dword [ebx + 0x70], 3
jb 0x468056
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x68]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebx + 0x54]
shl eax, cl
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x68]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x50]
mov dword [ebx + 0x44], eax
cmp dword [ebx + 0x70], 0x106
jae 0x46806b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x467f6a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x403400
Capabilities:
Copy file
Enumerate gui resources
Get file attributes

Disassembly:
mov eax, dword [0x4cb344]
mov ecx, dword [0x4c8250]
sub esp, 0xc24
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40351e
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4cb344], 0x959
jne 0x403504
push 0x402c80
call esi
push 0
lea eax, [esp + 0x434]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
push 0x402c90
push 0x402cf0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0x402d20
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x10]
push edx
call fcn.00403260
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403440
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc24
ret
Function at 0x408fc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e580]
jne 0x408fca
repz ret
jmp fcn.0040c483

Function at 0x40b9c3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406f04
and dword [ebp - 4], 0
cmp dword [0x460db4], 0
mov ebx, eax
jne 0x40ba74
push 0x401b5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bb25
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b50
push edi
call esi
test eax, eax
je 0x40bb25
push eax
call fcn.00406e92
mov dword [esp], 0x401b40
push edi
mov dword [0x460db4], eax
call esi
push eax
call fcn.00406e92
mov dword [esp], 0x401b2c
push edi
mov dword [0x460db8], eax
call esi
push eax
call fcn.00406e92
mov dword [esp], 0x401b10
push edi
mov dword [0x460dbc], eax
call esi
push eax
call fcn.00406e92
pop ecx
mov dword [0x460dc4], eax
test eax, eax
je 0x40ba74
push 0x401af8
push edi
call esi
push eax
call fcn.00406e92
pop ecx
mov dword [0x460dc0], eax
mov eax, dword [0x460dc0]
cmp eax, ebx
je 0x40bacc
cmp dword [0x460dc4], ebx
je 0x40bacc
push eax
call fcn.00406f0d
push dword [0x460dc4]
mov esi, eax
call fcn.00406f0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bacc
test edi, edi
je 0x40bacc
call esi
test eax, eax
je 0x40bac3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bac3
test byte [ebp - 0xc], 1
jne 0x40bacc
or dword [ebp + 0x10], 0x200000
jmp 0x40bb05
mov eax, dword [0x460db8]
cmp eax, ebx
je 0x40bb05
push eax
call fcn.00406f0d
pop ecx
test eax, eax
je 0x40bb05
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bb05
mov eax, dword [0x460dbc]
cmp eax, ebx
je 0x40bb05
push eax
call fcn.00406f0d
pop ecx
test eax, eax
je 0x40bb05
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460db4]
call fcn.00406f0d
pop ecx
test eax, eax
je 0x40bb25
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bb27
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret