joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423a6b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x435140]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x423b0d
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x423c0f
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x423bbd
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocStringLen
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423c10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423bb2
cmp dword [ebp - 0x24], 1
jne 0x423bb2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x429d0c
push eax
call fcn.0040f58a
add esp, 0xc
cmp eax, 1
jne 0x423bb2
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423c10
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x423c10
lea ecx, [ebp - 0x18]
push ecx
push 0x423a55
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x423c10
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x423c36
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.004239d6
cmp eax, ebx
pop ecx
pop ecx
jne 0x423c38
inc edi
cmp edi, esi
jl 0x423c1f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0040f19e
leave
ret 4
Function at 0x423c47
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x43431c
je 0x423d03
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423ceb
mov esi, dword [ebx + 4]
jmp 0x423ce5
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423cd5
cmp dword [ebp - 0xc], 4
jne 0x423cd5
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x423ccd
or dword [eax + 0x9c], ecx
jmp 0x423cd5
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x423c99
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x423c7c
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x4240f1
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x427cc9
call fcn.0040f29c
sub esp, 0x11c
mov eax, dword [0x435140]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x4241ea
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x4241be
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00401890
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.004240f1
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401330
test bl, bl
jne 0x4241be
or dword [ebp - 4], 0xffffffff
jmp 0x42412f
cmp esi, 0x103
je 0x4241ce
cmp esi, 0x3f2
jne 0x4241de
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0040f19e
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42539d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x4253d2
cmp edi, dword [esi + 0xc]
jge 0x4253d2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4253d2
cmp edi, dword [eax + 8]
jge 0x4253d2
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x4253d4
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x4254d8
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x42550c
jmp fcn.0041a1e7
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x42557d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x425676
cmp eax, dword [edi + 0xc]
jge 0x425676
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x4255ce
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x42565f
cmp dword [ebp + 0xc], ebx
je 0x42565f
jmp 0x4255f8
push 0x10
call fcn.00425269
cmp eax, ebx
je 0x4255e4
mov ecx, eax
call fcn.004254cf
mov esi, eax
jmp 0x4255e6
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x42560f
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x42561f
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x425631
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041a1e7
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0040f7b0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x425671
cmp ecx, dword [esi + 8]
jge 0x425671
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x425677
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x425735
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x425763
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x425781
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042569f
jmp 0x425781
mov eax, dword [esi + 0x14]
test eax, eax
je 0x425781
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042569f
test edi, edi
mov eax, edi
jne 0x42576b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x437dcc]
test ecx, ecx
je 0x425834
jmp 0x425734
ret 8
Function at 0x408296
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x58
mov eax, 0x474f10
call fcn.004475c5
mov edi, dword [ebp + 8]
push str.tnCcNAH4
lea ecx, [ebp - 0x5c]
call fcn.0040824a
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x40], 0x56
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x3d], 0x74
mov byte [ebp - 0x3c], 0x75
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x3a], 0x6c
mov byte [ebp - 0x39], 0x41
mov byte [ebp - 0x38], 0x6c
mov byte [ebp - 0x37], 0x6c
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x63
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x78
mov byte [ebp - 0x32], 0x4e
mov byte [ebp - 0x31], 0x75
mov byte [ebp - 0x30], 0x6d
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], bl
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], bl
call esi
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
mov dword [ebp - 0x64], eax
push ebx
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x6b
mov byte [ebp - 0x18], 0x6d
mov byte [ebp - 0x17], 0x67
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], bl
call esi
test eax, eax
push ebx
jne 0x40839f
push 1
lea ecx, [ebp - 0x5c]
call fcn.004020f4
xor al, al
call fcn.00447648
ret
push 0x47b0a4
call fcn.0044865b
pop ecx
push eax
push str.8192
call fcn.0044865b
pop ecx
or eax, 0x1000
push eax
mov esi, 0x8344
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x64]
cmp eax, ebx
mov dword [ebp - 0x64], eax
jne 0x4083e7
mov byte [ebp - 0x5d], bl
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.004020f4
mov al, byte [ebp - 0x5d]
jmp 0x408399
push esi
push 0x4980a8
push eax
call fcn.004482d0
push esi
push dword [ebp - 0x64]
push dword [ebp + 0xc]
push edi
call fcn.004026e0
add esp, 0x1c
call dword [ebp - 0x64]
mov byte [ebp - 0x5d], 1
jmp 0x4083d7
Function at 0x40e8b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40e8fb
call fcn.0041bb4b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40e8fb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40e93e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40e927
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40e927
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40e93b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4141f2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41422b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040e2a6
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00408f27
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x416150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x416193
call fcn.0041bb4b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x416193
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4161ae
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00415d07
test ebx, ebx
mov esi, eax
je 0x4161ac
test edi, edi
je 0x4161ac
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x416c26
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x475f0c
call fcn.0044755c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x416c4b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x416c97
call fcn.0041c624
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f5b
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004161ba
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401397
mov eax, esi
call fcn.00447634
ret 8

Function at 0x44754d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a2110]
jne 0x447557
repz ret
jmp fcn.004509ec
Function at 0x468c90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045041a
xor ebx, ebx
cmp dword [0x4a62d8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x468d65
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x468cd0
xor eax, eax
jmp 0x468e29
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x484ec8
push edi
call esi
cmp eax, ebx
je 0x468cc9
push eax
call fcn.004503b7
mov dword [esp], 0x484eb8
push edi
mov dword [0x4a62d8], eax
call esi
push eax
call fcn.004503b7
mov dword [esp], 0x484ea4
push edi
mov dword [0x4a62dc], eax
call esi
push eax
call fcn.004503b7
mov dword [0x4a62e0], eax
lea eax, [ebp - 8]
push eax
call fcn.0044974c
test eax, eax
pop ecx
pop ecx
je 0x468d33
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004523d8
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x468d65
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004503b7
cmp eax, ebx
pop ecx
mov dword [0x4a62e8], eax
je 0x468d65
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004503b7
pop ecx
mov dword [0x4a62e4], eax
mov eax, dword [0x4a62e4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x468dde
cmp dword [0x4a62e8], esi
je 0x468dde
push eax
call fcn.00450423
pop ecx
call eax
cmp eax, ebx
je 0x468dab
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4a62e8]
call fcn.00450423
pop ecx
call eax
test eax, eax
je 0x468dab
test byte [ebp - 0x18], 1
jne 0x468dde
lea eax, [ebp - 0xc]
push eax
call fcn.004497fb
test eax, eax
pop ecx
je 0x468dc6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004523d8
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x468dd5
or dword [ebp + 0x10], 0x200000
jmp 0x468e0f
or dword [ebp + 0x10], 0x40000
jmp 0x468e0f
mov eax, dword [0x4a62dc]
cmp eax, esi
je 0x468e0f
push eax
call fcn.00450423
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x468e0f
mov eax, dword [0x4a62e0]
cmp eax, esi
je 0x468e0f
push dword [ebp - 4]
push eax
call fcn.00450423
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 [0x4a62d8]
call fcn.00450423
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47333c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a2110]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004731b4
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004489b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47338b
cmp dword [ebp - 0x1c], 5
jb 0x4733a3
jmp 0x47339f
cmp dword [ebp - 0x10], 1
jne 0x4733a3
cmp dword [ebp - 0x1c], 4
ja 0x47339f
jne 0x4733a3
cmp dword [ebp - 0x18], 0
jbe 0x4733a3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x488aac
call fcn.00472f71
test eax, eax
jge 0x4733c4
mov byte [0x4a39b5], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044754d
add ebp, 0x78
leave
ret
Function at 0x1052d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1052d1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1052d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1052d06a
add dl, dl
jne 0x1052d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1052d0dc
xor eax, eax
add dl, dl
jne 0x1052d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1052d17d
add dl, dl
jne 0x1052d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1052d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1052d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1052d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1052d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1052d075
mov eax, 1
add dl, dl
jne 0x1052d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1052d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1052d0e1
sub eax, ebx
mov ebx, 1
jne 0x1052d128
mov ecx, 1
add dl, dl
jne 0x1052d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1052d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1052d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1052d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1052d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1052d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1052d136
cmp eax, 0x7d00
jae 0x1052d16d
cmp eax, 0x500
jb 0x1052d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1052d075
cmp eax, 0x7f
ja 0x1052d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1052d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1052d19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1052d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x56400c
Capabilities:
Encode data using xor

Disassembly:
lea esi, [ebp - 0x20]
mov dword [ebp - 0x24], esi
xor si, si
mov di, si
mov word [ebp - 0x28], cx
mov word [ebp - 0x2c], dx
xor cx, si
xor dx, di
mov si, ax
mov di, bx
xor ah, al
xor bl, bh
xor cl, bl
add ah, cl
inc ah
rol ah, 1
rol ah, 1
xor ch, ah
add bl, ch
rol bl, 1
rol bl, 1
xor dl, ah
add al, dl
rol al, 1
rol al, 1
xor dh, bl
add bh, dh
inc bh
rol bh, 1
rol bh, 1
mov cx, ax
mov dx, bx
mov ebx, dword [ebp - 0x24]
mov word ss:[ebx], cx
mov word ss:[ebx + 2], dx
add ebx, 4
cmp ebx, ebp
mov dword [ebp - 0x24], ebx
mov ax, word [ebp - 0x28]
mov bx, word [ebp - 0x2c]
jne 0x564018
ret