joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012ef0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x100dc96c], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x10012faa
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x100dc968], eax
inc ebx
cmp ebx, 0x100
jb 0x10012f10
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x10012fd6
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100dc968]
sub edi, 1
jne 0x10012fb5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10013008
nop dword [eax]
cmp cl, 0x23
jne 0x10012fef
cmp byte [esi], cl
jne 0x10012fef
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100dc968]
test cl, cl
jne 0x10012fe0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100138b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100138c2
mov dword [edi], 0
mov edx, 0x1006140c
call fcn.10013780
mov esi, eax
test esi, esi
jne 0x100138d6
pop edi
pop esi
pop ebp
ret
push ebx
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10013970
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10013970
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10013970
inc dword [0x100dc90c]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10013970
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebx
je 0x10013959
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp + 8]
dec dword [0x100dc90c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10013968
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x10019850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10066040]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], edi
xor ecx, ecx
mov dword [esp + 0x34], 0xe2ebedd4
mov dword [esp + 0x38], 0x100ffe8
lea eax, [ecx - 0x7d]
xor byte [esp + ecx + 0x34], al
inc ecx
cmp ecx, 6
jb 0x10019886
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0xe2ebedd4
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esp + 0x38], 0x100ffe8
nop dword [eax]
lea eax, [ecx - 0x7d]
xor byte [esp + ecx + 0x34], al
inc ecx
cmp ecx, 6
jb 0x100198b0
push 0
xor edx, edx
mov byte [esp + 0x3f], 0
lea ecx, [esp + 0x38]
call fcn.10012ef0
mov ecx, dword [edi + 0x2ca0]
lea esi, [edi + 0x2c9c]
mov dword [esp + 0x18], eax
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x18], 0x10019320
mov dword [esp + 0x1c], 0x10019390
mov dword [esp + 0x20], 0x10019520
test eax, eax
jne 0x1001994b
cmp eax, ecx
jne 0x1001992c
lea edi, [eax + 1]
test ecx, ecx
je 0x10019916
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001991b
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.100342e0
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + ecx*8 + 0x10], xmm0
jmp 0x100199aa
cmp eax, ecx
jne 0x10019977
lea edi, [eax + 1]
test ecx, ecx
je 0x10019961
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10019966
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.100342e0
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
test eax, eax
jle 0x10019994
mov ecx, dword [esi + 8]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push ecx
lea eax, [ecx + 0x18]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esi + 8]
movups xmm0, xmmword [esp + 0x10]
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + 0x10], xmm0
inc dword [esi]
mov ecx, dword [esp + 0x3c]
mov byte [edi], 1
pop edi
pop esi
xor ecx, esp
call fcn.1004c2e6
mov esp, ebp
pop ebp
ret
Function at 0x10019ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x100dc8f0]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [esi + 0x2c8c], 0
test eax, eax
je 0x10019d9c
push ebx
push edi
push 0
lea ecx, [esi + 0x2c90]
mov dword [esi + 0x2c8c], 0
call fcn.10033e30
lea eax, [ebp - 1]
mov byte [ebp - 1], 0
push eax
lea ecx, [esi + 0x2c90]
call fcn.10034040
xor ebx, ebx
cmp dword [esi + 0x2c9c], ebx
jle 0x10019d65
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x2ca4]
lea ecx, [esi + 0x2c90]
add eax, edi
push ecx
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
inc ebx
add esp, 0xc
add edi, 0x18
cmp ebx, dword [esi + 0x2c9c]
jl 0x10019d40
mov edi, dword [esi + 0x2c90]
mov edx, 0x10061410
mov ecx, dword [ebp - 8]
dec edi
mov ebx, dword [esi + 0x2c98]
call fcn.10013780
mov esi, eax
test esi, esi
je 0x10019d9a
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10039980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10066040]
xor eax, esp
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [0x100628f0]
push ebx
movups xmmword [esp + 8], xmm0
mov ebx, ecx
mov dword [esp + 0x28], 0xcdcbd6d7
movaps xmm0, xmmword [0x10062630]
xor ecx, ecx
push esi
push edi
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0xdecaee89
mov dword [esp + 0x38], 0x100aec6
nop dword [eax + eax]
mov al, cl
sub al, 0x7b
xor byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x2a
jb 0x100399d0
xor esi, esi
mov byte [esp + 0x3b], 0
cmp byte [esp + 0x10], 0
lea edx, [esp + 0x10]
je 0x10039a06
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100399f5
sub eax, edi
inc edx
add edx, eax
inc esi
cmp byte [edx], cl
jne 0x100399f0
push ecx
push esi
lea eax, [esp + 0x18]
mov edx, 0x100dcd74
push eax
push 0x1002d080
mov ecx, ebx
call fcn.1002d0e0
add esp, 0x10
test al, al
je 0x10039ab9
mov eax, dword [0x100dcd74]
cmp eax, 4
ja case.default.0x10039a33
jmp dword [eax*4 + 0x10039ad0]
xor ecx, ecx
call fcn.10043c50
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1004c2e6
mov esp, ebp
pop ebp
ret
call fcn.10044c70
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1004c2e6
mov esp, ebp
pop ebp
ret
call fcn.100445c0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1004c2e6
mov esp, ebp
pop ebp
ret
call fcn.10046190
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1004c2e6
mov esp, ebp
pop ebp
ret
call fcn.10045ae0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1004c2e6
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004c2e6
mov esp, ebp
pop ebp
ret
Function at 0x1003c8a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x1003c8c2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x33
jb 0x1003c8b0
mov byte [esi + 0x34], 0
pop esi
ret

Function at 0x1003c8d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x1003c8f2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x23
jb 0x1003c8e0
mov byte [esi + 0x24], 0
pop esi
ret

Function at 0x1003c900
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a5], 0
je 0x1003c927
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x1a4
jb 0x1003c910
mov byte [esi + 0x1a5], 0
pop esi
ret

Function at 0x1003c930
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x1003c952
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x2b
jb 0x1003c940
mov byte [esi + 0x2c], 0
pop esi
ret

Function at 0x1003c960
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x1003c982
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x1003c970
mov byte [esi + 0x22], 0
pop esi
ret

Function at 0x1003c990
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x1003c9b2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x1003c9a0
mov byte [esi + 0x1d], 0
pop esi
ret

Function at 0x1003c9c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5f], 0
je 0x1003c9e2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x5e
jb 0x1003c9d0
mov byte [esi + 0x5f], 0
pop esi
ret

Function at 0x1003c9f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x1003ca12
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x3b
jb 0x1003ca00
mov byte [esi + 0x3c], 0
pop esi
ret

Function at 0x1003ca20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x68], 0
je 0x1003ca42
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x67
jb 0x1003ca30
mov byte [esi + 0x68], 0
pop esi
ret

Function at 0x1003ca50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x41], 0
je 0x1003ca72
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x40
jb 0x1003ca60
mov byte [esi + 0x41], 0
pop esi
ret
Function at 0x1003ca80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x1003caa2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x1003ca90
mov byte [esi + 0x13], 0
pop esi
ret

Function at 0x1003cab0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x8b], 0
je 0x1003cad7
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x8a
jb 0x1003cac0
mov byte [esi + 0x8b], 0
pop esi
ret

Function at 0x1003cae0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x1003cb02
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x1003caf0
mov byte [esi + 0x2b], 0
pop esi
ret

Function at 0x1003cb10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x1003cb32
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax - 0x7b]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x1003cb20
mov byte [esi + 0x15], 0
pop esi
ret
Function at 0x1004acd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051806
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10066040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.1004ae00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004d350
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1004d500
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1004d41d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10066090]
jb 0x1004d39a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10066094]
ja 0x1004d39a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004d36a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1004d3c0
jmp 0x1004d41d
cmp dword [ebp - 0x14], 0x10000
jne 0x1004d403
cmp dword [ebp - 0x18], 0x10000
jb 0x1004d403
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004d3f6
mov eax, dword [ebp - 8]
jmp 0x1004d41f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004d418
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1004d500
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004d36a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1004d430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1004d530
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1004d4f5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10066090]
jb 0x1004d475
mov eax, dword [ebp - 4]
cmp eax, dword [0x10066094]
ja 0x1004d475
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004d445
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1004d49b
jmp 0x1004d4f5
cmp dword [ebp - 0x14], 0x10000
jne 0x1004d4de
cmp dword [ebp - 0x18], 0x10000
jb 0x1004d4de
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004d4d1
mov eax, dword [ebp - 8]
jmp 0x1004d4f7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004d4f0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1004d530
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004d445
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10103721
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10115b40], 0
mov byte [0x10115b44], 0
mov dword [0x10115b38], 0xdd8
mov dword [0x10115b34], 0x1867
mov dword [0x10115b3c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10103877
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x28]
add edi, 0xfffff22e
mov dword [0x10115b48], 0
mov ebx, dword [0x10115b40]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x10115b48], esi
mov dword [0x10115b34], edi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x10115b40], edx
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x10115b44], bl
mov dword [0x10115b34], 0x1300
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x10115b44]
mov ecx, dword [0x10115b40]
mov byte [edi + ecx], bl
mov ecx, dword [0x10115b38]
mov edx, ecx
add edx, 0xfffff3f9
mov dword [0x10115b34], edx
mov esi, dword [0x10115b3c]
add esi, 1
mov dword [0x10115b3c], esi
cmp esi, 0x100
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], edx
jl 0x10103775
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x10115b34], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, 0x1c52
mov dword [0x10115b34], 0x1c52
mov dword [0x10115b3c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x10103775
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10115b3c]
add eax, 1
mov dword [0x10115b3c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10103877
jmp 0x10103851
Function at 0x10104115
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10115b38], 0xbaf
mov dword [0x10115b34], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10104162
mov eax, dword [0x10115b38]
mov ecx, dword [ebp - 0x30]
add ecx, 0x2018
add eax, 0xfffff237
mov dword [0x10115b34], eax
mov dword [ebp - 0x34], ecx
jmp 0x10104266
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101053fc]
mov dh, byte [eax + 0x101053cd]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x10104162
lea eax, [ebp - 0x20]
mov dword [0x10115b38], 0x8c2
mov dword [0x10115b34], 0x2310
mov dword [ebp - 0x38], eax
call fcn.10103c4a
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.101034b1
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
je 0x10104266
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10115b34]
add ecx, 0xffffee8b
mov dword [0x10115b34], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x30], eax
call fcn.10103afe
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x10115b38], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10115b34], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x58], ecx
cmp ecx, 0
mov dword [ebp - 0x34], eax
jne 0x10104142
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop ebp
ret
Function at 0x101042fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1010474c
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x10115b34], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x10115b38], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1010443a
jmp 0x10104387
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10115b34], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x10115b38], 0x114b
mov dword [ebp - 0x24], edx
jmp 0x1010443a
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10104405
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x42]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x3c], edx
jne 0x101043b3
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10104353
jmp 0x10104412
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x28]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
jb 0x10104399
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret