joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431030
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x431042
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004194f8
mov eax, dword [0x44f058]
mov dword [eax + 4], ebx
mov dword [eax], 0x4313d4
mov eax, dword [0x44f068]
mov dword [eax + 4], ebx
mov dword [eax], 0x4313e0
mov eax, ebx
call fcn.004313ec
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4117f0]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4117f0]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4117f0]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4117f0]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4117f0]
call fcn.0040343c
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, 0x42d804
push eax
push 0
push 0
mov eax, dword [0x44f1c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b6a4]
call fcn.0041cb0c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b6a4]
call fcn.0041cb0c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b6a4]
call fcn.0041cb0c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0043183c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x431704
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x431704
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x431704
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43117f
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4314e8
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 0x431693
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x431674
mov dl, 1
mov eax, dword [0x411c0c]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x431663
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.0044ca30
test al, al
je 0x431656
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, 0x4316a4
lea eax, [ebp - 0x254]
call fcn.00408be8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x431656
xor eax, eax
push ebp
push 0x43164f
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 0x4316dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x431638
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
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 0x431638
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431656
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x431559
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004156e8
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 0x43169a
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

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

Disassembly:
push ecx
mov eax, dword [0x450b10]
cmp byte [eax + 0xa5], 0
jne 0x43204d
cmp dword [0x450b28], 0
jne 0x43200e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x431f98
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x450b28], eax
cmp dword [0x450b24], 0
jne 0x432029
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x450b24], eax
cmp dword [0x450b2c], 0
jne 0x43204d
push esp
push 0
push 0
push 0x431f3c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x450b2c], eax
pop edx
ret
Function at 0x4326e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x450b10]
cmp dword [eax + 0x30], 0
je 0x43278a
cmp dword [ebx + 0x94], 0
jne 0x432784
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x432670
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x432784
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 0x43274a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x432784
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.00413b58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x432759
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4332e8
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 0x43331d
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.004042d0
jmp 0x43332a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4342b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4342f9
mov eax, esi
call fcn.00448238
test al, al
je 0x4342f9
mov eax, dword [ebx + 0x84]
call fcn.00447fd8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4342f9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447fd8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x437238
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.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x437287
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.00404450
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f474
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x450b90], 0
je 0x43f5c3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44f254]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43f5c3
mov eax, dword [0x450b94]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x450b90]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43f592
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x450b90]
call fcn.00413b58
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43f58a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43f58a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43f58a
mov eax, dword [ebp - 0x14]
call fcn.00447fd8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f58a
push ebp
call fcn.0043f430
pop ecx
test al, al
jne 0x43f58a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43f546
mov eax, dword [ebp - 0x14]
call fcn.00446b08
dec eax
jle 0x43f58a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403674
cmp byte [ebp - 1], 0
je 0x43f58a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43f58a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x450b94]
call fcn.0043ebfc
inc edi
dec ebx
jne 0x43f4d9
mov eax, dword [0x450b94]
cmp dword [eax + 8], 0
jle 0x43f5aa
mov eax, dword [0x450b94]
call fcn.0043ec8c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43f5c3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043f298
pop ecx
test al, al
jne 0x43f5c3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442b5c
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 0x442ba8
mov eax, esi
call fcn.0042aa2c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x442ba8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x442ba8
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 0x442ce7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x442be8
cmp eax, 0x108
ja 0x442be8
mov eax, esi
call fcn.0042aa2c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x442cde
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x442ce7
jmp 0x442cde
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x442cc7
cmp eax, 0x20a
ja 0x442cc7
test byte [esi + 0x50], 0x80
jne 0x442c1a
sub eax, 0x203
je 0x442c17
sub eax, 3
je 0x442c17
sub eax, 3
jne 0x442c1a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x442c2e
dec eax
je 0x442c43
dec eax
je 0x442c60
dec eax
je 0x442c43
jmp 0x442c67
mov ecx, ebx
mov eax, dword [0x44f254]
mov eax, dword [eax]
mov edx, esi
call fcn.00434170
jmp 0x442cde
cmp byte [esi + 0x5d], 1
jne 0x442c59
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x442ce7
or word [esi + 0x54], 1
jmp 0x442cde
and word [esi + 0x54], 0xfffe
jmp 0x442cde
mov eax, dword [0x450b4c]
cmp byte [eax + 0x20], 0
je 0x442cde
mov eax, dword [0x450b4c]
cmp dword [eax + 0x1c], 0
je 0x442cde
mov eax, dword [ebx]
mov edx, dword [0x450b4c]
cmp eax, dword [edx + 0x1c]
jne 0x442cde
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.0042a970
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.00403674
jmp 0x442ce7
cmp eax, 0xb00b
jne 0x442cde
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004414c4
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 0x446168
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 0x446184
cmp dword [esi + 4], 0
je 0x4461b1
test byte [ebx + 0x55], 1
jne 0x4461a3
mov eax, ebx
call fcn.00444d74
test eax, eax
jne 0x4461a3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4462c1
mov edx, esi
mov eax, ebx
call fcn.00445c8c
jmp 0x4462c1
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 0x4462ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00447fd8
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.00442a90
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00446168
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.00447fd8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4462c1
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 0x44c6d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44f3d4]
cmp byte [eax + 0xc], 0
je 0x44c83d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c836
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x450ba0], 0
jne 0x44c724
push 0x44c844
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44c84c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450ba0], eax
cmp dword [0x44ed24], 0
jne 0x44c81f
push 0x44c85c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44ed24], eax
cmp dword [0x44ed24], 0
je 0x44c81f
push 0x44c868
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450ba4], eax
push 0x44c878
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450ba8], eax
push 0x44c88c
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450bac], eax
push 0x44c8a4
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450bb0], eax
push 0x44c8bc
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450bb4], eax
push 0x44c8d0
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450bb8], eax
push 0x44c8e8
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450bbc], eax
push 0x44c900
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450bc0], eax
push 0x44c91c
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450bc4], eax
push 0x44c928
mov eax, dword [0x44ed24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c83d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x426909
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426948
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426948
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426948
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x426948
cmp dword [ecx + 0x74], 0xe
jbe 0x426948
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438cf0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x43330ac3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x6e01470b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x256323d5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x4750ba9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001cc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xc
cmp eax, 0xc
jge 0x10001cd2
xor eax, eax
add esp, 0xc
ret
mov eax, dword [0x100b98e8]
inc eax
cmp eax, 1
mov dword [0x100b98e8], eax
jne 0x10001cf7
push 0
call fcn.1007406b
xor eax, 0xbb40e64e
push eax
call fcn.10073eb1
add esp, 8
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
push edi
push ebp
push eax
call fcn.10001e90
add esp, 0xc
xor esi, esi
call fcn.10073e90
mov ebx, eax
push edi
sar ebx, 7
push ebp
and ebx, 0xff
call fcn.10001e10
push ebx
push edi
push ebp
mov dword [esp + 0x3c], eax
call fcn.10001e30
mov dl, byte [esp + 0x3c]
add esp, 0x14
xor bl, dl
mov byte [esp + esi + 0x10], bl
inc esi
cmp esi, 0xa
jl 0x10001d14
mov ecx, dword [esp + 0x20]
push edi
push ebp
push ecx
call fcn.10001e90
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
add esp, 0xc
xor esi, esi
sub eax, edx
mov dword [esp + 0x20], eax
push edi
push ebp
call fcn.10001e10
mov bl, byte [esp + esi + 0x18]
mov dword [esp + 0x30], eax
mov eax, ebx
and eax, 0xff
push eax
push edi
push ebp
call fcn.10001e30
mov dl, byte [esp + 0x3c]
mov ecx, dword [esp + 0x34]
add esp, 0x14
xor bl, dl
add ecx, esi
inc esi
cmp esi, 0xa
mov byte [esp + ecx + 0x10], bl
jl 0x10001d69
push edi
push ebp
call fcn.10001e10
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
shr ebx, 0x10
mov edx, ebx
and edx, 0xff
push edx
push edi
push ebp
call fcn.10001e30
mov al, byte [esp + 0x3c]
push edi
xor bl, al
mov eax, dword [esp + 0x3c]
push ebp
mov byte [esi + eax], bl
inc esi
call fcn.10001e10
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
shr ebx, 0x18
push ebx
push edi
push ebp
call fcn.10001e30
mov al, byte [esp + 0x50]
mov ecx, dword [esp + 0x4c]
add esp, 0x28
xor bl, al
mov byte [esi + ecx], bl
lea eax, [esi + 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x10001e30
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x10002180
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x4090]
test eax, eax
je 0x100021eb
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x100021eb
mov eax, 0xffffff78
push ebx
push ebp
sub eax, esi
push edi
lea ebp, [esi + 0x4094]
lea edi, [esi + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x40a0]
push eax
push ebp
call fcn.10001e10
mov edx, dword [esi + 0x40a0]
xor ecx, ecx
mov cl, byte [edi]
mov ebx, eax
push ecx
push edx
push ebp
call fcn.10001e30
mov al, byte [edi]
add esp, 0x14
xor al, bl
mov byte [edi], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
inc edi
add eax, edi
cmp eax, ecx
jb 0x100021b0
pop edi
pop ebp
pop ebx
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x20]
lea edx, [esi + 0x88]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [esi + 8]
mov ecx, dword [esi + 0x6c]
add esp, 0x10
cmp eax, ecx
je 0x10002217
mov dword [esi + 0x6c], 0
or eax, 0xffffffff
pop esi
ret
mov dword [esi + 0x6c], 0
xor eax, eax
pop esi
ret
Function at 0x100088d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100b618c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ecx + 0x58]
mov dword [ebp - 0x210], esi
push 0x1008b780
push edi
call fcn.10006d70
add esp, 8
test al, al
je 0x1000891f
push edi
mov ecx, esi
call fcn.10007240
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047a96
mov esp, ebp
pop ebp
ret 4
push 0
push 0x1c
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x1008b788
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10008950
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.100094b0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10008990
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100094b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10047a96
mov esp, ebp
pop ebp
ret 4