joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030b0
Capabilities:
Check for hardware breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x1000310a
mov eax, dword [esi]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x100032d1
mov edx, dword [ebp - 0x210]
test edx, 0x20000
jne 0x10003145
cmp dword [ebp - 0x214], 0x1b
jne 0x10003145
lea eax, [ebp - 0x2d4]
mov ebx, 0x2cc
push eax
push ebx
lea eax, [ebp - 0x2d0]
push eax
push dword [0x1000544c]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x100032d1
cmp dword [ebp - 0x2d4], ebx
jne 0x100032d1
mov edx, dword [ebp - 0x210]
mov ecx, dword [esi]
mov edi, 0x10001
mov eax, ecx
and eax, edi
cmp eax, edi
jne 0x10003196
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0xb4], eax
mov eax, dword [ebp - 0x218]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x214]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp - 0x208]
mov dword [esi + 0xc8], eax
mov eax, dword [ebp - 0x20c]
mov dword [esi + 0xc0], edx
mov dword [esi + 0xc4], eax
mov edx, 0x10004
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x100031d3
mov eax, dword [ebp - 0x244]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0x240]
mov dword [esi + 0x90], eax
mov eax, dword [ebp - 0x23c]
mov dword [esi + 0x94], eax
mov eax, dword [ebp - 0x238]
mov dword [esi + 0x98], eax
mov edx, 0x10002
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x10003228
mov eax, dword [ebp - 0x234]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 0x230]
mov dword [esi + 0xa0], eax
mov eax, dword [ebp - 0x22c]
mov dword [esi + 0xa4], eax
mov eax, dword [ebp - 0x224]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x228]
mov dword [esi + 0xa8], eax
mov eax, dword [ebp - 0x220]
mov dword [esi + 0xb0], eax
mov edx, 0x10008
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x1000328b
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x298]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x2b0]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x29c]
push 0x50
mov dword [esi + 0x34], eax
lea eax, [esi + 0x38]
push ecx
push eax
call sub.ntdll.dll_memcpy
mov ecx, dword [esi]
add esp, 0xc
mov eax, 0x10010
and ecx, eax
cmp ecx, eax
jne 0x100032cc
mov eax, dword [ebp - 0x2cc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c4]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x2c0]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x2bc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x2b8]
mov dword [esi + 0x18], eax
xor eax, eax
inc eax
jmp 0x100032d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003bb0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003a70
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
push esi
push edi
push 0xa0
xor esi, esi
lea eax, [esp + 0x1c]
push esi
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, 0x1000
mov word [esp + 0xb0], ax
lea eax, [esp + 0xc]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x4c], 0xc
call dword [sym.imp.KERNEL32.dll_GetNextVDMCommand]
test eax, eax
je 0x10003b09
push dword [esp + 0xc]
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10003b09
lea eax, [esp + 8]
push eax
movzx eax, word [ebp + 0xc]
push esi
push eax
push dword [esp + 0x20]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x10003b02
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x100094cc
Capabilities:
Encode data using xor

Disassembly:
call 0x10009445
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10009475
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10009491
xor edx, 0
jmp 0x1000949c
xor edx, edx
jmp 0x100094b3
jmp 0x100094bf
xor eax, eax
push 0x8427d7c0
call 0x100094cc
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10009508
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100094e1
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000951f
add eax, 0
jno 0x10009524
add esi, 0
ret 0x10
Function at 0x1000a28d
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000a2af
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000a451
cmp edi, dword [ebp + 0x10]
jb 0x1000a451
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10009d79
inc edi
jmp 0x1000a338
jmp 0x1000a345
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10009d79
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10009d79
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000a399
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000a37d
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000a3c7
add dword [eax], 0x39
jle 0x1000a3a3
sub al, 0xf5
mov ch, al
call fcn.1000a3dc
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000c0b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000c0ca
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000c0db
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000c11c
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x1000e488
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1000e3d1
add ebx, 0
push ecx
call 0x1000e3e6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6d2f03fd
sub ebx, dword [0x6d30fc3c]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6d30fc2c
call fcn.10009eb0
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100093be
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1000e544
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1000e544
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1000e4fb
mov eax, 1
lock xchg dword [0x6d30fc38], eax
push 0x3dd1fc71
call 0x1000e488
push esi
add esp, 8
cmp eax, 0
jne 0x1000e471
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1000e497
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1000e4ac
cmp ecx, edx
cmp eax, 0
je 0x1000e4d1
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1000e4bb
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1000e4ea
dec eax
loope 0x1000e4ed
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6d30fc38], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1000e521
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1000e536
jmp 0x1000e541
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1000e42f
Function at 0x100155a9
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1001587f
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6d2fc8b0
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6d2f3876
push 0xffffffffffffffff
call fcn.1000c7a9
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10015613
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1001562b
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x10015873
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10015847
Function at 0x10025079
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1002509b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1002509b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1002509b
ret
cmp word [ebx + 4], 0x14c
jne 0x1002509b
test word [ebx + 0x16], 2
je 0x1002509b
test word [ebx + 0x16], 0x100
je 0x1002509b
cmp word [ebx + 0x18], 0x10b
jne 0x1002509b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1002509b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10025127
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100250bb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000c006
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1002509b
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10025127
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1002509b
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1002509b
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1002509b
ret
cmp word [ebx + 4], 0x14c
jne 0x1002509b
test word [ebx + 0x16], 2
je 0x1002509b
test word [ebx + 0x16], 0x100
je 0x1002509b
cmp word [ebx + 0x18], 0x10b
jne 0x1002509b
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1002509b
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10025127
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100250bb
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000c006
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1002509b
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x100251de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10025237
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100251de
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100251ed
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042ae90
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002523e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000c0b4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100252dd
add edi, 4
add eax, 2
dec ecx
jne 0x10025223
call 0x1002528a
loope 0x10025280
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100252da
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100252eb
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002529e
cmp eax, ecx
ja 0x1002529e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10025328
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002531e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000c593
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100251ed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10025237
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100251de
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100251ed
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042ae90
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1002523e
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000c0b4
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100252dd
add edi, 4
add eax, 2
dec ecx
jne 0x10025223
call 0x1002528a
loope 0x10025280
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100252da
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100252eb
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1002529e
cmp eax, ecx
ja 0x1002529e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10025328
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1002531e
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000c593
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x414de0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..pdata
lea edi, [esi - 0xe000]
push edi
jmp 0x414dfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414e01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414df0
mov eax, 1
add ebx, ebx
jne 0x414e13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414e24
jne 0x414e43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e43
dec eax
add ebx, ebx
jne 0x414e30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x414e08
add ebx, ebx
jne 0x414e3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x414e95
xor ecx, ecx
sub eax, 3
jb 0x414e5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414eca
sar eax, 1
mov ebp, eax
jmp 0x414e66
add ebx, ebx
jne 0x414e66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e34
inc ecx
add ebx, ebx
jne 0x414e74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e34
add ebx, ebx
jne 0x414e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414e76
jne 0x414e92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414eb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414ea6
jmp 0x414df6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414eb4
add edi, ecx
jmp 0x414df6
pop esi
mov edi, esi
mov ecx, 0xb800
jmp 0x414f05
mov al, byte [edi]
inc edi
cmp al, 0x80
jb 0x414ee5
cmp al, 0x8f
ja 0x414ee5
cmp byte [edi - 2], 0xf
je 0x414eeb
sub al, 0xe8
cmp al, 1
ja 0x414f0f
cmp ecx, 4
jb 0x414f14
mov eax, dword [edi]
sub al, 5
jne 0x414f0f
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jb 0x414f14
mov al, byte [edi]
inc edi
jmp 0x414ee5
sub ecx, 1
jae 0x414ed4
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414f5c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1506c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414f1a
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15074]
or eax, eax
je 0x414f56
mov dword [ebx], eax
add ebx, 4
jmp 0x414f37
call dword [esi + 0x15070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x414f8d
cmp al, 0xef
ja 0x414f80
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x414f62
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x414f6f
mov ebp, dword [esi + 0x15078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x414fc1
sub esp, 0xffffff80
jmp 0x405dd2
Function at 0x402a54
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404538
test esi, esi
jne 0x402a8a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404628
jmp 0x402aa8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402968
mov edi, eax
test esi, esi
je 0x402aa8
cmp dword [ebx], 0
je 0x402aa8
dec esi
jmp 0x402a91
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4035d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x475020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40366c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40364c
xor eax, eax
push ebp
push 0x403645
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403688
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40364c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x475020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x475020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404338
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47704c], 0
je 0x404399
cmp word [0x477220], 0xd7b2
jne 0x404361
cmp dword [0x477228], 0
jbe 0x404361
mov eax, 0x47721c
call dword [0x477238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x475070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4043c0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x475030], 0
jne 0x4043b5
push 0
push 0x475068
push 0x475070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4044ec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040272c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47704d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4044b4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc