joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4115c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0x150]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4080e6
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x14c]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x15c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x408092
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x150]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x164], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x150]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x14c]
sub ecx, edi
test edx, edx
je 0x408107
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00410314
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x408ed0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x40
mov ecx, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
xor ebp, ebp
mov ebx, 0x418b98
mov al, byte [ebp + 0x418450]
xor esi, esi
test al, al
jle 0x408f12
lea eax, [esp + 0x10]
push eax
call fcn.00408e80
movsx ecx, byte [ebp + 0x418450]
add esp, 4
inc esi
cmp esi, ecx
jl 0x408ef9
mov ecx, 0x10
lea esi, [esp + 0x10]
mov edi, ebx
push 0x30
push 0x418190
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00408e40
add esp, 0xc
add ebx, 0x40
inc ebp
cmp ebx, 0x418f98
jl 0x408eed
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret

Function at 0x408f50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xc0
mov ecx, 0x10
lea eax, [esp + 0x40]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd4]
push edi
lea edi, [esp + 0x50]
push 0x30
push 0x4181d0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00408e40
mov esi, dword [esp + 0xe0]
mov ecx, 0x10
shl esi, 6
add esi, 0x418b98
lea edi, [esp + 0x9c]
add esp, 0xc
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsx ecx, byte [esp + eax + 0x90]
movsx edx, byte [esp + eax + 0x50]
add ecx, edx
cmp ecx, 1
jne 0x408fbc
mov byte [esp + eax + 0x10], cl
jmp 0x408fc0
mov byte [esp + eax + 0x10], bl
inc eax
cmp eax, 0x30
jl 0x408fa2
mov edi, dword [esp + 0xdc]
xor esi, esi
lea eax, [esp + 0x10]
lea ecx, [edi + 2]
movsx edx, byte [eax + 5]
movsx ebp, byte [eax]
add edx, esi
lea edx, [ebp + edx*2]
movsx ebp, byte [eax + 4]
lea edx, [ebp + edx*2]
movsx ebp, byte [eax + 3]
lea edx, [ebp + edx*2]
movsx ebp, byte [eax + 2]
lea edx, [ebp + edx*2]
movsx ebp, byte [eax + 1]
mov dl, byte [ebp + edx*2 + 0x418250]
test dl, 8
je 0x409011
mov byte [ecx - 2], 1
jmp 0x409014
mov byte [ecx - 2], bl
test dl, 4
je 0x40901f
mov byte [ecx - 1], 1
jmp 0x409022
mov byte [ecx - 1], bl
mov bl, dl
shr bl, 1
and bl, 1
test dl, 1
mov byte [ecx], bl
je 0x409038
mov byte [ecx + 1], 1
xor ebx, ebx
jmp 0x40903d
xor ebx, ebx
mov byte [ecx + 1], bl
add esi, 2
add eax, 6
add ecx, 4
cmp esi, 0x10
jl 0x408fd6
push 0x20
push 0x418210
push edi
call fcn.00408e40
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
Function at 0x409070
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x100
mov ecx, 0x10
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x114]
push edi
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x114]
mov ecx, 0x10
lea edi, [esp + 0x10]
push 0x40
push 0x418090
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00408e40
push 0x38
lea ecx, [esp + 0x60]
push 0x418150
push ecx
call fcn.00408e40
lea edx, [esp + 0x68]
push edx
call fcn.00408ed0
add esp, 0x1c
xor ebp, ebp
mov ebx, 1
mov ecx, 0x10
lea esi, [esp + 0x10]
lea edi, [esp + 0x90]
lea eax, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0xb0]
lea edi, [esp + 0x10]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
push ecx
push ebp
call fcn.00408f50
add esp, 0xc
xor eax, eax
movsx edx, byte [esp + eax + 0xd0]
movsx ecx, byte [esp + eax + 0x90]
add edx, ecx
cmp edx, ebx
jne 0x40912c
mov byte [esp + eax + 0x30], bl
jmp 0x409131
mov byte [esp + eax + 0x30], 0
inc eax
cmp eax, 0x20
jl 0x409110
inc ebp
cmp ebp, 0x10
jl 0x4090d4
push 0x40
lea edx, [esp + 0x14]
push str.________._0123456789:_____
push edx
call fcn.00408e40
push 0x40
lea eax, [esp + 0x20]
push 0x4180d0
push eax
call fcn.00408e40
mov edi, dword [esp + 0x134]
mov ecx, 0x10
lea esi, [esp + 0x28]
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret

Function at 0x409180
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xc0
mov ecx, 0x10
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd0]
push edi
lea edi, [esp + 0x10]
push 0x40
push 0x418090
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00408e40
mov esi, dword [esp + 0xe4]
push 0x38
push 0x418150
push esi
call fcn.00408e40
push esi
call fcn.00408ed0
add esp, 0x1c
mov ebp, 0xf
xor ebx, ebx
mov ecx, 0x10
lea esi, [esp + 0x10]
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x70]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
push edx
push ebp
call fcn.00408f50
add esp, 0xc
xor eax, eax
movsx ecx, byte [esp + eax + 0x90]
movsx edx, byte [esp + eax + 0x50]
add ecx, edx
cmp ecx, 1
jne 0x409221
mov byte [esp + eax + 0x30], cl
jmp 0x409225
mov byte [esp + eax + 0x30], bl
inc eax
cmp eax, 0x20
jl 0x409207
dec ebp
cmp ebp, 0xffffffff
jg 0x4091d1
push 0x40
lea eax, [esp + 0x14]
push str.________._0123456789:_____
push eax
call fcn.00408e40
push 0x40
lea ecx, [esp + 0x20]
push 0x4180d0
push ecx
call fcn.00408e40
mov edi, dword [esp + 0xf4]
mov ecx, 0x10
lea esi, [esp + 0x28]
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
Function at 0x40b1a0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4119eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
push 1
mov ecx, esi
mov dword [esp + 0x114], 0
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [esi + 0x1c74]
lea edi, [esi + 0x1c74]
mov ecx, dword [eax - 8]
cmp ecx, 6
jge 0x40b23e
push 0
push 0
push 0x418680
call sub.MFC42.DLL_AfxMessageBox
push 0x405
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetFocus
lea ecx, [esp + 8]
mov dword [esp + 0x110], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
add esp, 0x10c
ret
push 0x418678
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x40b27a
mov eax, dword [esi + 0x1cbc]
lea ecx, [esi + 0x8a8]
push eax
call sub.MFC42.DLL_CListCtrl::GetItemData
mov esi, eax
lea ecx, [esp + 8]
push esi
push 0x418674
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40b292
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [edi]
push edi
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov esi, eax
push ebx
push ebp
mov ecx, esi
mov esi, 0x4d2
xor edi, edi
lea ebp, [esp + 0x48]
lea eax, [esi + ecx]
add ebp, 4
xor eax, 0xff
mov ebx, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 4], eax
shr ebx, 8
shr ecx, 0xc
shr edx, 4
xor cl, bl
xor cl, dl
mov dl, al
xor cl, dl
mov byte [esp + edi + 0x14], cl
inc edi
mov ecx, esi
cmp edi, 0x30
mov esi, eax
jl 0x40b2a1
mov esi, dword [esp + 0x10]
pop ebp
lea edi, [esp + 0x11]
mov eax, 0x418fa1
pop ebx
mov cl, byte [esi]
mov dl, byte [esi + 1]
add cl, 0xd
add eax, 6
shl cl, 4
add cl, dl
add edi, 3
mov byte [eax - 7], cl
mov cl, byte [esi + 2]
mov dl, byte [esi + 3]
add cl, 0xd
shl cl, 4
add cl, dl
mov byte [eax - 6], cl
mov cl, byte [esi + 4]
mov dl, byte [esi + 5]
add cl, 0xd
shl cl, 4
add cl, dl
mov dl, byte [edi - 4]
mov byte [eax - 5], cl
mov cl, byte [edi - 3]
mov byte [eax - 4], dl
mov dl, byte [edi - 2]
mov byte [eax - 3], cl
mov byte [eax - 2], dl
cmp eax, 0x419001
jl 0x40b2e3
lea ecx, [esp + 8]
mov dword [esp + 0x110], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x108]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10c
ret

Function at 0x40e090
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
movsx ebx, word [esp + 0x10]
mov edi, eax
call esi
sub eax, edi
cmp eax, ebx
jae 0x40e0b2
call esi
sub eax, edi
cmp eax, ebx
jb 0x40e0aa
pop edi
pop esi
pop ebx
ret

Function at 0x40ef50
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
lea eax, [esp + 4]
push 0
push eax
lea ecx, [esp + 0x10]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40ef73
mov eax, 0xfffffffe
ret
mov eax, dword [esp + 4]
neg eax
sbb eax, eax
and eax, 2
add eax, 0xfffffffe
ret
Function at 0x40ef90
Capabilities:
Read file on windows

Disassembly:
push ecx
mov edx, dword [esp + 8]
lea eax, [esp]
push 0
push eax
lea ecx, [esp + 0x10]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40efbc
mov eax, dword [esp + 0xc]
mov byte [eax], 0
mov eax, 0xfffffffe
pop ecx
ret
mov eax, dword [esp]
test eax, eax
jne 0x40efd2
mov ecx, dword [esp + 0xc]
mov eax, 0xfffffffe
mov byte [ecx], 0
pop ecx
ret
mov edx, dword [esp + 0xc]
mov al, byte [esp + 8]
mov byte [edx], al
xor eax, eax
pop ecx
ret

Function at 0x40ff19
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ff71
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x418b94
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ff64
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x40ff73
xor eax, eax
pop esi
leave
ret 4

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0xb29242
Capabilities:
Parse pe header

Disassembly:
push word [esp + 1]
push dword [esp]
pop word [esp]
mov word [esp], dx
mov word [esp], sp
mov byte [esp], dh
jmp 0xb29225
Function at 0x405ab4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405b1a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004041cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b04
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b21
lea eax, [ebp - 0x10]
call fcn.00403f5c
ret

Function at 0x40aa3c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aa75
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040404c
jmp 0x40aa7e
mov eax, ebx
mov edx, esi
call fcn.00403fb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aa88
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aaa9
mov al, byte [esp]
jmp 0x40aaab
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b130
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afa8
mov eax, dword [0x44f018]
cmp byte [eax], 0
je 0x40b1ac
mov eax, dword [0x44ee3c]
call fcn.00402acc
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040829c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b1f4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b1e2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44edec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x450664]
call fcn.00404fc8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ba48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bb1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ff4
lea eax, [ebp - 8]
call fcn.0040446c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb08
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40baeb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb30
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40baeb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb08
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb25
lea eax, [ebp - 8]
call fcn.00403f5c
ret

Function at 0x40bf9c
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 0x40c000
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
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.004041cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e2c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c007
lea eax, [ebp - 0xc]
call fcn.00403f5c
ret

Function at 0x41a0ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x450884
cmp dword [edi], 0
jne 0x41a168
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x450880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44e3ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a0c4
lea eax, [esi + 5]
call fcn.0041a0e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a0e4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a13d
mov dword [0x450880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b37c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41b382
ret
Function at 0x4259c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040441c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x425a20
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x44f128]
mov dl, 1
mov eax, dword [0x4254ec]
call fcn.0040b2f0
call fcn.00403998
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004255f4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4272f8
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x427244
call sub.user32.dll_EnumWindows
ret

Function at 0x427418
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x427495
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00426e78
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42743d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426a78
cmp dword [ebp - 4], 0
je 0x42747f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040441c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42749c
lea eax, [ebp - 4]
call fcn.00403f5c
ret
Function at 0x42a138
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 [0x450b54], 0
je 0x42a287
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44efbc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42a287
mov eax, dword [0x450b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x450b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42a256
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x450b54]
call fcn.004136bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42a24e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42a24e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42a24e
mov eax, dword [ebp - 0x14]
call fcn.00432c9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42a24e
push ebp
call fcn.0042a0f4
pop ecx
test al, al
jne 0x42a24e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42a20a
mov eax, dword [ebp - 0x14]
call fcn.004317cc
dec eax
jle 0x42a24e
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.00403420
cmp byte [ebp - 1], 0
je 0x42a24e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42a24e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x450b58]
call fcn.004298c0
inc edi
dec ebx
jne 0x42a19d
mov eax, dword [0x450b58]
cmp dword [eax + 8], 0
jle 0x42a26e
mov eax, dword [0x450b58]
call fcn.00429950
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42a287
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00429f5c
pop ecx
test al, al
jne 0x42a287
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