joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100255ac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x10025634
cmp dword [ebp + 8], 0
je 0x10025634
test edi, edi
jne 0x100255d9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + edi*4]
cmovb esi, ebx
push esi
push 4
push eax
call fcn.100800b4
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x10025611
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x100255dd
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x10025630
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.1000191a
add esp, 0xc
mov eax, esi
jmp 0x100255d2
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x100f1de8
mov ecx, 0x100b9a92
cmovbe eax, ecx
push eax
call fcn.10025ce3
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100014fe
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x100fcb88
push eax
call fcn.10070ee7
int3

Function at 0x10025672
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x100256fa
cmp dword [ebp + 8], 0
je 0x100256fa
test edi, edi
jne 0x1002569f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + edi*4]
cmovb esi, ebx
push esi
push 4
push eax
call fcn.100800b4
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x100256d7
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x100256a3
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x100256f6
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.1000191a
add esp, 0xc
mov eax, esi
jmp 0x10025698
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x100f1de8
mov ecx, 0x100b9a92
cmovbe eax, ecx
push eax
call fcn.100017a7
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100014fe
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x100fcb88
push eax
call fcn.10070ee7
int3
Function at 0x10025738
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x100257be
cmp dword [ebp + 8], 0
je 0x100257be
test edi, edi
jne 0x10025765
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
lea eax, [ebx + ebx]
mov esi, 0x1f80000
cmp eax, 0x3f00000
lea eax, [ecx + edi*2]
cmovb esi, ebx
push esi
push 2
push eax
call fcn.100800b4
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1002579b
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x10025769
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x100257ba
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.1000191a
add esp, 0xc
mov eax, esi
jmp 0x1002575e
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x100f1de8
mov ecx, 0x100b9a92
cmovbe eax, ecx
push eax
call fcn.1000179b
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100014fe
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x100fcb88
push eax
call fcn.10070ee7
int3

Function at 0x100257fc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x10025884
cmp dword [ebp + 8], 0
je 0x10025884
test edi, edi
jne 0x10025829
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0x7e0000
shl eax, 3
cmp eax, 0x3f00000
lea eax, [ecx + edi*8]
cmovb esi, ebx
push esi
push 8
push eax
call fcn.100800b4
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x10025861
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x1002582d
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x10025880
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.1000191a
add esp, 0xc
mov eax, esi
jmp 0x10025822
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x100f1de8
mov ecx, 0x100b9a92
cmovbe eax, ecx
push eax
call fcn.100017b9
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100014fe
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x100fcb88
push eax
call fcn.10070ee7
int3
Function at 0x100258e5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1002596d
cmp dword [ebp + 8], 0
je 0x1002596d
test edi, edi
jne 0x10025912
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0xfc0000
shl eax, 2
cmp eax, 0x3f00000
lea eax, [ecx + edi*4]
cmovb esi, ebx
push esi
push 4
push eax
call fcn.100800b4
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x1002594a
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x10025916
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x10025969
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.1000191a
add esp, 0xc
mov eax, esi
jmp 0x1002590b
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x100f1de8
mov ecx, 0x100b9a92
cmovbe eax, ecx
push eax
call fcn.100017bf
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100014fe
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x100fcb88
push eax
call fcn.10070ee7
int3

Function at 0x100259db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x10025a63
cmp dword [ebp + 8], 0
je 0x10025a63
test edi, edi
jne 0x10025a08
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0x7e0000
shl eax, 3
cmp eax, 0x3f00000
lea eax, [ecx + edi*8]
cmovb esi, ebx
push esi
push 8
push eax
call fcn.100800b4
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x10025a40
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x10025a0c
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x10025a5f
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.1000191a
add esp, 0xc
mov eax, esi
jmp 0x10025a01
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x100f1de8
mov ecx, 0x100b9a92
cmovbe eax, ecx
push eax
call fcn.100017ad
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100014fe
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x100fcb88
push eax
call fcn.10070ee7
int3
Function at 0x10025aa1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov dword [esp + 4], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x10025b29
cmp dword [ebp + 8], 0
je 0x10025b29
test edi, edi
jne 0x10025ace
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edi
xor edi, edi
push dword [ebp + 8]
mov eax, ebx
mov esi, 0x7e0000
shl eax, 3
cmp eax, 0x3f00000
lea eax, [ecx + edi*8]
cmovb esi, ebx
push esi
push 8
push eax
call fcn.100800b4
add esp, 0x10
add edi, eax
sub ebx, eax
cmp esi, eax
jne 0x10025b06
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x10025ad2
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x10025b25
push edi
push esi
push str.cimg::fread__:_Only__lu__lu_elements_could_be_read_from_file.
call fcn.1000191a
add esp, 0xc
mov eax, esi
jmp 0x10025ac7
push ecx
push dword [ebp + 8]
cmp edi, 1
mov eax, 0x100f1de8
mov ecx, 0x100b9a92
cmovbe eax, ecx
push eax
call fcn.100017b3
push eax
push edi
lea eax, [esp + 0x2c]
push str.cimg::fread__:_Invalid_reading_request_of__u__s_s_from_file__p_to_buffer__p.
push eax
call fcn.100014fe
add esp, 0x1c
lea eax, [esp + 0x18]
push 0x100fcb88
push eax
call fcn.10070ee7
int3
Function at 0x10043c80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
movzx ebp, ax
xor eax, eax
mov esi, ebp
push edi
shr esi, 8
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x20], eax
jbe 0x10043ce1
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x10043ce1
jne 0x10043cd8
cmp eax, edx
jge 0x10043cd8
mov ecx, dword [esp + 0x18]
movzx esi, cl
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x10043d09
inc eax
cmp eax, edx
jl 0x10043cc6
mov esi, dword [esp + 0x10]
inc edi
mov eax, edx
cmp edi, dword [esp + 0x20]
jb 0x10043ca3
mov edi, dword [esp + 0x2c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x10043d1f
mov esi, dword [esp + 0x28]
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x10043d11
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x10043d13
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov edx, ecx
sub ebp, edx
js 0x10043d1f
inc eax
xor bl, 1
cmp eax, edi
jb 0x10043cf1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x10051180
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x2c]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
movlpd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push edi
mov edi, 0xff
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x10], eax
xor ebp, edx
xor edi, ebx
mov ebx, dword [esp + 0x14]
xor ecx, esi
xor ebx, dword [esp + 0x10]
mov eax, ebp
mov ebp, dword [esp + 0x38]
xor esi, ebx
xor edx, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov dword [ebp + 4], esi
mov esi, dword [esp + 0x18]
mov dword [ebp], edx
xor esi, eax
mov edx, dword [esp + 0x14]
mov dword [ebp + 8], esi
xor edx, ecx
mov dword [ebp + 0xc], edx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
shld dword [esp + 0x10], ebp, 0x11
xor dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], edi
shl dword [esp + 0x10], 0xd
shrd edi, ebx, 0x13
shl ebp, 0x11
xor ebp, eax
mov dword [esp + 0x14], 0
or dword [esp + 0x14], edi
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
shr ebx, 0x13
or edi, ebx
mov dword [esp + 0x18], esi
sub dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [eax + 0x1c], edi
mov edi, esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ebx
jne 0x100511c5
push dword [esp + 0x40]
mov esi, dword [esp + 0x38]
push dword [esp + 0x40]
push esi
call fcn.10045e10
push dword [esp + 0x54]
push dword [esp + 0x54]
push esi
call fcn.10045e10
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10053ce0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x100fe040]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov ebx, dword [esp + 0x228]
push ebp
push esi
push edi
mov edi, dword [esp + 0x230]
push edi
call fcn.10045920
push ebx
mov esi, eax
call fcn.100847d1
add esp, 8
sub esi, 1
jne 0x10053d37
push 1
push ebx
push edi
call fcn.10054410
mov ebp, dword [esp + 0x244]
add esp, 0xc
mov esi, eax
inc ebp
jmp 0x10053ebe
push str.too_many_arguments
lea eax, [esi + 0x14]
push eax
push edi
call fcn.10048210
mov ebp, dword [esp + 0x244]
mov eax, 1
add esp, 0xc
mov dword [esp + 0x10], eax
nop dword [eax]
dec esi
mov dword [esp + 0x14], esi
test eax, eax
je 0x10053eba
push ebp
push edi
call fcn.100468f0
add esp, 8
cmp eax, 3
jne 0x10053e02
push ebp
push edi
call fcn.10048060
mov esi, eax
add esp, 8
test esi, esi
jne 0x10053dbe
push ebx
call fcn.10076495
mov esi, eax
push ebx
push esi
call fcn.10085272
push 0x100b9a92
push edi
call fcn.10045ee0
xor eax, eax
add esp, 0x14
cmp esi, 0xffffffff
mov esi, dword [esp + 0x14]
setne al
jmp 0x10053ead
lea eax, [esp + 0x18]
push eax
push edi
call fcn.10047fc0
lea eax, [esp + 0x20]
push esi
push eax
call fcn.10048c30
push ebx
push esi
push 1
push eax
call fcn.100800b4
mov esi, eax
lea eax, [esp + 0x38]
add dword [esp + 0x40], esi
push eax
call fcn.10048c50
xor eax, eax
add esp, 0x24
cmp eax, esi
mov esi, dword [esp + 0x14]
sbb eax, eax
neg eax
jmp 0x10053ead
push 0
push ebp
push edi
call fcn.100480d0
add esp, 0xc
mov cl, byte [eax]
cmp cl, 0x2a
jne 0x10053e18
mov cl, byte [eax + 1]
movsx eax, cl
add eax, 0xffffffb4
cmp eax, 0x22
ja case.0x10053e2e.77
movzx eax, byte [eax + 0x10053f38]
jmp dword [eax*4 + 0x10053f24]
push ebx
push edi
call fcn.10054530
add esp, 8
jmp 0x10053ead
push 1
push ebx
push edi
call fcn.10054410
add esp, 0xc
jmp 0x10053ead
push 0
push ebx
push edi
call fcn.10054410
add esp, 0xc
jmp 0x10053ead
lea eax, [esp + 0x18]
push eax
push edi
call fcn.10047fc0
add esp, 8
nop dword [eax + eax]
lea eax, [esp + 0x18]
push 0x200
push eax
call fcn.10048c30
push ebx
push 0x200
push 1
push eax
call fcn.100800b4
add dword [esp + 0x38], eax
add esp, 0x18
cmp eax, 0x200
je 0x10053e70
lea eax, [esp + 0x18]
push eax
call fcn.10048c50
add esp, 4
mov eax, 1
inc ebp
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10053d60
mov esi, dword [esp + 0x10]
push ebx
call fcn.1008119c
add esp, 4
test eax, eax
je 0x10053eeb
push 0
push 0
push edi
call fcn.100484c0
add esp, 0xc
jmp 0x10053f09
push str.invalid_format
push ebp
push edi
call fcn.10047e90
add esp, 0xc
jmp 0x10053f09
test esi, esi
jne 0x10053f00
push 0xfffffffffffffffe
push edi
call fcn.100464d0
push edi
call fcn.10045eb0
add esp, 0xc
sub ebp, dword [esp + 0x238]
mov eax, ebp
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006effe
add esp, 0x21c
ret
Function at 0x10056aa0
Capabilities:
Check http status code

Disassembly:
sub esp, 0xd8
mov eax, dword [0x100fe040]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xe8]
lea eax, [esp + 8]
push esi
push edi
mov edi, dword [esp + 0xec]
push eax
push edi
call fcn.10055fb0
mov esi, eax
add esp, 8
test esi, esi
je 0x10056af4
mov ecx, dword [esp + 0x10]
sub esi, edi
mov edx, dword [esp + 0x14]
mov al, 3
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov byte [ebp + 8], al
lea eax, [esi + 1]
jmp 0x10056b13
push 0x100a8348
push edi
call fcn.10082a10
add esp, 8
test eax, eax
je 0x10056b2c
movzx ebx, byte [eax]
or ebx, 0x20
cmp ebx, 0x6e
jne 0x10056b2e
xor eax, eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006effe
add esp, 0xd8
ret
xor ebx, ebx
push ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.10055f60
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10056bcb
push 0x2e
push edi
call fcn.10070c80
mov esi, eax
add esp, 8
test esi, esi
je 0x10056b11
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056b60
sub ecx, edx
cmp ecx, 0xc8
ja 0x10056b11
lea edx, [esp + 0x18]
mov ecx, edi
sub edx, edi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10056b80
call fcn.10080b10
sub esi, edi
push ebx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + esi + 0x1c], al
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10055f60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10056b11
mov eax, edi
lea ecx, [esp + 0x18]
sub eax, ecx
add esi, eax
test esi, esi
je 0x10056b11
movsd xmm0, qword [esp + 0x10]
sub esi, edi
mov al, 0x13
movsd qword [ebp], xmm0
mov byte [ebp + 8], al
lea eax, [esi + 1]
jmp 0x10056b13
Function at 0x1005ad30
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x10], al
mov esi, dword [edi]
cmp esi, dword [esp + 0x18]
je 0x1005aeb3
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x24]
nop word [eax + eax]
mov cl, byte [esi + 5]
test cl, 0x18
je 0x1005ae68
mov eax, dword [esi]
mov dword [edi], eax
movzx eax, byte [esi + 4]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x1005ad87.11
movzx eax, byte [eax + 0x1005aee0]
jmp dword [eax*4 + 0x1005aeb8]
push esi
push ebx
call fcn.10058670
add esp, 8
jmp case.0x1005ad87.11
lea eax, [esi + 0x10]
cmp dword [esi + 8], eax
je 0x1005adae
push esi
call fcn.10058960
add esp, 4
push 0x20
push esi
push ebx
call fcn.10064e60
add esp, 0xc
jmp case.0x1005ad87.11
movzx eax, byte [esi + 6]
lea eax, [eax*4 + 0x10]
push eax
push esi
push ebx
call fcn.10064e60
add esp, 0xc
jmp case.0x1005ad87.11
movzx eax, byte [esi + 6]
inc eax
shl eax, 4
push eax
push esi
push ebx
call fcn.10064e60
add esp, 0xc
jmp case.0x1005ad87.11
push esi
push ebx
call fcn.1005c3d0
add esp, 8
jmp case.0x1005ad87.11
push esi
push ebx
call fcn.10051460
add esp, 8
jmp case.0x1005ad87.11
movzx eax, word [esi + 6]
test ax, ax
jne 0x1005ae20
mov ecx, 0x10
jmp 0x1005ae28
mov ecx, eax
shl ecx, 4
add ecx, 0x18
mov eax, dword [esi + 8]
add eax, ecx
push eax
push esi
push ebx
call fcn.10064e60
add esp, 0xc
jmp case.0x1005ad87.11
push esi
push ebx
call fcn.1005bea0
movzx eax, byte [esi + 7]
add eax, 0x11
push eax
push esi
push ebx
call fcn.10064e60
add esp, 0x14
jmp case.0x1005ad87.11
mov eax, dword [esi + 0xc]
add eax, 0x11
push eax
push esi
push ebx
call fcn.10064e60
add esp, 0xc
jmp case.0x1005ad87.11
test cl, 7
jne 0x1005ae7c
and cl, 0xc1
and al, 0x18
or cl, al
or cl, 1
mov byte [esi + 5], cl
jmp 0x1005ae9f
movzx eax, cl
and cl, 0xf8
and eax, 7
or cl, byte [eax + 0x100a854c]
mov byte [esi + 5], cl
and cl, 7
cmp cl, 3
jne 0x1005ae9f
cmp dword [ebp], 0
jne 0x1005ae9f
mov dword [ebp], esi
mov edi, esi
mov esi, dword [edi]
mov al, byte [esp + 0x18]
cmp esi, dword [esp + 0x20]
jne 0x1005ad60
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x1005bbb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor eax, dword [esp + 0x10]
test esi, esi
je 0x1005bbdf
push edi
mov edi, dword [esp + 0xc]
movzx edx, byte [edi + esi - 1]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub esi, 1
jne 0x1005bbc4
pop edi
pop esi
ret
Function at 0x10074dba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10070640
mov eax, dword [0x100fe040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1007966e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10074dfc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10074f58
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1006fa00
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100ffc70]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1008a7c8
mov ecx, dword [esi*4 + 0x100ffc70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10074f51
cmp eax, dword [ecx + edi + 0x24]
jne 0x10074f51
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10074f51
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008a7c8
add esp, 0x14
test edx, edx
jl 0x10074f51
jg 0x10074ec7
test eax, eax
jb 0x10074f51
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10074f51
jl 0x10074ee1
cmp dword [ebp - 0x1008], eax
ja 0x10074f51
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10074eff
test ebx, ebx
je 0x10074f38
cmp ecx, edi
jae 0x10074f38
mov al, byte [ecx]
cmp al, 0xd
jne 0x10074f19
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10074f25
cmp byte [ecx + 1], 0xa
jne 0x10074f25
inc ecx
jmp 0x10074f25
movzx eax, al
movsx eax, byte [eax + 0x100fe2d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10074eff
cmp edx, ebx
jne 0x10074eff
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10074f56
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006effe
leave
ret

Function at 0x10081e8b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10081eca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10081eca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10081eca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10081eca
cmp dword [ecx + 0x74], 0xe
jbe 0x10081eca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret