joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7915fdc8
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
jmp 0x790a19c5
mov dword [esp + 0x1c], edi
cmp eax, 0x875fe8ab
cmp dword [0x7906c36c], 0
jmp 0x7913bff4
bt ax, 2
push esi
pushal
jmp 0x79099fb0
pushal
cmc
cmc
pushal
mov dword [esp + 0x3c], ebp
shrd bp, bp, cl
clc
lea ebp, [esp + 0x3c]
stc
test cx, 0x6de9
clc
stc
sub esp, 8
pushfd
pushfd
pushfd
mov dword [esp + 8], ebx
pushfd
sub esp, 0xfffffff4
jbe 0x790db883
push esi
cmp al, dh
clc
push edi
stc
call fcn.790b0804

Function at 0x79160e18
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
pushfd
mov byte [esp + 4], 0xc1
jmp 0x79152e74
mov dword [esp], ecx
jge 0x7909e3e9
pushfd
lea esp, [esp + 4]
movss dword [esp], xmm0
call fcn.7911764d

Function at 0x79163f78
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebx
mov byte [esp + 4], 0xee
mov dword [esp + 0x30], eax
jmp 0x790844a7

Function at 0x7916b4d9
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x20]
call fcn.79034520
bts cx, 0xa
setp cl
shld cx, bx, cl
bt di, cx
mov ecx, eax
sal ax, 1
rcl eax, 0x16
mov eax, dword [ebp - 0x10]
push 0x3b14d7bf
sub edx, edx
jmp 0x790a0cf0
pushfd
push dword [esp + 4]
div ecx
pushfd
push 0x147df39f
mov dword [ebp - 0x64], edx
mov word [esp], 0x50d6
call fcn.7915d9c6
mov word [esp], 0x56e5
jmp 0x7915f568
mov dword [esp + 0x40], eax
movzx cx, al
lea ecx, [ebp*8 - 0x5c666d18]
movzx cx, dl
pushfd
mov ecx, 0x7906d4d4
push ebx
mov byte [esp + 4], 0xc3
jmp 0x79158a20
lea esp, [esp + 0x48]
call fcn.79010df0
movzx cx, al
mov ecx, esi
pushal
mov ecx, 0x7906d4d4
jmp 0x7907ca95
mov dword [ebp - 0x10], ecx
call fcn.790c8b73
pop ecx
mov ecx, 0x7906d4d4
pushfd
pushal
lea esp, [esp + 0x24]
call fcn.79032b20
test ah, 0x55
pushal
clc
movzx eax, al
test di, bx
test eax, eax
push 0xd4578f53
mov byte [esp + 0xc], bl
push 0xfb46d49f
lea esp, [esp + 0x28]
jne 0x790c6e9a
pushfd
mov dword [esp], 4
setp cl
not cx
lea ecx, [esp - 0x2f296fdd]
lea ecx, [ebp - 0x60]
push 0xfa641085
pushfd
lea esp, [esp + 8]
call fcn.790280c0
pushal
lea eax, [ebp - 0x60]
pushal
movzx cx, bl
push 0x31c3c5f
jmp 0x790ca0d1

Function at 0x7916e8b7
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x30]
call fcn.790e19c7
movzx cx, cl
pushal
pushfd
push 0x4a023a7a
lea eax, [ebp - 0x1c0]
mov word [esp], 0xe460
not ch
mov dword [esp + 0x24], eax
pop ecx
lea ecx, [ebp - 0x1e4]
call fcn.790f620f

Function at 0x7916e8fc
Capabilities:
Packed with generic packer

Disassembly:
pop edx
lea ecx, [ebp - 0x404]
bswap edx
mov dword [esp], ecx
push edx
mov edx, dword [0x7906e510]
call fcn.790f9b88
pushfd
lea esp, [esp + 0x4c]
jne 0x790eae3b
btr ax, cx
mov byte [ebp - 5], 0
pop ecx
lea ecx, [ebx - 0x150216f6]
xchg dl, cl
lea ecx, [ebp - 0xe8]
call fcn.7907e3b5
jmp 0x790eae10
mov eax, dword [ebp - 0x18]
pop ecx
push 0x71e51760
mov dh, 0x16
setno cl
mov dword [ebp - 0xe8], eax
jmp 0x791437b3

Function at 0x7916e9ce
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp]
push edi
call fcn.7907cc96
Function at 0x79170b17
Capabilities:
Execute anti-debugging instructions

Disassembly:
wait
pushfd
pushal
pushfd
mov dword [ebp - 4], 0xfffffffe
push 0x81119fe6
mov word [esp], sp
lea esp, [esp + 0x2c]
jmp loc.79014567
clc
call fcn.79134b2b
pushal
pushal
mov byte [esp], dl
lea esp, [esp + 0x40]
jmp 0x791720ab
bt bx, ax
rdtsc
mov dword [ebp - 0x24], 6
stc
movsx eax, dl
cmc
setl dh
mov eax, 1
lea edx, [ebx - 0x6a8d6378]
bt bx, 5
cmc
not edx
imul ecx, eax, 0
bsr ax, bx
or dl, cl
bswap dx
mov edx, dword [ebp - 0xc]
setne ah
inc al
and al, 0x26
movzx eax, word [edx + ecx]
ror ecx, cl
mov dword [ebp - 0x28], eax
mov eax, esi
cmp dl, 0xd1
bts ax, 8
mov eax, 1
bsr cx, di
call fcn.7908e523
lea esp, [esp + 8]
jge 0x790981e2
jle 0x790ace53
pushal
cmp dword [ebp - 0x10], 0xfe
pushal
mov byte [esp], al
mov byte [esp], 0xc8
lea esp, [esp + 0x40]
jne 0x790fe879
not ax
mov eax, dword [ebp - 0xc]
bsr edx, ebp
pushal
movzx ecx, word [eax]
jmp 0x7916ea55
rcl dx, cl
test cl, ah
shrd ax, sp, cl
mov dword [ebp - 0x18], ecx
pop ecx
add dx, 0x9612
rdtsc
sal ah, 4
mov eax, 1
or cl, 0x9c
shl eax, 1
bt dx, 2
rcl dl, cl
mov ecx, dword [ebp - 0xc]
sar dx, 4
sbb dl, bl
bts dx, 6
movzx edx, word [ecx + eax]
bswap cx
mov dword [ebp - 0x1c], edx
lea eax, [edx + 0x30f675ab]
mov eax, 1
rol cx, cl
shl eax, 2
cmc
not dh
call fcn.790747b1
mov byte [esp + 4], bh
lea esp, [esp + 0x24]
jge 0x790981e2
bswap eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
cmp eax, dword [ebp - 0x10]
jmp 0x791481ab
jmp 0x79090fb8

Function at 0x79171038
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp]
mov dword [eax], ecx
pushfd
push 0x2cb05b17
lea esp, [esp + 0x3c]
jmp fcn.7908a2a6

Function at 0x7917381c
Capabilities:
Packed with generic packer

Disassembly:
mov word [esp + 8], bp
pushfd
xor ecx, ebp
pushfd
mov byte [esp], 8
push ebp
pushfd
lea esp, [esp + 0x3c]
call fcn.79038526
call fcn.7916e9ce
pushfd
pop dword [esp]
pushal
xor eax, 0xaeeb6f5d
pushfd
call fcn.79026c16
add ch, bl
popal
xadd si, bx
bts esi, edi
pop edi
pushal
mov esi, dword [esp + 0x20]
clc
bswap ebx
clc
or bh, 0xf1
mov ebx, dword [esp + 0x24]
stc
bswap cx
push ebp
bsf cx, cx
mov ecx, dword [ebp - 4]
cmc
jmp 0x790c3aac

Function at 0x79175632
Capabilities:
Execute anti-debugging instructions

Disassembly:
not cl
setns ch
mov ecx, dword [ebp - 0x1a8]
pushal
lea esp, [esp + 0x34]
call fcn.790257b0
pushfd
mov dword [ebp - 0x1fc], eax
pushal
push dword [esp]
mov word [esp], 0xca0b
lea esp, [esp + 0x28]
jmp 0x7914e7b5
mov dword [ecx + 0x14], eax
pop ecx
jmp 0x79101919

Function at 0x791759bb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
mov dword [ebp - 4], 0xffffffff
movsx cx, dl
push 0xca7088f9
mov word [esp], bx
not cl
lea ecx, [ebp - 0x44]
pushfd
lea esp, [esp + 0x30]
call fcn.79004c00
pushal
pushal
mov byte [esp + 4], 0x4f
pushfd
lea esp, [esp + 0x44]
jmp 0x790df16f
Function at 0x79175f8c
Capabilities:
Execute anti-debugging instructions

Disassembly:
sete ah
mov dword [ebp - 0x45c], ecx
jmp 0x7912f8cf
lea ecx, [esi + 0x71991786]
mov ecx, dword [ebp - 0x42c]
lea esp, [esp + 0x44]
js 0x79074cfe
mov dword [ebp - 0x45c], ecx
cwde
movzx eax, cl
movsx cx, al
lahf
mov eax, dword [ebp - 0x438]
pushfd
movsx cx, cl
mov dword [ebp - 0x458], eax
mov word [esp], 0x56ae
call fcn.790dc4af
test al, 0xea
mov ecx, 0x8776b1d8
xchg ebp, eax
insb byte es:[edi], dx
cli
iretd
lea ecx, [eax + 0x21245e71]
jmp 0x7914f097
rol dx, cl
mov ecx, esi
setp dh
imul ecx, eax, 0x28
pushfd
setnp ah
pushal
push dword [esp + 4]
mov edx, dword [ebp - 0x414]
movsx eax, bl
pushfd
pop eax
movzx eax, word [edx + ecx]
bswap cx
mov dword [ebp - 0x448], eax
mov al, byte [esp]
movsx ax, bl
cwde
mov byte [esp], 0xcc
mov eax, dword [ebp - 0x430]
pushfd
jmp 0x790c7cfa
pushal
mov dword [ebp - 0x448], eax
setbe ah
lahf
mov eax, dword [ebp - 0x430]
mov byte [esp], al
lea ecx, [edi*8 - 0x3fefc83d]
pushfd
mov dword [ebp - 0x460], eax
setge ah
lahf
jmp 0x790b7465
mov eax, dword [ebp - 0x438]
call fcn.7912217b
call fcn.790d96a3
mov dword [ebp - 0x460], eax
jmp 0x79168f83
jmp 0x791716f3
cwde
movzx eax, word [edx + ecx]
lea ecx, [edi - 0xc7c0249]
mov dword [ebp - 0x448], eax
cwde
bswap eax
mov eax, dword [ebp - 0x430]
jmp 0x79160d20
mov dword [ebp - 0x460], eax
pushfd
bswap cx
mov ecx, dword [ebp - 0x42c]
not ah
pushal
bswap ax
mov dword [ebp - 0x45c], ecx
movsx eax, al
pushfd
pushfd
movzx cx, bl
mov eax, dword [ebp - 0x438]
push dword [esp]
mov dword [ebp - 0x458], eax
setnp al
mov ecx, dword [ebp - 0x434]
movsx ax, bl
call fcn.7917677d
mov dword [ebp - 0x440], eax
rcr al, cl
rcl al, cl
stc
movzx ax, bl
mov ecx, dword [edx + ecx + 4]
bt eax, 0x1e
mov byte [esp], bh
movsx dx, dl
xchg dx, ax
mov dword [ebp - 0x43c], ecx
clc
setnp dl
setne al
rcl al, 2
mov eax, 1
push esp
rcr cx, cl
imul ecx, eax, 0x24
btc ax, 6
movzx dx, al
btc dx, 0xd
mov edx, dword [ebp - 0x414]
btr ax, sp
movsx ax, bl
movsx ax, cl
lea eax, [ecx*8 + 0x3816703e]
mov eax, dword [edx + ecx]
cmc
mov dword [ebp - 0x444], eax
lea eax, [esi*8 + 0x54e3c415]
lahf
rdtsc
rol ah, cl
mov eax, 1
lea edx, [esi - 0x64fec828]
lea esp, [esp + 0x2c]
jno 0x790df800
imul ecx, eax, 0x28
cwde
rdtsc
mov edx, dword [ebp - 0x414]
setns ah
not ah
jae 0x79171222
pushal
movzx eax, word [edx + ecx]
jmp 0x7911265f
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
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x69ad28d1
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x536134f
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x47e692
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47e6c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e6de
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e5f8
jmp 0x47e6de
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e6de
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e5f8
test edi, edi
mov eax, edi
jne 0x47e6c8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4060b6
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.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001000
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edi
mov edi, dword [esi]
mov edx, 0xc6ef3720
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
shr esi, 5
add esi, ebx
mov ebx, ecx
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
sub eax, esi
mov esi, eax
shr esi, 5
add esi, ebx
mov ebx, eax
shl ebx, 4
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add edx, 0x61c88647
sub ecx, esi
dec edi
jne 0x10001039
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0xc
ret

Function at 0x10001210
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x10001250
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1000123b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x10001248
add edx, ecx
cmp ebx, edx
jb 0x10001252
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10001231
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x100015b0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
cmp word [ebp], 0x5a4d
jne 0x100016ee
mov eax, dword [ebp + 0x3c]
add eax, ebp
cmp dword [eax], 0x4550
jne 0x100016ee
cmp word [eax + 0x14], 0xe0
jne 0x100016ee
cmp word [eax + 0x18], 0x10b
jne 0x100016ee
mov dword [0x10011638], ebp
mov esi, dword [ebp + 0x3c]
add esi, ebp
push esi
mov edi, dword [esi + 0x78]
push edi
call fcn.10001210
add esp, 8
test eax, eax
je 0x100016ee
mov eax, dword [0x10011638]
push eax
push esi
push edi
call fcn.10001260
mov ebx, dword [esi + 0x78]
add esp, 0xc
test ebx, ebx
je 0x100016ee
mov ecx, dword [ebx + ebp + 0x24]
mov edx, dword [ebx + ebp + 0x20]
mov edi, dword [ebx + ebp + 0x1c]
mov eax, dword [esp + 0x30]
add ebx, ebp
add ecx, ebp
add edx, ebp
add edi, ebp
shr eax, 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edi
je 0x10001711
mov esi, dword [edi]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100016dd
xor ebp, ebp
mov edi, edx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [edx]
cmp ecx, eax
jne 0x100016be
mov eax, dword [edi]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
add eax, ecx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100016b1
test cl, cl
je 0x100016ad
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100016b1
add eax, 2
add esi, 2
test cl, cl
jne 0x1000168d
xor eax, eax
jmp 0x100016b6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100016f8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x18]
inc ebp
add edx, 2
add edi, 4
dec ecx
cmp ebp, ecx
mov dword [esp + 0x10], edx
jbe 0x10001674
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebx + 0x14]
inc eax
dec esi
mov dword [esp + 0x14], eax
cmp eax, esi
jbe 0x10001664
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, dword [edx + eax*4]
pop esi
pop ebp
add eax, ecx
pop ebx
add esp, 0x18
ret
mov ecx, dword [ebx + 0x10]
xor eax, eax
mov edx, edi
cmp dword [esp + 0x30], ecx
jne 0x10001723
cmp dword [edx], 0
jne 0x1000173a
mov esi, dword [ebx + 0x14]
inc eax
inc ecx
add edx, 4
dec esi
cmp eax, esi
jbe 0x10001718
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [edi + eax*4]
pop edi
shl eax, 6
add eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10001d50
Capabilities:
Allocate or change rwx memory
Enumerate process modules
Execute shellcode via indirect call

Disassembly:
sub esp, 0x234
push esi
push edi
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], 0
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10001e19
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x224
push eax
push edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x10001e12
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
mov ebp, dword [esp + 0x248]
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x100115a8]
cmp ecx, eax
je 0x10001e01
cmp dword [0x10011640], eax
je 0x10001e01
lea ecx, [esp + 0x10]
push 0xc
push ecx
push eax
push esi
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
je 0x10001e01
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 0x40
push eax
push ecx
call ebx
test eax, eax
je 0x10001e01
mov edx, dword [esp + 0x10]
push ebp
push edx
call fcn.10001fd0
add esp, 8
lea eax, [esp + 0x20]
push eax
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10001db4
pop ebp
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
add esp, 0x234
ret
Function at 0x100065a0
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.10006623
jae 0x100065ae
xor ecx, ecx
call fcn.10006623
jae 0x100065dd
xor eax, eax
call fcn.10006623
jae 0x100065ed
mov bl, 2
inc ecx
mov al, 0x10
call fcn.10006623
adc al, al
jae 0x100065cf
jne 0x10006619
stosb byte es:[edi], al
jmp 0x100065b1
call fcn.1000662f
sub ecx, ebx
jne 0x100065f6
call fcn.1000662d
jmp 0x10006615
lodsb al, byte [esi]
shr eax, 1
je 0x1000663f
adc ecx, ecx
jmp 0x10006612
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.1000662d
cmp eax, 0x7d00
jae 0x10006612
cmp ah, 5
jae 0x10006613
cmp eax, 0x7f
ja 0x10006614
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x100065b1
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
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
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4f982a4d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
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
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x17175402
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
jmp 0x401219

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
sub eax, 0x40a009
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
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401543
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0
mov dword [esp], str.ConsoleWindowClass
call sym._FindWindowA_8
sub esp, 8
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
nop
leave
ret
Function at 0x402d10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408164
call sym._EnterCriticalSection_4
mov ebx, dword [0x40815c]
sub esp, 4
test ebx, ebx
je 0x402d5b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402d54
test esi, esi
je 0x402d54
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402d30
mov dword [esp], 0x408164
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402f40
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402f90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x403068
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x402fce
cmp eax, 4
jne 0x402ff0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x402fde
cmp edx, 4
je 0x402fde
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402f40

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
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
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219