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

Disassembly:
mov eax, 0x30
call fcn.0059cab0
mov eax, dword [0x65fec0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x588f32
movups xmm0, xmmword [edi + 0x10]
mov ebx, dword [esp + 0x50]
lea esi, [edi + 0x10]
dec eax
mov dword [esp + 0x10], ebx
movups xmmword [esp + 0x2c], xmm0
and byte [esp + 0x38], 0x7f
lea ecx, [esp + 0x2c]
push 1
mov dword [edi + 0x30], eax
push ecx
psrldq xmm0, 8
movd eax, xmm0
push 0
push 0
and al, 0x7f
mov byte [esp + 0x44], al
mov eax, dword [edi + 0x20]
push 0
push eax
mov dword [esp + 0x30], eax
call fcn.004b3360
add esp, 0x18
test eax, eax
je 0x588f32
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push dword [esp + 0x18]
push eax
push ebp
push dword [esp + 0x28]
call fcn.004b3dd0
add esp, 0x14
test eax, eax
je 0x588f32
push ebx
push ebp
lea eax, [esp + 0x24]
push eax
push edi
call fcn.005893d0
add esp, 0x10
test eax, eax
je 0x588f32
lea eax, [esi + 0xf]
xor edx, edx
lea ecx, [esp + 0x1c]
cmp ecx, eax
ja 0x588f03
lea eax, [esp + 0x2b]
cmp eax, esi
jb 0x588f03
mov eax, ecx
sub esi, eax
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, 0x10
jl 0x588ef0
jmp 0x588f14
movups xmm1, xmmword [esp + 0x1c]
movups xmm0, xmmword [esi]
pxor xmm1, xmm0
movups xmmword [esp + 0x1c], xmm1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
or eax, dword [esp + 0x28]
or ecx, eax
je 0x588f47
push ebx
push ebp
call fcn.00401320
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0059c3d3
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
mov eax, ebx
mov dword [edi + 0x2c], 0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059c3d3
add esp, 0x30
ret
Function at 0x5986f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4193
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x65fec0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push eax
push esi
push dword [ebp + 0xc]
push ecx
call fcn.005a749a
add esp, 0x10
cmp eax, esi
jae 0x5988d9
call fcn.005a23d8
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - method.fmt::v10::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v10::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov esi, dword [eax]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], 0x1f4
movups xmm0, xmmword [ebp - 0x20]
push ecx
mov eax, esp
mov dword [ebp - 4], 0
sub esp, 0x10
mov dword [eax], 0
mov eax, esp
push 0x14
push str.cannot_write_to_file
movups xmmword [eax], xmm0
lea eax, [ebp - 0x238]
push eax
call fcn.00590580
add esp, 0x20
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x230]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
push dword [ebp - 0x234]
mov dword [ebp - 0x14], 0
call fcn.0044a690
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.fmt::v10::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v10::basic_memory_buffer_char__500__class_std::allocator_char__.0
cmp edx, eax
je 0x59883a
mov ecx, dword [ebp - 0x22c]
mov eax, edx
cmp ecx, 0x1000
jb 0x598830
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5988f3
push ecx
push edx
call fcn.0059c174
add esp, 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push 0x65e094
push esi
lea ecx, [ebp - 0x250]
call fcn.00458110
mov ecx, dword [ebp - 0x14]
mov dword [ebp - method.std::_System_error.virtual_0], vtable.std::system_error.0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x598897
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x59888d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5988f8
push ecx
push edx
call fcn.0059c174
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x239], 1
cmp byte [ebp - 0x239], 0
mov dword [ebp - 4], 2
jne 0x5988fd
lea eax, [ebp - 0x24c]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
call fcn.0059d74d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059c3d3
mov esp, ebp
pop ebp
ret
call fcn.005a18be
call fcn.005a18be
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x24]
call fcn.00458840
push 0x65bf84
lea eax, [ebp - 0x24]
push eax
call fcn.0059d76c
int3
Function at 0x598cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
movzx eax, ax
push esi
mov esi, eax
mov dword [ebp - 4], eax
push edi
shr esi, 8
xor eax, eax
xor edi, edi
mov dword [ebp - 8], esi
cmp dword [ebp + 0x10], eax
jbe 0x598d20
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x598d20
jne 0x598d18
cmp eax, edx
jge 0x598d18
mov ecx, dword [ebp + 8]
movzx esi, cl
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x598d48
inc eax
cmp eax, edx
jl 0x598d07
mov esi, dword [ebp - 8]
inc edi
mov eax, edx
cmp edi, dword [ebp + 0x10]
jb 0x598ce6
mov edi, dword [ebp + 0x1c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x598d60
mov esi, dword [ebp + 0x18]
nop
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x598d51
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x598d53
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, ecx
sub dword [ebp - 4], edx
js 0x598d60
inc eax
xor bl, 1
cmp eax, edi
jb 0x598d30
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x59ae8e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x59aeb5
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x59aeb8
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0059ae6a
pop esi
leave
ret 8

Function at 0x59d2b6
Capabilities:
Parse pe header

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

Function at 0x5b49b0
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b48b5

Function at 0x5b5a67
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b58e6

Function at 0x5baf7f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005bac3f

Function at 0x5c1d40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5c1d6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5c1d6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0xff1c80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xab0000]
push edi
jmp 0xff1c9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xff1ca1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xff1c90
mov eax, 1
add ebx, ebx
jne 0xff1cb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xff1cc4
jne 0xff1ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xff1ce3
dec eax
add ebx, ebx
jne 0xff1cd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xff1ca8
add ebx, ebx
jne 0xff1cdf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xff1d35
xor ecx, ecx
sub eax, 3
jb 0xff1cfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xff1d6a
sar eax, 1
mov ebp, eax
jmp 0xff1d06
add ebx, ebx
jne 0xff1d06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xff1cd4
inc ecx
add ebx, ebx
jne 0xff1d14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xff1cd4
add ebx, ebx
jne 0xff1d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xff1d16
jne 0xff1d32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xff1d16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xff1d54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xff1d46
jmp 0xff1c96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xff1d54
add edi, ecx
jmp 0xff1c96
pop esi
mov edi, esi
mov ecx, 0xfda5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xff1d72
cmp byte [edi], 0x3e
jne 0xff1d72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xff1d77
lea edi, [esi + 0xbec000]
mov eax, dword [edi]
or eax, eax
je 0xff1def
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc01c58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc01dfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xff1da4
mov ecx, edi
jns 0xff1dd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc01e04]
or eax, eax
je 0xff1de9
mov dword [ebx], eax
add ebx, 4
jmp 0xff1dc1
call dword [esi + 0xc01e00]
mov ebp, dword [esi + 0xc01e08]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xff1e23
sub esp, 0xffffff80
jmp 0x6fa54e
Function at 0x1000f7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000f7ff
pop dword [ebp - 0x38]
mov eax, 0x6dda7d2c
sub eax, 0x5dd9852d
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xfdf7cc56
sub dword [ebp - 0x48], 0xafa5870b
mov dword [ebp - 0x44], 0x53c2741c
add dword [ebp - 0x44], 0xde70d829
mov dword [ebp - 0x40], 0x595bacc8
add dword [ebp - 0x40], 0xf2f09766
mov dword [ebp - 0x3c], 0xff7c56f6
add dword [ebp - 0x3c], 0x83a90a
lea eax, [ebp - 0x48]
push eax
mov eax, 0xe71d45ac
sub eax, 0xd71b959c
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x77c87f6a
add dword [ebp - 0x48], 0xfca9e9ec
mov dword [ebp - 0x44], 0xa4756210
add dword [ebp - 0x44], 0x9cf6ff65
mov dword [ebp - 0x40], 0x3cb9b5e5
sub dword [ebp - 0x40], 0xd94a4979
mov dword [ebp - 0x3c], 0x4a43b705
add dword [ebp - 0x3c], 0xb5bc48fb
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x9e0356b0
add eax, 0x71fe5964
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3db83
push 0
call eax
mov ecx, 0xa8b0bffb
sub ecx, 0xa8b07a14
xor edx, edx
add edx, eax
mov ebx, 0x4c7bc589
sub ebx, 0x3c791589
add ebx, dword [ebp - 0x38]
mov edi, 0x27159419
xor dword [ebp - 0x34], 0xbab2ebfe
mov esi, dword [ebx]
sub esi, edi
mov dword [edx], esi
xor dword [ebp - 0x28], 0x47f729ff
add edx, 0xcdfa836a
add edx, 0x32057c9a
add ebx, 0xfcefb1c1
add ebx, 0x3104e43
loop 0x1000f91d
add eax, 0x1fd7da29
add eax, 0xe0293046
mov ebx, eax
add eax, 5
mov ecx, 0x6460cead
add ecx, 0xab9f3153
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x10246221
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10250d68], 0
mov byte [0x10250d6c], 0
mov dword [0x10250d60], 0x17a8
mov dword [0x10250d64], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10246296
mov eax, dword [0x10250d60]
add eax, 0x20cc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10250d5c], eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x10250d64], 0
mov dword [ebp - 0x24], eax
jmp 0x102462c8
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x10250d5c], 0x1cfc
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10250d64]
add eax, 1
mov dword [0x10250d64], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10246296
jmp 0x10246285
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x10250d70], 0
mov dword [0x10250d5c], 0x1994
mov edx, dword [0x10250d68]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x28], 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 [0x10250d70], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x10250d68], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov cl, byte [ecx + edi]
mov byte [0x10250d6c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x10250d60]
add ecx, 0xfffff0f5
mov dword [0x10250d60], ecx
mov cl, byte [0x10250d6c]
mov edx, dword [0x10250d68]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x10250d5c], 0x195b
mov edx, dword [0x10250d64]
add edx, 1
mov dword [0x10250d64], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x102462c8
jmp 0x10246268
Function at 0x102467a9
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 ecx, dword [0x10250d5c]
add ecx, 0xfffff1da
mov dword [0x10250d5c], ecx
mov dword [ebp - 0x10], eax
call fcn.10245e74
mov ecx, eax
add eax, 0x3c
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x14]
add esi, edx
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + edx]
cmp edx, 0x4550
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
je 0x10246802
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10250d60], 0x1650
mov ecx, dword [ebp - 0x14]
add ecx, dword [ecx + eax + 0x20]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1024690d
jmp 0x1024685b
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x1024690d
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], 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 - 0x14]
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 0x102468d8
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 0x10246887
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x1024683d
jmp 0x102468e5
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x34]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jb 0x1024686d
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10246963
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10250d60], 0xec7
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x102469b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10246a2d
jmp 0x10246a5e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x102469de
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x102469b1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x10246a5e
mov dword [0x10250d60], 0x1ad2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10246a5e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10246a5e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10246999
jmp 0x10246a5e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10246a5e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x1e], dx
mov eax, 1
mov cx, word [ebp - 0x1e]
cmp cx, 0x6c
mov dword [ebp - 0x24], eax
je 0x10246a6f
mov dword [0x10250d60], 0x552
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10246a6f
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10246a77
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10250d60]
mov edi, esi
add edi, 0xfffff500
mov dword [0x10250d5c], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov cl, byte [eax + 0x10249186]
mov dl, byte [eax + 0x10249157]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x3c], eax
jne 0x10246aa8
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
add ecx, 0xdf4
mov dword [0x10250d5c], ecx
mov dword [ebp - 0x40], eax
call fcn.10247265
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.10245fc1
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
je 0x10246be5
mov eax, dword [ebp - 0x44]
mov dword [0x10250d5c], 0x2474
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 [0x10250d5c], 0x21bd
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x4c], eax
call fcn.1024611f
mov dword [0x10250d60], 0xc2e
mov eax, dword [ebp - 0x4c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x34]
add ecx, 0x28
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
xor eax, eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [ecx], edx
mov esi, dword [0x10250d60]
mov edi, esi
add edi, 0xfffff42a
mov dword [0x10250d60], edi
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x4c]
mov dword [edi + 0x18], ebx
mov dword [0x10250d5c], 0x13e6
cmp ebx, 0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], eax
je 0x10246be5
mov eax, dword [ebp - 0x4c]
add eax, 0x26f0
mov ecx, dword [ebp - 0x58]
add ecx, 0xffffdeeb
mov dword [0x10250d5c], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret