joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006631f
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 0x100665f5
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x736c176d
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x736b8733
push 0xffffffffffffffff
call fcn.1005d51f
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 0x10066389
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100663a1
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 0x100665e9
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100665bd
Function at 0x10075def
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 0x10075e11
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075e11
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075e11
ret
cmp word [ebx + 4], 0x14c
jne 0x10075e11
test word [ebx + 0x16], 2
je 0x10075e11
test word [ebx + 0x16], 0x100
je 0x10075e11
cmp word [ebx + 0x18], 0x10b
jne 0x10075e11
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075e11
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10075e9d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075e31
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cd7c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075e11
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 0x10075e9d
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 0x10075e11
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10075e11
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10075e11
ret
cmp word [ebx + 4], 0x14c
jne 0x10075e11
test word [ebx + 0x16], 2
je 0x10075e11
test word [ebx + 0x16], 0x100
je 0x10075e11
cmp word [ebx + 0x18], 0x10b
jne 0x10075e11
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10075e11
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10075e9d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10075e31
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1005cd7c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10075e11
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 0x10075f54
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10075fad
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10075f54
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10075f63
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 0x1047bc06
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 0x10075fb4
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.1005ce2a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10076053
add edi, 4
add eax, 2
dec ecx
jne 0x10075f99
call 0x10076000
loope 0x10075ff6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10076050
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 0x10076061
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 0x10076014
cmp eax, ecx
ja 0x10076014
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1007609e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10076094
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d309
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10075f63
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10075fad
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10075f54
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10075f63
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 0x1047bc06
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 0x10075fb4
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.1005ce2a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10076053
add edi, 4
add eax, 2
dec ecx
jne 0x10075f99
call 0x10076000
loope 0x10075ff6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10076050
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 0x10076061
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 0x10076014
cmp eax, ecx
ja 0x10076014
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1007609e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10076094
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d309
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

Function at 0x401790
Capabilities:
Encode data using xor

Disassembly:
push ebp
dec esi
in al, dx
and dword [eax + edi*4 - 0x5f000000], 0xb30278
add byte [eax], al
add byte [ecx + 0xb30278], ah
test eax, eax
mov eax, dword [0x41404c]
je 0x401802
push 0x61733c40
jo 0x401796
bound eax, qword [eax]
xor eax, 0x1574c085
Function at 0x10001000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a216
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0xd]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.10002650
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call fcn.1000ba18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c8
call fcn.10002650
mov byte [ebp - 4], 2
lea edx, [ebp - 0xf]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x1ec
call fcn.10002650
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0x120
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], 0x50
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], 0xc8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0xc8
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], 0xc8
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xd8], 1
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xd4], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xd0], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x108], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x200], 0x10020080
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c4], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x3c], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], 0xa
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], 0xc
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1e8], 0
push 0x1014fcc0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1ec
call fcn.100026f0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x204], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000614c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28cc
call fcn.1000fd30
mov dword [ebp - 0x28cc], ecx
lea eax, [ebp - 0x28b8]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x1000617b
xor eax, eax
jmp 0x10006318
mov ecx, dword [ebp + 0xc]
call fcn.10002760
and eax, 0xff
test eax, eax
jne 0x100061a2
mov ecx, dword [ebp + 0xc]
call fcn.10002710
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x2724], eax
jmp 0x100061dc
mov ecx, dword [ebp - 0x28cc]
add ecx, 0x10
call fcn.10002760
and eax, 0xff
test eax, eax
jne 0x100061d5
mov ecx, dword [ebp - 0x28cc]
add ecx, 0x10
call fcn.10002710
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x2724], eax
jmp 0x100061dc
xor eax, eax
jmp 0x10006318
cmp dword [ebp - 0x2724], 0
jne 0x100061ec
xor eax, eax
jmp 0x10006318
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [ebp - 0x271c], eax
mov word [ebp - 0x28c8], 2
push 0x50
call sub.WS2_32.dll_htons
mov word [ebp - 0x28c6], ax
mov ecx, dword [ebp - 0x2724]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x28c4], ecx
push 0x10
lea edx, [ebp - 0x28c8]
push edx
mov eax, dword [ebp - 0x271c]
push eax
call sub.WS2_32.dll_connect
mov dword [ebp - 0x2720], eax
cmp dword [ebp - 0x2720], 0xffffffff
jne 0x1000625e
mov ecx, dword [ebp - 0x271c]
push ecx
call sub.WS2_32.dll_closesocket
xor eax, eax
jmp 0x10006318
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.1000f1f0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x271c]
push ecx
call sub.WS2_32.dll_send
mov dword [ebp - 0x2720], eax
cmp dword [ebp - 0x2720], 0xffffffff
jne 0x1000629c
mov edx, dword [ebp - 0x271c]
push edx
call sub.WS2_32.dll_closesocket
xor eax, eax
jmp 0x10006318
mov dword [ebp - 0x2720], 1
push 0x1014fcd4
mov ecx, dword [ebp - 0x28cc]
call fcn.100026f0
cmp dword [ebp - 0x2720], 0
jle 0x10006313
push 0
push 0x2710
lea eax, [ebp - 0x2718]
push eax
mov ecx, dword [ebp - 0x271c]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x2720], eax
cmp dword [ebp - 0x2720], 0
jle 0x100062f8
mov edx, dword [ebp - 0x2720]
mov byte [ebp + edx - 0x2718], 0
jmp 0x100062ff
mov byte [ebp - 0x2718], 0
lea eax, [ebp - 0x2718]
push eax
mov ecx, dword [ebp - 0x28cc]
call fcn.10006d40
jmp 0x100062b6
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x1000764c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a5fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
add eax, 0x12c
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.1000710f
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10002760
and eax, 0xff
test eax, eax
jne 0x100076c6
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10005de0
mov eax, dword [ebp - 0x6c]
or al, 1
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100026b0
mov eax, dword [ebp + 8]
jmp 0x1000786e
mov ecx, dword [ebp - 0x70]
add ecx, 0x138
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.1000710f
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100026d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.100026b0
lea ecx, [ebp - 0x2c]
call fcn.10002760
and eax, 0xff
test eax, eax
jne 0x1000773a
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10005de0
mov eax, dword [ebp - 0x6c]
or al, 1
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100026b0
mov eax, dword [ebp + 8]
jmp 0x1000786e
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10005de0
mov byte [ebp - 4], 3
mov edx, dword [0x1001b298]
push edx
push 0x1014b01e
lea ecx, [ebp - 0x1c]
call fcn.10006dc0
add eax, 1
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100027a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
add ecx, 0x12c
call fcn.1000be00
lea ecx, [ebp - 0x3c]
call fcn.10002710
push eax
call fcn.1000fd5f
add esp, 4
push 0
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x3c]
push edx
call fcn.10005de0
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x70]
call fcn.1000787e
mov eax, dword [ebp - 0x70]
add eax, 0x12c
push eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.1000710f
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100026d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.100026b0
lea ecx, [ebp - 0x2c]
call fcn.10002760
and eax, 0xff
test eax, eax
je 0x10007833
mov ecx, dword [ebp - 0x70]
add ecx, 0xbc
call fcn.10002710
push eax
call fcn.1000fd5f
add esp, 4
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
push 0x1000739e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10005de0
mov eax, dword [ebp - 0x6c]
or al, 1
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.100026b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.100026b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100026b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000814a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a6c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x174]
add ecx, 0x1ec
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.100026d0
mov edx, dword [0x1001b298]
push edx
push 0x2e
mov ecx, dword [ebp - 0x40]
call fcn.10006df0
mov dword [ebp - 0x18], eax
push str..lrc
mov eax, dword [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.100027a0
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.1000cb90
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.100026d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.100026b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100026b0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x40]
call fcn.10002710
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x1000822d
xor eax, eax
jmp 0x10008270
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x70
call fcn.10002710
push eax
call fcn.1000f1f0
add esp, 4
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x70
call fcn.10002710
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100091f9
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a703
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ecx + edx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0
jmp 0x1000924d
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x18], ecx
jge 0x10009437
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
and edx, 0x40000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
and eax, 0x2000000
test eax, eax
je 0x10009300
mov dword [ebp - 4], 0
mov ecx, 1
test ecx, ecx
je 0x100092d3
mov dword [ebp - 0x34], 0x4b
push 0x1001cce8
lea edx, [ebp - 0x34]
push edx
call fcn.10010077
jmp 0x100092f4
mov dword [ebp - 4], 0xffffffff
jmp 0x1000923b
mov dword [ebp - 4], 2
mov ecx, 1
test ecx, ecx
je 0x10009325
mov dword [ebp - 0x38], 0x36
push 0x1001cce8
lea edx, [ebp - 0x38]
push edx
call fcn.10010077
jmp 0x10009346
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
test eax, eax
je 0x10009365
mov ecx, dword [ebp - 0x28]
or ch, 2
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100093d5
mov dword [ebp - 4], 4
mov ecx, 1
test ecx, ecx
je 0x10009399
mov dword [ebp - 0x3c], 0x10
push 0x1001cce8
lea edx, [ebp - 0x3c]
push edx
call fcn.10010077
jmp 0x100093d5
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0
jbe 0x1000942b
mov dword [ebp - 4], 6
mov ecx, 1
test ecx, ecx
je 0x10009407
mov dword [ebp - 0x40], 0xf
push 0x1001cce8
lea edx, [ebp - 0x40]
push edx
call fcn.10010077
jmp 0x1000942b
mov dword [ebp - 4], 0xffffffff
jmp 0x1000923b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100092f4
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a703
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ecx + edx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0
jmp 0x1000924d
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x18], ecx
jge 0x10009437
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
and edx, 0x40000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
and eax, 0x2000000
test eax, eax
je 0x10009300
mov dword [ebp - 4], 0
mov ecx, 1
test ecx, ecx
je 0x100092d3
mov dword [ebp - 0x34], 0x4b
push 0x1001cce8
lea edx, [ebp - 0x34]
push edx
call fcn.10010077
jmp 0x100092f4
mov dword [ebp - 4], 0xffffffff
jmp 0x1000923b
mov dword [ebp - 4], 2
mov ecx, 1
test ecx, ecx
je 0x10009325
mov dword [ebp - 0x38], 0x36
push 0x1001cce8
lea edx, [ebp - 0x38]
push edx
call fcn.10010077
jmp 0x10009346
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
test eax, eax
je 0x10009365
mov ecx, dword [ebp - 0x28]
or ch, 2
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100093d5
mov dword [ebp - 4], 4
mov ecx, 1
test ecx, ecx
je 0x10009399
mov dword [ebp - 0x3c], 0x10
push 0x1001cce8
lea edx, [ebp - 0x3c]
push edx
call fcn.10010077
jmp 0x100093d5
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0
jbe 0x1000942b
mov dword [ebp - 4], 6
mov ecx, 1
test ecx, ecx
je 0x10009407
mov dword [ebp - 0x40], 0xf
push 0x1001cce8
lea edx, [ebp - 0x40]
push edx
call fcn.10010077
jmp 0x1000942b
mov dword [ebp - 4], 0xffffffff
jmp 0x1000923b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret