joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10022096
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100220ef
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10022096
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100220a5
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10427d48
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100220f6
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10008f6c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10022195
add edi, 4
add eax, 2
dec ecx
jne 0x100220db
call 0x10022142
loope 0x10022138
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10022192
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100221a3
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10022156
cmp eax, ecx
ja 0x10022156
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100221e0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100221d6
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000944b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100220a5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100220ef
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10022096
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100220a5
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10427d48
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100220f6
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10008f6c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10022195
add edi, 4
add eax, 2
dec ecx
jne 0x100220db
call 0x10022142
loope 0x10022138
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10022192
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100221a3
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10022156
cmp eax, ecx
ja 0x10022156
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100221e0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100221d6
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000944b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x24e45753
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0xe551520
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1002e3c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002e5a1
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
lea eax, [edi + 0x2700c]
push dword [eax]
mov dword [eax], 0xb206e73
push eax
push edi
jmp 0x1002e3fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1002e401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1002e3f0
mov eax, 1
add ebx, ebx
jne 0x1002e413
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1002e408
jne 0x1002e424
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e408
xor ecx, ecx
sub eax, 3
jb 0x1002e438
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1002e4aa
mov ebp, eax
add ebx, ebx
jne 0x1002e443
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1002e450
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1002e474
inc ecx
add ebx, ebx
jne 0x1002e460
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1002e455
jne 0x1002e471
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1002e455
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1002e494
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1002e485
jmp 0x1002e3f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1002e494
add edi, ecx
jmp 0x1002e3f6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xa0d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1002e4b6
cmp byte [edi], 7
jne 0x1002e4b6
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 0x1002e4bb
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x1002e533
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e1dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e33c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1002e4e8
mov ecx, edi
jns 0x1002e517
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 + 0x2e340]
or eax, eax
je 0x1002e52d
mov dword [ebx], eax
add ebx, 4
jmp 0x1002e505
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1002e564
cmp al, 0xef
ja 0x1002e557
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002e539
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1002e546
mov ebp, dword [esi + 0x2e344]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1002e598
sub esp, 0xffffff80
jmp 0x1001d4ce
Function at 0x1000e3f6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1001a858
cmp edx, dword [eax]
je 0x1000e418
add eax, 8
inc ecx
cmp eax, 0x1001a8e8
jl 0x1000e409
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1001a858]
jne 0x1000e546
mov eax, dword [0x1001b7a8]
cmp eax, 1
je 0x1000e520
test eax, eax
jne 0x1000e449
cmp dword [0x1001b7ac], 1
je 0x1000e520
cmp edx, 0xfc
je 0x1000e546
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000e480
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1000b9e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1000b960
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000e4c3
lea eax, [ebp - 0x1a4]
push eax
call fcn.1000b960
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10017400
push edi
call fcn.10010800
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1000b9e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1000b9f0
lea eax, [ebp - 0xa0]
push 0x100173e0
push eax
call fcn.1000b9f0
push dword [esi + 0x1001a85c]
lea eax, [ebp - 0xa0]
push eax
call fcn.1000b9f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10011889
add esp, 0x2c
pop edi
jmp 0x1000e546
lea eax, [ebp + 8]
lea esi, [esi + 0x1001a85c]
push 0
push eax
push dword [esi]
call fcn.1000b960
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4010b0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [section..data]
cmp edi, 0xffffffff
mov ebx, ecx
je 0x4010e4
mov edx, dword [ebx]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4010c8
push 0
lea ecx, [esp + 0x10]
push ecx
sub eax, esi
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ebx
pop ecx
ret

Function at 0x401120
Capabilities:
Enumerate process modules
Get common file path

Disassembly:
sub esp, 0xc
push ebp
push esi
push 0x400
mov ebp, ecx
call fcn.00403b7b
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
add esp, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401140
sub eax, edx
add eax, 1
push eax
call fcn.00403b7b
add esp, 4
cmp dword [section..data], 0xffffffff
mov dword [ebp + 4], eax
jne 0x401252
push ebx
push edi
push 0x104
call fcn.00403b7b
push 0x104
mov ebx, eax
call fcn.00403b7b
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push edi
call sub.PSAPI.DLL_EnumProcessModules
mov edx, dword [esp + 0x10]
push 0x104
push esi
push edx
push edi
call sub.PSAPI.DLL_GetModuleBaseNameA
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, esi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4011c1
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4011d1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.0040ca31
push str..exe
push ebx
call fcn.0040c91b
add esp, 0xc
test eax, eax
je 0x401232
push str..log
push 0x104
push eax
call fcn.0040cc37
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [section..data], eax
test ebx, ebx
je 0x40123f
push ebx
call fcn.00403b76
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop ebx
je 0x401252
push eax
call fcn.00403b76
add esp, 4
mov eax, dword [ebp + 4]
test eax, eax
je 0x4012ae
cmp dword [ebp], 0
je 0x4012ae
mov esi, dword [esp + 0x18]
push esi
push 0x104
push eax
call fcn.0040cc37
mov eax, dword [ebp]
push 0x400
push 0x20
push eax
call fcn.0040d2e0
mov ecx, dword [0x42ad64]
mov eax, dword [ebp]
push esi
push str._s:_Entering_r_n
add eax, ecx
add ecx, 1
push 0x104
push eax
mov dword [0x42ad64], ecx
call fcn.0040d2b7
add esp, 0x28
mov ecx, ebp
call fcn.004010b0
pop esi
mov eax, ebp
pop ebp
add esp, 0xc
ret 4
Function at 0x4013f0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
push 0x400
push 0x20
push eax
call fcn.0040d2e0
mov edx, dword [esp + 0x18]
mov eax, dword [0x42ad64]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov edx, dword [esi]
mov ecx, 0x3fc
sub ecx, eax
push ecx
add edx, eax
push 0x104
push edx
call fcn.0040d63b
add esp, 0x20
test eax, eax
jge 0x40143a
mov eax, dword [esi]
mov byte [eax + 0x3fc], 0
mov edx, dword [esi]
mov eax, edx
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401442
sub eax, edi
lea eax, [edx + eax - 1]
push 0x421490
push eax
call fcn.0040c91b
add esp, 8
test eax, eax
pop edi
jne 0x401479
mov ecx, dword [esi]
push 0x421490
push 0x104
push ecx
call fcn.0040d35a
add esp, 0xc
mov ecx, esi
pop esi
jmp fcn.004010b0
Function at 0x4030b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41f3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
mov eax, dword [0x429978]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
push str.CPnPLaunch::RunCreateProcess
lea ecx, [esp + 0xc]
call fcn.00401120
push 0x44
xor esi, esi
lea eax, [esp + 0x24]
push esi
push eax
mov dword [esp + 0x78], 0
call fcn.0040d2e0
add esp, 0xc
cmp byte [esp + 0x7c], 0
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x28], str.winsta0default
jne 0x403120
mov dword [esp + 0x4c], 1
mov word [esp + 0x50], si
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x94]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403160
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x403187
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push str.Process_launched
push ecx
mov dword [edx], eax
call fcn.004013f0
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004012c0
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x68
ret 0xc
Function at 0x403630
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x41f498
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x429978]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
push str.FindSetupWindow
lea ecx, [esp + 0x1c]
call fcn.00401120
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov dword [esp + 0x48], 0
call ebp
push eax
call fcn.00403550
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x403772
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esp + 0x14], eax
call edi
mov esi, eax
call edi
mov ebx, eax
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x4036ba
sub esi, dword [esp + 0x14]
cmp esi, eax
jae 0x403772
push 1
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4036f2
call fcn.004035c0
cmp dword [esp + 0x24], eax
je 0x403730
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
call edi
mov esi, eax
sub eax, ebx
cmp eax, 0x1388
jbe 0x4036a5
lea ecx, [esp + 0x18]
push str.Didnt_get_message_from_setup.__Rebroadcasting_message
push ecx
call fcn.004013f0
add esp, 8
call edi
push 0
mov ebx, eax
call ebp
push eax
call fcn.00403550
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4036a5
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push str.Found_setup_window:__d
push eax
call fcn.004013f0
mov esi, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
call fcn.004012c0
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
call fcn.004012c0
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x40d05b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429978]
jne 0x40d065
repz ret
jmp fcn.00413905

Function at 0x419ba1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00411aa3
xor ebx, ebx
cmp dword [0x42d5f0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x419c76
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x419be1
xor eax, eax
jmp 0x419d3a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x424718
push edi
call esi
cmp eax, ebx
je 0x419bda
push eax
call fcn.00411a40
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d5f0], eax
call esi
push eax
call fcn.00411a40
mov dword [esp], 0x4246f4
push edi
mov dword [0x42d5f4], eax
call esi
push eax
call fcn.00411a40
mov dword [0x42d5f8], eax
lea eax, [ebp - 8]
push eax
call fcn.00410dc3
test eax, eax
pop ecx
pop ecx
je 0x419c44
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00411f7d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x419c76
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00411a40
cmp eax, ebx
pop ecx
mov dword [0x42d600], eax
je 0x419c76
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411a40
pop ecx
mov dword [0x42d5fc], eax
mov eax, dword [0x42d5fc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x419cef
cmp dword [0x42d600], esi
je 0x419cef
push eax
call fcn.00411aac
pop ecx
call eax
cmp eax, ebx
je 0x419cbc
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x42d600]
call fcn.00411aac
pop ecx
call eax
test eax, eax
je 0x419cbc
test byte [ebp - 0x18], 1
jne 0x419cef
lea eax, [ebp - 0xc]
push eax
call fcn.00410dfa
test eax, eax
pop ecx
je 0x419cd7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00411f7d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x419ce6
or dword [ebp + 0x10], 0x200000
jmp 0x419d20
or dword [ebp + 0x10], 0x40000
jmp 0x419d20
mov eax, dword [0x42d5f4]
cmp eax, esi
je 0x419d20
push eax
call fcn.00411aac
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x419d20
mov eax, dword [0x42d5f8]
cmp eax, esi
je 0x419d20
push dword [ebp - 4]
push eax
call fcn.00411aac
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 [0x42d5f0]
call fcn.00411aac
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ee80
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x429978]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041ee15
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.0040d2e0
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 0x41eecf
cmp dword [ebp - 0x1c], 5
jb 0x41eee7
jmp 0x41eee3
cmp dword [ebp - 0x10], 1
jne 0x41eee7
cmp dword [ebp - 0x1c], 4
ja 0x41eee3
jne 0x41eee7
cmp dword [ebp - 0x18], 0
jbe 0x41eee7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4247a8
call fcn.0041ed06
test eax, eax
jge 0x41ef08
mov byte [0x42ad60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040d05b
add ebp, 0x78
leave
ret
Function at 0x40633a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40635e
xor eax, eax
test eax, eax
je 0x406370
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406370
xor ecx, ecx
jmp 0x406373
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x40645f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x448e04], 0
push esi
jne 0x406496
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406470
mov dword [ecx*4 + 0x448e00], eax
inc ecx
cmp ecx, 0x100
jl 0x40646b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4064c7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x448e00]
xor eax, esi
inc ecx
dec edx
jne 0x4064a9
pop edi
not eax
pop esi
ret 0xc
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5751507d
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x21d65e69
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x70d95792
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x26df66af
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219