joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41928b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x419328
push ebx
push esi
call fcn.00419254
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00418035
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4192d5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x419327
push edi
push eax
call fcn.00413e93
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4192f5
call fcn.0041314b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x419326
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00418035
add esp, 0x20
test eax, eax
jne 0x419314
push edi
call fcn.0041314b
jmp 0x41931c
push ebx
call fcn.0041314b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41f020
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f04d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f04d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp fcn.00431219
Function at 0x102535b3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x1026d798]
add ecx, 0x1134
mov dword [0x1026d794], ecx
mov dword [ebp - 0x10], eax
call fcn.10254730
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10253601
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1026d798], 0x1efe
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1026d794], 0xe72
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10253725
jmp 0x10253675
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1026d794], 0x114f
mov dword [ebp - 0x34], edi
jmp 0x10253725
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x102536f0
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x1025369f
mov al, byte [ebp - 0x52]
test al, 1
jne 0x1025364d
jmp 0x102536fd
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x10253685
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10253730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x1026d798]
mov esi, edx
add esi, 0xffffedec
mov dword [0x1026d798], esi
mov dword [0x1026d794], 0x1040
mov esi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
mov esi, dword [edi]
imul edi, eax, 0xa0
add edx, edi
add edx, 0x88
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x20c
mov ecx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
jne 0x1025376a
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffa6dac
mov dword [0x1026d798], ecx
mov dword [0x1026d794], 0x195f
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10257784]
mov dh, byte [eax + 0x10257755]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x44], ecx
jne 0x102537d2
lea eax, [ebp - 0x2c]
mov dword [0x1026d798], 0x79a
mov dword [0x1026d794], 0x1410
mov dword [ebp - 0x48], eax
call fcn.10254221
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
call fcn.10253d00
mov ecx, eax
mov dword [0x1026d7b4], eax
mov eax, esp
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, eax, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
mov esi, dword [edi]
imul edi, eax, 0xa0
mov ebx, edx
add ebx, edi
add ebx, 0x34
mov edi, dword [ebx]
imul ebx, eax, 0xa0
add edx, ebx
add edx, 0x88
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x4c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
call fcn.102545f1
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [ebp - 0x58]
add edx, 1
cmp edx, 0x20c
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
jne 0x1025385f
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x40]
mov dword [esp + 8], ecx
call fcn.1025402e
mov eax, dword [ebp - 0x4c]
add eax, 0x112769
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov dword [ecx + 4], 0x133400
mov eax, dword [ebp - 0x4c]
add eax, 0x106ce3
mov dword [ebp - 0x64], eax
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1f50
mov dword [0x1026d794], 0x131b
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102539a8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1026d7a0], 0
mov byte [0x1026d7a4], 0
mov dword [0x1026d794], 0x12ba
mov dword [0x1026d798], 0x639
mov dword [0x1026d79c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x1026d798], 0x22b
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1026d79c]
add eax, 1
mov dword [0x1026d79c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102539f7
xor eax, eax
mov ecx, dword [0x1026d794]
add ecx, 0x1c54
mov dword [0x1026d798], ecx
mov dword [0x1026d79c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1026d7a8], 0
mov dword [0x1026d794], 0x19a
mov edi, dword [0x1026d7a0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1026d7a8], esi
mov dword [0x1026d794], 0x1ec9
mov eax, esi
cdq
idiv ecx
mov dword [0x1026d7a0], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1026d7a4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x1026d798], 0x1ba8
mov dword [0x1026d794], 0xfffffd12
mov cl, byte [0x1026d7a4]
mov esi, dword [0x1026d7a0]
mov byte [ebx + esi], cl
mov esi, dword [0x1026d79c]
add esi, 1
mov dword [0x1026d79c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10253a48
mov eax, dword [0x1026d798]
add eax, 0xffffe839
mov dword [0x1026d794], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10253e82
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x1026d794], 0x195f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x10253ea6
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10257784]
mov dl, byte [eax + 0x10257755]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10253ea6
lea eax, [ebp - 0x24]
mov dword [0x1026d798], 0x79a
mov dword [ebp - 0x34], eax
call fcn.10254221
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10253d00
mov dword [0x1026d798], 0x266c
mov dword [0x1026d794], 0x27b
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10253fba
mov eax, dword [ebp - 0x38]
mov dword [0x1026d798], 0x28b5
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.102540fb
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 8], ecx
mov dword [0x1026d798], 0xadb
mov dword [0x1026d794], 0x6bf
add ecx, 0x1efa
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10253fb1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x102543e4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [0x1026d798], 0x1293
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1025444f
jmp 0x10254438
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x10254418
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x1026d794]
add ecx, 0xffffda3b
mov dword [0x1026d794], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x102544f2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x6f
jne 0x102544f2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x102544f2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x102544f2
mov eax, dword [0x1026d798]
add eax, 0x19c0
mov dword [0x1026d794], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x102544f2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x102544f2
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10254430
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10254430
Function at 0x10254891
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1026d79c], 0
mov dword [0x1026d7a0], 0
mov dword [0x1026d7ac], 0
mov ebx, dword [0x1026d798]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xffffed33
mov dword [0x1026d794], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10254a25
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1026d79c], edx
add ecx, 0xfffffeba
mov dword [0x1026d794], ecx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1026d7a0], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1026d7a4], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1026d7a4]
mov edx, dword [0x1026d7a0]
mov byte [edi + edx], cl
mov dword [0x1026d798], 0xac5
mov edx, dword [0x1026d79c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1026d7a0]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x1026d794]
and ebx, 0xff
mov dword [0x1026d7ac], ebx
mov dword [0x1026d798], 0x8a5
add edx, 0xffffe3a1
mov dword [0x1026d794], edx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x1026d798], 0xfffff828
mov byte [0x1026d7b1], ch
mov byte [0x1026d7b2], cl
xor ch, cl
mov byte [0x1026d7b0], ch
mov dword [0x1026d794], 0x137c
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10254a25
mov eax, dword [0x1026d798]
mov ecx, dword [0x1026d79c]
mov edx, dword [0x1026d7a0]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10254902
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10254a2d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.1000107d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x10254b97
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x28], ecx
call fcn.10253730
mov ecx, 0xd39
lea edx, [0x10253fc2]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x60], 0x133400
mov esi, dword [0x1026d780]
mov dword [esp + 0x74], esi
mov esi, dword [0x1026d784]
mov dword [esp + 0x40], esi
mov esi, dword [0x1026d788]
mov dword [esp + 0x88], esi
mov esi, dword [0x1026d78c]
mov dword [esp + 0x78], esi
mov esi, dword [0x1026d790]
mov dword [esp + 0x70], esi
mov dword [0x1026d798], 0x1b67
mov dword [0x1026d794], 0x23bf
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jne 0x10254aff
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x10254b1e
mov eax, 0x1a08
mov ecx, dword [esp + 0x18]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10254ad4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x14]
mov dword [0x1026d798], edx
call fcn.102543e4
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x10254b8f
lea eax, [esp + 0x40]
mov dword [0x1026d798], 0x470
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10253e82
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1026d794], 0x1c65
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x432003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x60612585
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0xe3d1ba5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4014b4
Capabilities:
Clear file content
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
xor esi, esi
cmp dword [0x2447ef4], 0x400
push edi
jne 0x401511
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.004016e9
push esi
push esi
call fcn.0040181f
push esi
call fcn.00401e11
push esi
push esi
call fcn.00401c5c
push esi
call fcn.00401ea7
push esi
push esi
call fcn.00401723
add esp, 0x24
xor edi, edi
cmp edi, 0x16d2a
jge 0x401529
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x40154e
inc edi
cmp edi, 0x3011b
jl 0x401513
mov eax, dword [0x42a864]
mov dword [0x2447ef4], eax
call fcn.004011ed
mov edi, 0x2ec37
cmp dword [0x2447ef4], 0x51f
jne 0x40157c
push esi
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x401562
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x406faa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427cfc]
jne 0x406fb4
repz ret
jmp fcn.00409103
Function at 0x4082ed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427cfc]
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.004053ca
and dword [ebp - 0x14], 0
cmp dword [0x4354b4], 0
mov dword [ebp - 0x18], eax
jne 0x4083a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408448
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408448
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4354b4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4354b8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4354bc], eax
call edi
push eax
call esi
mov dword [0x4354c4], eax
test eax, eax
je 0x4083a0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4354c0], eax
mov eax, dword [0x4354c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4083f9
cmp dword [0x4354c4], ecx
je 0x4083f9
push eax
call esi
push dword [0x4354c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4083f9
test ebx, ebx
je 0x4083f9
call edi
test eax, eax
je 0x4083f0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4083f0
test byte [ebp - 8], 1
jne 0x4083f9
or dword [ebp + 0x10], 0x200000
jmp 0x40842c
mov eax, dword [0x4354b8]
cmp eax, dword [ebp - 0x18]
je 0x40842c
push eax
call esi
test eax, eax
je 0x40842c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40842c
mov eax, dword [0x4354bc]
cmp eax, dword [ebp - 0x18]
je 0x40842c
push eax
call esi
test eax, eax
je 0x40842c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4354b4]
call esi
test eax, eax
je 0x408448
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40844a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406faa
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x476f52ea
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x1e555c82
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219