joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40269d
Capabilities:
Encode data using xor

Disassembly:
pushal
lea ecx, [0xf2dfe0a8]
mov eax, 0x200b924d
xadd dl, bh
mov ch, dh
xadd ah, bl
mov al, bl
shld eax, ebp, 0xba
test ah, bh
movzx eax, bh
not edx
shld esi, ebx, 0x4a
test dh, ah
call 0x402661
shrd edx, eax, cl
mov ecx, 0x6503cb87
btc ebp, ebp
mov ecx, 0xb1353625
bswap edx
rcr dl, 0x60
cmp esi, eax
rcl edx, 0xc1
dec edx
bsf esi, ebx
test bh, 0xa8
inc bl
mov edx, ecx
mov ebx, edx
mov dh, bh
mov eax, 0x539b
imul esi, ebp, 0xa87d74d0
and dh, ch
mov bl, dl
xor eax, 0x4b5f
dec ebx
add byte [eax], al
test ecx, 0x1ce4b73c
sub eax, 0x6e0
neg bh
mov ecx, 0
mov dh, 0x80
add ecx, eax
inc dl
add al, bh
lea edx, [0xca71ca7e]
xchg ecx, edi
cmp esi, 0x9aaa
jae 0x4026cc
add dh, dl
sub edi, 0x13d

Function at 0xd810b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d81200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd810d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd810c2
add dl, dl
jne 0xd810e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd81134
xor eax, eax
add dl, dl
jne 0xd810ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd811d5
add dl, dl
jne 0xd810fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd81108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd81113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8111e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd8112a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd810cd
mov eax, 1
add dl, dl
jne 0xd81142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8114d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd81139
sub eax, ebx
mov ebx, 1
jne 0xd81180
mov ecx, 1
add dl, dl
jne 0xd81166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd81171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8115d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd810cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd81197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd811a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8118e
cmp eax, 0x7d00
jae 0xd811c5
cmp eax, 0x500
jb 0xd811c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd810cd
cmp eax, 0x7f
ja 0xd811c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd810cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd811f6
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 0xd810cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401843
Capabilities:
Terminate process

Disassembly:
jmp 0x41a80b
push 0x14
push 0x4264b8
call fcn.004012c1
push 1
call fcn.004012bc
pop ecx
test al, al
je 0x41a723
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004018b1
mov byte [ebp - 0x24], al
mov eax, dword [0x42878c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41a723
test eax, eax
jne 0x41a641
mov dword [0x42878c], ecx
push 0x41d618
push 0x41d30c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41a624
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41a713
push 0x41d208
push section..rdata
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x42878c], 2
jmp 0x41a646
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040114a
pop ecx
call fcn.00401415
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41a677
push esi
call fcn.0040147e
pop ecx
test al, al
je 0x41a677
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [section..00cfg]
call esi
call fcn.004015c8
mov esi, eax
cmp dword [esi], edi
je 0x41a695
push esi
call fcn.0040147e
pop ecx
test al, al
je 0x41a695
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___p___argv
mov edi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov esi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
push eax
push edi
push dword [esi]
call fcn.004016b3
add esp, 0xc
mov esi, eax
call fcn.00401497
test al, al
je 0x41a72a
test bl, bl
jne 0x41a6c8
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.0040162c
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41a713
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004016f9
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.00567000
jmp 0x41a5b7
Function at 0x10075abf
Capabilities:
Enumerate pe sections

Disassembly:
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10075af4

Function at 0x100760fb
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1007612d
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10076128
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], al
add byte [eax], al
jne 0x10076112
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1007611a
cmp edx, ebx
jne 0x10076268
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100760e9
add eax, dword [eax + 4]
jmp 0x100760d6
mov dword [ebp + 0xc], ebx
jmp 0x10076138
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10076150
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1007616e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100761cc
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100761b3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100761bc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100761c6
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100761a8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10076132
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10076219
dec eax
je 0x10076210
sub eax, 3
je 0x10076207
mov dword [ebp - 4], 0x40
jmp 0x10076236
mov dword [ebp - 4], 4
jmp 0x1007621c
mov dword [ebp - 4], 0x20
jmp 0x1007621c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10076268
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100761e8
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10075a79
outsd dx, dword [esi]
mov dword [edx + 0x1475ff52], edx
push 1
push esi
call edi
mov eax, esi
jmp 0x10076274
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.004082e9
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.004082e9
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.004082e9
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.004082e9
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.004082e9
mov dword [0x41203c], eax
call fcn.004082e9
test eax, eax
jge 0x402550
push 8
call fcn.004082e9
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.004082e9
pop ecx
push 1
call fcn.004082e9
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.004082e9
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.004082e9
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.004082e9
jmp 0x402495

Function at 0x4082e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x4082f8
pop dword [ebp - 0x4c]
mov eax, 0x853af7e3
add eax, 0x7b058b15
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x34746
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xff6c71a1
sub ecx, 0xff6c3cbc
mov esi, eax
mov edi, 0x629b3afb
add edi, 0x9da600c9
add edi, dword [ebp - 0x4c]
mov ebx, 0xa45084c
sub ebx, 0x3f95db6f
xor dword [ebp - 0xc], ecx
mov edx, dword [edi]
add edx, ebx
add dword [ebp - 0x24], ecx
mov dword [esi], edx
xor dword [ebp - 0xc], 0x631e0018
add esi, 0xaecbd94
add esi, 0xf5134270
add edi, 0xf5cfeaa3
sub edi, 0xf5cfea9f
loop 0x408352
add eax, 0xc667
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x944c4ebf
sub ecx, 0x940c4ebf
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1013dda1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10180a30], 0
mov byte [0x10180a34], 0
mov dword [0x10180a2c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1013de94
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10180a38], 0
mov edx, dword [0x10180a30]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10180a38], edi
mov dword [0x10180a28], 0x16c0
mov eax, edi
cdq
idiv ecx
mov dword [0x10180a30], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10180a34], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10180a34]
mov edx, dword [0x10180a30]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10180a2c]
add edx, 1
mov dword [0x10180a2c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1013dde1
jmp 0x1013dec6
xor eax, eax
mov dword [0x10180a2c], 0
mov dword [ebp - 0x20], eax
jmp 0x1013dde1
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10180a28], 0x2469
mov eax, dword [0x10180a2c]
add eax, 1
mov dword [0x10180a2c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1013de94
jmp 0x1013de80
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1013e1da
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
lea esi, [ebp - 0x2c]
mov edi, dword [0x10180a28]
mov ebx, edi
add ebx, 0x24c6
mov dword [0x10180a24], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edx
jmp 0x1013e21e
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x40]
mov cl, byte [eax + 0x10140343]
mov dl, byte [eax + 0x10140314]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x40], eax
jne 0x1013e21e
mov eax, dword [ebp - 0x38]
add eax, 0xffff0b38
mov dword [0x10180a28], eax
mov dword [0x10180a24], 0xec8
call fcn.1013efdb
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.1013db17
xor ecx, ecx
mov dword [0x10180a24], 0x753
cmp eax, 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
je 0x1013e213
mov eax, dword [ebp - 0x48]
mov dword [0x10180a24], 0xdeb
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 dword [0x10180a28], 0x228e
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x4c], eax
call fcn.1013dc90
xor eax, eax
mov ecx, dword [0x10180a28]
add ecx, 0xffffe96a
mov dword [0x10180a24], ecx
mov ecx, dword [ebp - 0x4c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
mov dword [0x10180a28], 0x1302
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 0x30], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x1013e213
mov eax, dword [ebp - 0x4c]
add eax, 0x1605
mov dword [0x10180a24], 0x1875
mov dword [ebp - 0x44], eax
jmp 0x1013e213
Function at 0x1013e3bf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10180a2c], 0
mov dword [0x10180a30], 0
mov dword [0x10180a3c], 0
mov dword [0x10180a24], 0x18c4
cmp eax, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x1013e42c
jmp 0x1013e434
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10180a2c], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10180a30], edx
mov dword [0x10180a28], 0xa8e
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10180a34], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10180a34]
mov edx, dword [0x10180a30]
mov byte [edi + edx], cl
mov dword [0x10180a24], 0x16e8
mov edx, dword [0x10180a2c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10180a30]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10180a3c], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x10180a28], 0x1e0e
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov edx, dword [0x10180a28]
add edx, 0xfffff1cc
mov dword [0x10180a24], edx
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x1013e42c
mov eax, dword [0x10180a2c]
mov ecx, dword [0x10180a30]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
jmp 0x1013e434
Function at 0x1013e8d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x10180a24], 0x14d0
mov dword [ebp - 0x10], eax
call fcn.1013d9ab
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1013e919
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10180a28], 0x23c3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10180a24], 0x2361
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
jne 0x1013e989
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
jb 0x1013e99b
jmp 0x1013e958
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x10180a24], 0x14d0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x1013ea10
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1013e9bf
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1013ea1c
jmp 0x1013e963
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10180a24], 0x14fc
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x1013e958
Function at 0x1013ea46
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x10180a24], 0x37a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1013dece
lea ecx, [0x1013ed89]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x12f600
mov edx, dword [0x10180a10]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10180a14]
mov dword [esp + 0x58], edx
mov edx, dword [0x10180a18]
mov dword [esp + 0x54], edx
mov edx, dword [0x10180a1c]
mov dword [esp + 0x68], edx
mov edx, dword [0x10180a20]
mov dword [esp + 0x44], edx
mov dword [0x10180a24], 0x1fc2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1013ead4
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1013eaff
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp dword [eax + ecx], 0x4550
je 0x1013eb13
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1013ead4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x74], edx
mov dword [0x10180a28], 0x8ac
call fcn.1013ec00
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x1013eacc
lea eax, [esp + 0x30]
mov dword [0x10180a24], 0x9c2
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1013e1da
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x1013eacc
Function at 0x1013ec00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov eax, dword [0x10180a24]
add eax, 0xffffd981
mov dword [0x10180a24], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10180a24], 0x20ef
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1013ecad
mov eax, dword [ebp - 0x18]
add esp, 0x2c
pop esi
pop ebp
ret
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
je 0x1013ed4a
jmp 0x1013ed77
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x1013ed1f
jmp 0x1013ed77
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], ecx
jge 0x1013ecc3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
jne 0x1013ec8f
mov eax, dword [ebp - 0x2c]
mov ecx, 0x215
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jne 0x1013ed77
mov eax, 0x215
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
jne 0x1013ed77
mov eax, 0x215
mov dword [0x10180a28], 0x7f0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
je 0x1013ec6f
jmp 0x1013ed77
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, 0x215
mov ecx, dword [ebp - 0x30]
cmp word [ecx], 0x64
mov dword [ebp - 0x20], eax
je 0x1013ec4f
jmp 0x1013ed77
mov eax, 1
mov ecx, 0x28d3
mov dword [0x10180a24], 0x47ad
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
je 0x1013ec46
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x10180a24], eax
mov dword [ebp - 0x18], ecx
jmp 0x1013ec46