joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd2beffe
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 0xd2bf020
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 0xd2bf1c2
cmp edi, dword [ebp + 0x10]
jb 0xd2bf1c2
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.0d2beaea
inc edi
jmp 0xd2bf0a9
jmp 0xd2bf0b6
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0d2beaea
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0d2beaea
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 0xd2bf10a
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 0xd2bf0ee
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0d2bf138
add dword [eax], 0x39
jle 0xd2bf114
sub al, 0xf5
mov ch, al
call fcn.0d2bf14d
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0xd2c0e25
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 0xd2c0e3b
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 0xd2c0e4c
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0d2c0e8d
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 0xd2c31f9
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 0xd2c3142
add ebx, 0
push ecx
call 0xd2c3157
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, 0xe1a284
sub ebx, dword [0xe39ac3]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0xe39ab3
call fcn.0d2bec21
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0d2be12f
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0xd2c32b5
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0xd2c32b5
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 0xd2c326c
mov eax, 1
lock xchg dword [0xe39abf], eax
push 0x3dd1fc71
call 0xd2c31f9
push esi
add esp, 8
cmp eax, 0
jne 0xd2c31e2
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0xd2c3208
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0xd2c321d
cmp ecx, edx
cmp eax, 0
je 0xd2c3242
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 0xd2c322c
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0d2c325b
dec eax
loope 0xd2c325e
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0xe39abf], 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 0xd2c3292
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0xd2c32a7
jmp 0xd2c32b2
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0xd2c31a0

Function at 0xd2ca31a
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 0xd2ca5f0
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0xe26737
add esp, 0x2e
sub esp, 4
mov dword [esp], 0xe1d6fd
push 0xffffffffffffffff
call fcn.0d2c151a
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 0xd2ca384
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.0d2ca39c
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 0xd2ca5e4
xor eax, 0
ret 4
xor ecx, ecx
jmp 0xd2ca5b8
Function at 0xd2d9dea
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 0xd2d9e0c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xd2d9e0c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xd2d9e0c
ret
cmp word [ebx + 4], 0x14c
jne 0xd2d9e0c
test word [ebx + 0x16], 2
je 0xd2d9e0c
test word [ebx + 0x16], 0x100
je 0xd2d9e0c
cmp word [ebx + 0x18], 0x10b
jne 0xd2d9e0c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xd2d9e0c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xd2d9e98
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xd2d9e2c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0d2c0d77
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xd2d9e0c
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 0xd2d9e98
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 0xd2d9e0c
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0xd2d9e0c
add ebx, eax
cmp dword [ebx], 0x4550
jne 0xd2d9e0c
ret
cmp word [ebx + 4], 0x14c
jne 0xd2d9e0c
test word [ebx + 0x16], 2
je 0xd2d9e0c
test word [ebx + 0x16], 0x100
je 0xd2d9e0c
cmp word [ebx + 0x18], 0x10b
jne 0xd2d9e0c
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0xd2d9e0c
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0xd2d9e98
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0xd2d9e2c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0d2c0d77
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0xd2d9e0c
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 0xd2d9f4f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xd2d9fa8
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xd2d9f4f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xd2d9f5e
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 0xd6dfc01
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 0xd2d9faf
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.0d2c0e25
cmp eax, dword [ebp + 0xc]
pop eax
je 0xd2da04e
add edi, 4
add eax, 2
dec ecx
jne 0xd2d9f94
call 0xd2d9ffb
loope 0xd2d9ff1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xd2da04b
mov dh, pe_nt_image_headers32
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 0xd2da05c
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 0xd2da00f
cmp eax, ecx
ja 0xd2da00f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xd2da099
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xd2da08f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0d2c1304
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0xd2d9f5e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xd2d9fa8
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xd2d9f4f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xd2d9f5e
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 0xd6dfc01
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 0xd2d9faf
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.0d2c0e25
cmp eax, dword [ebp + 0xc]
pop eax
je 0xd2da04e
add edi, 4
add eax, 2
dec ecx
jne 0xd2d9f94
call 0xd2d9ffb
loope 0xd2d9ff1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xd2da04b
mov dh, pe_nt_image_headers32
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 0xd2da05c
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 0xd2da00f
cmp eax, ecx
ja 0xd2da00f
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xd2da099
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xd2da08f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0d2c1304
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0xda0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00da01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xda007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xda006a
add dl, dl
jne 0xda0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xda00dc
xor eax, eax
add dl, dl
jne 0xda0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xda017d
add dl, dl
jne 0xda00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xda00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xda00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xda00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xda00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xda0075
mov eax, 1
add dl, dl
jne 0xda00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xda00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xda00e1
sub eax, ebx
mov ebx, 1
jne 0xda0128
mov ecx, 1
add dl, dl
jne 0xda010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xda0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xda0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xda0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xda013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xda014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xda0136
cmp eax, 0x7d00
jae 0xda016d
cmp eax, 0x500
jb 0xda0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xda0075
cmp eax, 0x7f
ja 0xda0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xda0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xda019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xda0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

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

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebx, ebx
inc ebx
push esi
mov edi, ebx
call fcn.01005c50
test eax, eax
jne 0x100484f
mov eax, ebx
jmp 0x10048aa
cmp dword [0x100ac3c], 0
jne 0x100489c
test byte [0x100b898], bl
jne 0x100489c
push 6
push 0
push 0x1003869
push dword [0x100aa4c]
mov dword [0x100ae64], esi
push 0x7d3
push dword [0x100b4a4]
call fcn.01004c44
sub eax, 6
je 0x100489a
dec eax
je 0x10048b0
sub eax, 0x832
jne 0x100489c
mov dword [0x100ac3c], ebx
mov edi, ebx
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
xor edi, edi
jmp 0x10048a8

Function at 0x1004c44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1004c53
pop dword [ebp - 0x44]
mov eax, 0x27ce24f4
sub eax, 0x26cdd8a1
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x7e2d7335
sub dword [ebp - 0x54], 0x2fdb2dea
mov dword [ebp - 0x50], 0x320cc626
sub dword [ebp - 0x50], 0xffd979e1
mov dword [ebp - 0x4c], 0x44473b5f
add dword [ebp - 0x4c], 0x80508cf
mov dword [ebp - 0x48], 0x7b1ff9f
add dword [ebp - 0x48], 0xf84e0061
lea eax, [ebp - 0x54]
push eax
mov eax, 0x6e41e21b
add eax, 0x92be2f39
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x419f921b
sub dword [ebp - 0x54], 0xcd2d28c5
mov dword [ebp - 0x50], 0xc756840f
add dword [ebp - 0x50], 0x7a15dd66
mov dword [ebp - 0x4c], 0xfe42a416
add dword [ebp - 0x4c], 0x652cc856
mov dword [ebp - 0x48], 0xea2c76b7
sub dword [ebp - 0x48], 0xea2c76b7
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xf91762a9
sub eax, 0xf81751e9
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3419f
push 0
call eax
mov ecx, 0xe95e20bd
sub ecx, 0xe95de56e
mov ebx, eax
mov edx, 0xfcb16738
sub edx, 0xfba30738
add edx, dword [ebp - 0x44]
mov edi, 0xad3f04d0
mov dword [ebp - 0xc], 0x5ff6024b
mov esi, dword [edx]
add dword [ebp - 0x14], ecx
sub esi, edi
xor dword [ebp - 0x14], 0x993a0620
mov dword [ebx], esi
xor dword [ebp - 0x28], 0x1b3d39dd
add ebx, 0x493162da
add ebx, 0xb6ce9d2a
add edx, 4
loop 0x1004d6f
add eax, 0xe00f
mov ebx, eax
add eax, 0x2e45daa4
sub eax, 0x2e45da9f
mov ecx, 0x59421bab
sub ecx, 0x58421bab
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x40de97
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x40f010
call fcn.0040ea30
push 1
call fcn.0040df25
pop ecx
test al, al
je 0x40de81
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040def3
mov byte [ebp - 0x24], al
mov eax, dword [0x410140]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40de81
test eax, eax
jne 0x40dd9f
mov dword [0x410140], ecx
push 0x401040
push 0x40102c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40dd82
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40de71
push 0x401028
push section..text
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x410140], 2
jmp 0x40dda4
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040e07c
pop ecx
call fcn.0040e7f4
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40ddd5
push esi
call fcn.0040dfe8
pop ecx
test al, al
je 0x40ddd5
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x42524c]
call esi
call fcn.0040e7fa
mov esi, eax
cmp dword [esi], edi
je 0x40ddf3
push esi
call fcn.0040dfe8
pop ecx
test al, al
je 0x40ddf3
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.0040e920
test al, al
je 0x40de88
test bl, bl
jne 0x40de26
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.0040e099
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40de71
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0040e800
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.004b7000
jmp 0x40dd15
Function at 0x100027ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.10008a40
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10002816
push 6
call fcn.100085f5
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002889
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.10008a40
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000287f
push 6
call fcn.100085f5
add esp, 4
jmp 0x10002891
mov eax, dword [ebp - 4]
jmp 0x10002891
mov esp, ebp
pop ebp
ret 8
Function at 0x10009080
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x10009096
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
ret
or eax, 0xffffffff
ret

Function at 0x100090a0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push eax
push 0x202
xor esi, esi
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x100090f8
mov ecx, dword [esp + 0x19c]
push ecx
call fcn.10009080
add esp, 4
cmp eax, 0xffffffff
je 0x100090f3
push edi
push eax
call sub.WS2_32.dll_inet_ntoa
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.1000ae40
add esp, 8
mov esi, eax
pop edi
call sub.WS2_32.dll_WSACleanup
mov eax, esi
pop esi
add esp, 0x190
ret
Function at 0x10009bd0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1010
call fcn.1000c260
mov eax, dword [esp + 0x1014]
push ebx
push ebp
mov ebp, dword [esp + 0x1020]
push esi
push edi
xor edi, edi
push 1
push edi
push edi
push eax
mov dword [ebp], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x10009cd2
jmp 0x10009c0f
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x1024]
xor esi, esi
lea ecx, [esp + 0x18]
push esi
push ecx
lea edx, [esp + 0x28]
push 0x1000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10009cef
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], esi
cmp eax, esi
jbe 0x10009c5b
mov cl, byte [esp + esi + 0x20]
test cl, cl
je 0x10009c52
inc esi
cmp esi, eax
jb 0x10009c43
jmp 0x10009c5b
inc esi
mov dword [esp + 0x14], 1
mov eax, dword [ebp]
mov ebx, edi
add edi, esi
test eax, eax
mov dword [esp + 0x1c], edi
je 0x10009c77
inc edi
push edi
push eax
call fcn.100087c0
add esp, 8
jmp 0x10009c81
inc edi
push edi
call fcn.10008770
add esp, 4
mov edi, eax
lea ecx, [esp + 0x20]
add edi, ebx
push esi
push ecx
push edi
mov dword [ebp], eax
call sub.MSVCRT.dll_strncpy
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov byte [edi + esi], 0
jne 0x10009d08
cmp dword [esp + 0x18], 0x1000
jb 0x10009d3b
mov edx, dword [esp + 0x1024]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x10009c0b
mov eax, dword [esp + 0x102c]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
add esp, 0x1010
ret
mov ecx, dword [esp + 0x102c]
pop edi
mov eax, 1
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x1010
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1024]
push 0
add esi, edx
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x102c]
pop edi
pop esi
pop ebp
mov dword [ecx], 1
xor eax, eax
pop ebx
add esp, 0x1010
ret
mov edx, dword [esp + 0x102c]
pop edi
pop esi
pop ebp
mov dword [edx], 1
mov eax, 1
pop ebx
add esp, 0x1010
ret

Function at 0x10009d60
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edi
mov dword [esi], 0
call ebx
test eax, eax
je 0x10009dec
cmp dword [esp + 0x14], 4
jb 0x10009dec
mov edx, dword [esp + 0x10]
add edx, 8
push edx
call fcn.10008770
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esi], eax
push 0
push ecx
add eax, 8
push edx
push eax
push edi
call ebx
test eax, eax
je 0x10009ddb
mov esi, dword [esi]
mov dword [esi], 1
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x10]
jne 0x10009dec
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esi]
push edx
call fcn.10008800
add esp, 4
mov dword [esi], 0
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x1000a4c0
Capabilities:
Get file size

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x1000a4ce
or eax, 0xffffffff
pop esi
ret
push esi
call fcn.1000bb00
add esp, 4
test eax, eax
jne 0x1000a4e0
or eax, 0xffffffff
pop esi
ret
mov ecx, dword [esi]
or eax, 0xffffffff
cmp ecx, 1
jne 0x1000a4fb
mov esi, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
pop esi
ret
cmp ecx, 2
jne 0x1000a508
mov ecx, dword [esi + 4]
call fcn.1000baf0
pop esi
ret