joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467ce1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bc704]
jne 0x467ceb
repz ret
jmp fcn.0046e2cb

Function at 0x47a5bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bc704]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004706e6
and dword [ebp - 0x14], 0
cmp dword [0x4c5f38], 0
mov dword [ebp - 0x18], eax
jne 0x47a66e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x47a716
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49b468
push ebx
call edi
test eax, eax
je 0x47a716
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c5f38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c5f3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c5f40], eax
call edi
push eax
call esi
mov dword [0x4c5f48], eax
test eax, eax
je 0x47a66e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c5f44], eax
mov eax, dword [0x4c5f44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x47a6c7
cmp dword [0x4c5f48], ecx
je 0x47a6c7
push eax
call esi
push dword [0x4c5f48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x47a6c7
test ebx, ebx
je 0x47a6c7
call edi
test eax, eax
je 0x47a6be
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x47a6be
test byte [ebp - 8], 1
jne 0x47a6c7
or dword [ebp + 0x10], 0x200000
jmp 0x47a6fa
mov eax, dword [0x4c5f3c]
cmp eax, dword [ebp - 0x18]
je 0x47a6fa
push eax
call esi
test eax, eax
je 0x47a6fa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x47a6fa
mov eax, dword [0x4c5f40]
cmp eax, dword [ebp - 0x18]
je 0x47a6fa
push eax
call esi
test eax, eax
je 0x47a6fa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c5f38]
call esi
test eax, eax
je 0x47a716
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x47a718
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467ce1
leave
ret
Function at 0x406be0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 0x804]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push 1
push edx
call fcn.00435fdd
add esp, 0x10
ret 8

Function at 0x408be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c915
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 0x68]
mov dword [esp + 0x30], 0
call fcn.0040e2b0
push str..TempFile
lea ecx, [esp + 0x10]
call fcn.0040e2e0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x38], 1
call fcn.004086f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.0040e030
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0040e220
mov ecx, esi
call fcn.00408840
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.0040e030
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040e030
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 0xc

Function at 0x40bf80
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x44d06a
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x46568c]
xor eax, esp
mov dword [esp + 0x81c], eax
push esi
push edi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0x82c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x840]
lea edx, [esp + 0x28]
mov dword [esp + 0x834], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x40bfd3
lea esi, [esp + 0x28]
lea ecx, [esi + 1]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x40bfe6
sub esi, ecx
test esi, esi
jle 0x40c004
mov al, 0x5c
cmp byte [esp + esi + 0x28], al
je 0x40c004
sub esi, 1
test esi, esi
jg 0x40bff7
lea eax, [esp + 0x83c]
push eax
lea ecx, [esp + 0x10]
add esi, 1
call fcn.0040e220
push 1
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x28], esp
lea ecx, [esi - 1]
push ecx
push 1
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 1
call fcn.0040e5f0
mov ecx, edi
call fcn.0040bcf0
lea ecx, [esp + 0xc]
call fcn.0040e020
sub eax, esi
push eax
add esi, 1
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0040e5f0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], 2
call fcn.0040e2b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x834], 1
call fcn.0040e030
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x834], 0
call fcn.0040e030
lea ecx, [esp + 0x83c]
mov dword [esp + 0x834], 0xffffffff
call fcn.0040e030
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.00435832
add esp, 0x82c
ret 0xc
Function at 0x40c0f0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x44d0b6
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x46568c]
xor eax, esp
mov dword [esp + 0x81c], eax
push esi
push edi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0x82c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x840]
lea edx, [esp + 0x28]
mov dword [esp + 0x834], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x40c143
lea esi, [esp + 0x28]
lea ecx, [esi + 1]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x40c156
sub esi, ecx
test esi, esi
jle 0x40c174
mov al, 0x5c
cmp byte [esp + esi + 0x28], al
je 0x40c174
sub esi, 1
test esi, esi
jg 0x40c167
lea eax, [esp + 0x83c]
push eax
lea ecx, [esp + 0x10]
add esi, 1
call fcn.0040e220
push 1
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x28], esp
lea ecx, [esi - 1]
push ecx
push 1
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 1
call fcn.0040e5f0
mov ecx, edi
call fcn.0040bcf0
lea ecx, [esp + 0xc]
call fcn.0040e020
sub eax, esi
push eax
add esi, 1
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0040e5f0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], 2
call fcn.0040e2b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x834], 1
call fcn.0040e030
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x834], 0
call fcn.0040e030
lea ecx, [esp + 0x83c]
mov dword [esp + 0x834], 0xffffffff
call fcn.0040e030
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.00435832
add esp, 0x82c
ret 0xc

Function at 0x40c260
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44d10e
mov eax, dword fs:[0]
push eax
sub esp, 0xa3c
mov eax, dword [0x46568c]
xor eax, esp
mov dword [esp + 0xa38], eax
push ebx
push esi
push edi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0xa4c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa5c]
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 8]
cmp eax, ebx
mov edi, 1
mov dword [esp + 0xa54], edi
jne 0x40c2cc
push 0x452be7
mov ecx, esi
call fcn.0040e2e0
jmp 0x40c319
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0xa6c]
lea ecx, [esp + 0x24]
push ecx
push ebx
push edx
push eax
mov dword [esp + 0x2c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x40c30d
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov byte [esp + eax + 0x24], bl
call fcn.0040e390
jmp 0x40c319
push 0x452bed
mov ecx, esi
call fcn.0040e2e0
lea ecx, [esp + 0xa60]
mov dword [esp + 0x10], edi
mov byte [esp + 0xa54], bl
call fcn.0040e030
mov eax, esi
mov ecx, dword [esp + 0xa4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa38]
xor ecx, esp
call fcn.00435832
add esp, 0xa48
ret 0x10
Function at 0x40c360
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44d144
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x40c3de
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40c3de
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040e030
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040e030
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret 0xc
Function at 0x40f1c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44d6bf
mov eax, dword fs:[0]
push eax
sub esp, 0xbdc
mov eax, dword [0x46568c]
xor eax, esp
mov dword [esp + 0xbd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0xbf0]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
xor ebx, ebx
push 0x452e3e
lea ecx, [esp + 0x18]
mov dword [esp + 0xbfc], ebx
call fcn.0040e2e0
mov eax, dword [esp + 0xc04]
push 0x452ea4
push eax
mov byte [esp + 0xc00], 1
call fcn.00436850
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40f35a
push 2
push ebx
push esi
call fcn.00435cfb
push esi
call fcn.004365dc
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
jne 0x40f263
push esi
call fcn.004363c8
add esp, 4
jmp 0x40f35a
cdq
and edx, 0x7ff
add eax, edx
mov edi, eax
sar edi, 0xb
and ebp, 0x800007ff
jns 0x40f281
dec ebp
or ebp, 0xfffff800
inc ebp
push esi
call fcn.00437c9b
add esp, 4
cmp edi, ebx
jle 0x40f2e6
mov edi, edi
push esi
push 1
lea ecx, [esp + 0x3c]
push 0x800
push ecx
call fcn.00435fdd
add esp, 0x10
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x838], bl
call fcn.0040e390
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbfc], 2
call fcn.0040e6f0
lea ecx, [esp + 0x24]
mov byte [esp + 0xbf8], 1
call fcn.0040e030
sub edi, 1
jne 0x40f290
push esi
push 1
lea ecx, [esp + 0x3c]
push ebp
push ecx
call fcn.00435fdd
add esp, 0x10
cmp ebp, ebx
mov byte [esp + ebp + 0x34], bl
je 0x40f334
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x28]
call fcn.0040e390
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xbfc], 3
call fcn.0040e6f0
lea ecx, [esp + 0x24]
mov byte [esp + 0xbf8], 1
call fcn.0040e030
push esi
call fcn.004363c8
add esp, 4
push ebx
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0040e220
mov ecx, dword [esp + 0x30]
call fcn.0040f010
lea ecx, [esp + 0x14]
mov byte [esp + 0xbf8], bl
call fcn.0040e030
lea ecx, [esp + 0xc00]
mov dword [esp + 0xbf8], 0xffffffff
call fcn.0040e030
mov ecx, dword [esp + 0xbf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbd8]
xor ecx, esp
call fcn.00435832
add esp, 0xbe8
ret 0xc
Function at 0x415760
Capabilities:
Check os version

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41580a
push 0x94
mov edi, 1
call fcn.00436a97
mov esi, eax
add esp, 4
test esi, esi
je 0x41587f
push 0x94
push 0
push esi
call fcn.00436940
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x4157c7
push esi
mov edi, 5
call fcn.004369ba
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x415876
cmp dword [esi + 8], 0
jne 0x4157e9
push esi
mov edi, 6
call fcn.004369ba
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x415876
cmp dword [esi + 8], edi
jne 0x415876
push esi
mov edi, 7
call fcn.004369ba
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp al, 4
jae 0x415813
pop edi
xor eax, eax
pop esi
ret
push 0x94
mov edi, 2
call fcn.00436a97
mov esi, eax
add esp, 4
test esi, esi
je 0x41587f
push 0x94
push 0
push esi
call fcn.00436940
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x415876
cmp dword [esi + 8], 0xa
jne 0x415869
push esi
mov edi, 3
call fcn.004369ba
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 4
jne 0x415876
cmp dword [esi + 8], 0x5a
jne 0x415876
mov edi, eax
push esi
call fcn.004369ba
add esp, 4
mov eax, edi
pop edi
pop esi
ret
Function at 0x415c20
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x44e58b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x46568c]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
push edi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
sub esp, 0xc
lea eax, [esp + 0x284]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov dword [esp + 0x280], 0
call fcn.0040e220
lea edi, [esp + 0x2c]
call fcn.004159d0
mov eax, dword [eax + 4]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, edi
call fcn.0040e030
mov eax, dword [esp + 0x27c]
lea edx, [esp + 0x70]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x415ca4
push 0x44
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.00436940
mov dx, word [esp + 0x290]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0x20
push 1
push 0
mov word [esp + 0x78], dx
push 0
lea edx, [esp + 0x90]
push edx
push 0
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x80], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x415d3b
push eax
push str.Error
push str.Create_process_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x278]
mov dword [esp + 0x270], 0xffffffff
call fcn.0040e030
mov eax, 0xbeb95
jmp 0x415d75
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x278]
mov dword [esp + 0x270], 0xffffffff
call fcn.0040e030
mov eax, esi
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00435832
add esp, 0x268
ret
Function at 0x41e5f5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41e62e
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.0041a6dc
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041a6b7
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x420247
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 0x42028a
call fcn.004268e2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42028a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4202a5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041fdfe
test ebx, ebx
mov esi, eax
je 0x4202a3
test edi, edi
je 0x4202a3
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x425635
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 0x42567b
call fcn.004268e2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42567b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4256be
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 0x4256a7
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 0x4256a7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4256bb
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 0x42732e
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 0x42735c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42737a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00427298
jmp 0x42737a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42737a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00427298
test edi, edi
mov eax, edi
jne 0x427364
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x468a28]
test ecx, ecx
je 0x42743d
jmp 0x42732d
ret 8
Function at 0x435832
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46568c]
jne 0x43583c
repz ret
jmp fcn.0043b755

Function at 0x4472f6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043c546
xor ebx, ebx
cmp dword [0x469580], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4473cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x447336
xor eax, eax
jmp 0x44748f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x457bf8
push edi
call esi
cmp eax, ebx
je 0x44732f
push eax
call fcn.0043c4e3
mov dword [esp], 0x457be8
push edi
mov dword [0x469580], eax
call esi
push eax
call fcn.0043c4e3
mov dword [esp], 0x457bd4
push edi
mov dword [0x469584], eax
call esi
push eax
call fcn.0043c4e3
mov dword [0x469588], eax
lea eax, [ebp - 8]
push eax
call fcn.0043a072
test eax, eax
pop ecx
pop ecx
je 0x447399
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043d33c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4473cb
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043c4e3
cmp eax, ebx
pop ecx
mov dword [0x469590], eax
je 0x4473cb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043c4e3
pop ecx
mov dword [0x46958c], eax
mov eax, dword [0x46958c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x447444
cmp dword [0x469590], esi
je 0x447444
push eax
call fcn.0043c54f
pop ecx
call eax
cmp eax, ebx
je 0x447411
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x469590]
call fcn.0043c54f
pop ecx
call eax
test eax, eax
je 0x447411
test byte [ebp - 0x18], 1
jne 0x447444
lea eax, [ebp - 0xc]
push eax
call fcn.0043a0a9
test eax, eax
pop ecx
je 0x44742c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043d33c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44743b
or dword [ebp + 0x10], 0x200000
jmp 0x447475
or dword [ebp + 0x10], 0x40000
jmp 0x447475
mov eax, dword [0x469584]
cmp eax, esi
je 0x447475
push eax
call fcn.0043c54f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x447475
mov eax, dword [0x469588]
cmp eax, esi
je 0x447475
push dword [ebp - 4]
push eax
call fcn.0043c54f
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 [0x469580]
call fcn.0043c54f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44b4e8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46568c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044b47d
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.00436940
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 0x44b537
cmp dword [ebp - 0x1c], 5
jb 0x44b54f
jmp 0x44b54b
cmp dword [ebp - 0x10], 1
jne 0x44b54f
cmp dword [ebp - 0x1c], 4
ja 0x44b54b
jne 0x44b54f
cmp dword [ebp - 0x18], 0
jbe 0x44b54f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x458db0
call fcn.0044b351
test eax, eax
jge 0x44b570
mov byte [0x466aa0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00435832
add ebp, 0x78
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219