joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424640
Capabilities:
Encrypt data using des
Parse pe header

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
jmp loc.00428000
Function at 0xc45460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xc74094]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00c5b770
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0xc454af
cmp dword [ebp + 0xc], 0
jne 0xc454b9
jmp 0xc4558a
cmp dword [ebp + 0x10], 0
je 0xc4550e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0xc454d7
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
jne 0xc45512
jmp 0xc4558a
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [0xc6a128]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00c59f2d
add esp, 0xc
push 0xc71668
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00c599d4
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0xc4555e
jmp 0xc4558a
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00c5a24a
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00c59c82
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00c59758
mov esp, ebp
pop ebp
ret
Function at 0xc48900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0xc48935
cmp dword [ebp + 0xc], 0xa
jae 0xc48946
mov dword [ebp - 0x10], 0xffffffff
jmp 0xc48a1d
mov eax, dword [ebp + 0xc]
shl eax, 2
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
call fcn.00c597b6
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00c48840
add esp, 0x14
test eax, eax
je 0xc48a16
push 0xc70834
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00c599d4
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0xc489ab
mov dword [ebp - 0x10], 0xfffffffe
jmp 0xc48a1d
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.00c59b89
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0xc489d7
mov dword [ebp - 0x10], 0xfffffffe
jmp 0xc48a1d
call dword [0xc6a12c]
xor edx, edx
mov ecx, 0x1f4
div ecx
mov dword [ebp - 0x20], edx
call dword [0xc6a12c]
xor edx, edx
mov ecx, 0x3e8
div ecx
add edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00c59b89
add esp, 0x10
jmp 0xc48a1d
mov dword [ebp - 0x10], 0xfffffffd
cmp dword [ebp - 0x14], 0
je 0xc48a2f
mov edx, dword [ebp - 0x14]
push edx
call fcn.00c59c82
add esp, 4
cmp dword [ebp - 4], 0
je 0xc48a41
mov eax, dword [ebp - 4]
push eax
call fcn.00c59880
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0xc4c130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0xc4c140
xor eax, eax
jmp 0xc4c2dd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0xc4c29e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xc6fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xc6fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0xc6fb78]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xc6fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xc6fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0xc6fb78]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xc6fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0xc6fb78]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0xc4c149
cmp dword [ebp + 0x10], 0
je 0xc4c2d7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0xc6fb78]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0xc4c2a4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
fld xword [esi + 0x63]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
push edx
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
push edx
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
xor eax, edx
dec esp
xchg ecx, eax
add bh, byte [esp + eax*2]
shl byte [eax - 0x5f6edb21], 1
mov al, byte [0xa09124df]
sbb al, 0x24
les ebp, [ecx]
stc
scasd eax, dword es:[edi]
aam 0xa8
xchg edi, eax
popal
popfd
sub ecx, dword [ecx + 0x34]
adc dword [ebp - 0x5f2f8a24], ebx
sbb al, 0x51
salc
and esp, esp
and eax, 0xcc9fe2e3
nop
aam 0x10
cmpsd dword [esi], dword es:[edi]
jns 0x414a23
push 0x1d481237
push eax
mov cs, word [ebx + 0x2d]
int3
les ebp, [ecx]
stc
loop 0x414a59
jo 0x414b14
xchg ecx, eax
mov eax, dword [0xe253f474]
sbb al, 0x4e
hlt
dec esi
dec eax
loope 0x414b44
pop edi
dec esp
int3
pop edi
jecxz 0x414acb
fstp xword [ecx - 5]
jns 0x414aed
jecxz 0x414acf
outsb dx, byte [esi]
sbb byte [esp + eax*2], cl
inc esp
shl byte [eax + 0x5f17f5f4], 1
jecxz 0x414aed
push edx
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
outsb dx, byte [esi]
pop edi
jecxz 0x414aef
xchg ecx, eax
mov al, byte [0x5f6e241c]
jecxz 0x414af7
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
lahf
enter 0x6795, 0x18
add byte [ebp + 8], bh
pop esi
and al, 0x98
pop ebx
push ebx
dec esp
xchg ecx, eax
rcr byte [ebp + 0x24], 1
invalid
pop esi
int1
jl 0x414ba9
mov eax, 0x919d5a5f
mov al, 0x5c
and al, 0x10
sbb eax, 0x9da09124
retf 0xd678
sbb dh, byte [eax + edi - 0x625baa59]
movsb byte es:[edi], byte [esi]
popfd
jecxz 0x414b96
nop
sub esp, dword [ecx + edi*2 - 0x4e]
sbb al, 0x24
xchg ecx, eax
mov eax, dword [0xa1662de2]
jecxz 0x414b81
fimul dword [ecx - 0x5f62193d]
xor eax, 0x575798d2
adc eax, 0x37e31e90
dec ebx
arpl word [ebp + 0x1ca095e5], bx
and al, 0xb0
pop ebx
ret
mov al, byte [0x5bb0241c]
dec ebx
jg 0x414bc1
dec edi
std
lodsd eax, dword [esi]
jns 0x414b94
and eax, 0x9d45e4f5
retf
arpl word [0xdfa09124], bx
movsd dword es:[edi], dword [esi]
push esi
mov esi, 0x1e66a487
push 0xffffffffffffff98
loop 0x414b7c
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa091241c]
sbb al, 0x24
xchg ecx, eax
mov al, byte [0xa15d241c]
invalid
Function at 0x40144c
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x423e51
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
cmp dword [0x43a674], 0x400
push edi
jne 0x40150d
push 0xf
pop esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x44], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401be0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401920
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004015d0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.0040192a
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401700
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401aa0
fstp st(0)
or dword [esp + 0x44], 0xffffffff
add esp, 8
cmp dword [esp + 0x2c], 0x10
jb 0x401501
push dword [esp + 0x18]
call fcn.00401950
pop ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
call esi
call esi
cmp edi, 0x206d51
jg 0x40152a
inc edi
cmp edi, 0x4eed4
jl 0x401515
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, 0x2b2589
jg 0x401544
inc esi
cmp esi, 0x118b1
jl 0x40152c
xor esi, esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
cmp esi, 0x2afdec
jle 0x401564
cmp dword [esp + 0x10], 0x787c7e45
jne 0x40156d
inc esi
cmp esi, 0x42f7
jl 0x401546
mov eax, dword [0x42dc8c]
mov dword [0x43a674], eax
call fcn.00401244
mov esi, 0x3078f
cmp dword [0x43a674], 0x51f
jne 0x401596
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
dec esi
jne 0x401581
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403400
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a1c8]
jne 0x40340a
repz ret
jmp fcn.00407fee
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x74712273
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3ab46ad7
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x401e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [str.V_we], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.tascraft
push str.bamed
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401e98
xor eax, eax
jmp 0x401eb3
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4025f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0xb8], eax
push 0x4040a4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401000
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401e50
add esp, 8
test eax, eax
jne 0x402638
xor eax, eax
jmp 0x402696
push 0
push 0
push 0
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40268a
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x402688
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x402638
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp - 0xa8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4056ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.004039dd
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0040393e
add esp, 0xc
jmp 0x405945
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.004039cd
push esi
sbb edx, dword ss:[edi + edi*8]
mov ch, 0x60
cld
invalid

Function at 0x405c4b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x45e750], 0x44
push eax
xor eax, eax
push 0x45e750
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405c8a
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405d2c
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00406133
mov edi, eax
cmp edi, 0xffffffff
je 0x405d6d
test byte [esp + 0x10], 1
push esi
je 0x405d4f
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405d55
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405d5e
xor eax, eax
inc eax
jmp 0x405d6f
test byte [esp + 0x10], 4
jne 0x405d6d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x45fdec], 0
push esi
jne 0x406b59
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 0x406b33
mov dword [ecx*4 + 0x45fde8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
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 + 0x45fde8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [0x403cdc], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 4]
mov dword [0x403b2d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401031
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403b2d]
mov dword [ebp - 0x48], eax
mov eax, 0x40168b
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403b2d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.klavesn
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d28], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403d28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010ce
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010c0
mov esp, ebp
ret
Function at 0x404372
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00401ab1
and dword [ebp - 4], 0
cmp dword [0x40c504], 0
mov ebx, eax
jne 0x404423
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4044d4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4044d4
push eax
call fcn.00401a3f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40c504], eax
call esi
push eax
call fcn.00401a3f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40c508], eax
call esi
push eax
call fcn.00401a3f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40c50c], eax
call esi
push eax
call fcn.00401a3f
pop ecx
mov dword [0x40c514], eax
test eax, eax
je 0x404423
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00401a3f
pop ecx
mov dword [0x40c510], eax
mov eax, dword [0x40c510]
cmp eax, ebx
je 0x40447b
cmp dword [0x40c514], ebx
je 0x40447b
push eax
call fcn.00401aba
push dword [0x40c514]
mov esi, eax
call fcn.00401aba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40447b
test edi, edi
je 0x40447b
call esi
test eax, eax
je 0x404472
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404472
test byte [ebp - 0xc], 1
jne 0x40447b
or dword [ebp + 0x10], 0x200000
jmp 0x4044b4
mov eax, dword [0x40c508]
cmp eax, ebx
je 0x4044b4
push eax
call fcn.00401aba
pop ecx
test eax, eax
je 0x4044b4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4044b4
mov eax, dword [0x40c50c]
cmp eax, ebx
je 0x4044b4
push eax
call fcn.00401aba
pop ecx
test eax, eax
je 0x4044b4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40c504]
call fcn.00401aba
pop ecx
test eax, eax
je 0x4044d4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4044d6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404756
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40bc50]
jne 0x404760
repz ret
jmp fcn.004067ca
Function at 0x401266
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c004]
jne 0x401270
repz ret
jmp fcn.004017cd

Function at 0x408850
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c004]
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.00403efb
and dword [ebp - 0x14], 0
cmp dword [0x43ed9c], 0
mov dword [ebp - 0x18], eax
jne 0x408903
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4089ab
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4089ab
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43ed9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43eda0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43eda4], eax
call edi
push eax
call esi
mov dword [0x43edac], eax
test eax, eax
je 0x408903
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43eda8], eax
mov eax, dword [0x43eda8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40895c
cmp dword [0x43edac], ecx
je 0x40895c
push eax
call esi
push dword [0x43edac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40895c
test ebx, ebx
je 0x40895c
call edi
test eax, eax
je 0x408953
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408953
test byte [ebp - 8], 1
jne 0x40895c
or dword [ebp + 0x10], 0x200000
jmp 0x40898f
mov eax, dword [0x43eda0]
cmp eax, dword [ebp - 0x18]
je 0x40898f
push eax
call esi
test eax, eax
je 0x40898f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40898f
mov eax, dword [0x43eda4]
cmp eax, dword [ebp - 0x18]
je 0x40898f
push eax
call esi
test eax, eax
je 0x40898f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43ed9c]
call esi
test eax, eax
je 0x4089ab
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4089ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401266
leave
ret
Function at 0x42fc60
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x43c004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x440b34]
push edi
mov edi, dword [0x442fb4]
call fcn.0042fbd0
cmp dword [0x442fb4], 0x2f
jne 0x42fcf4
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
call fcn.0042fc00
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.00401266
add esp, 0x41c
ret