joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10033934
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 0x3c62
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 1
call fcn.100337d7
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10033969
xor eax, eax
jmp 0x10033a8c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10033987
xor eax, eax
jmp 0x10033a8c
push 1
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x1287
call fcn.100334ca
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x100339aa
xor eax, eax
jmp 0x10033a8c
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
lea eax, [ebp - 0x24]
push eax
push 0x790e
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push 0x52c6
call fcn.1003363b
add esp, 0x20
push 0
push 0x9c2
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.1002af1b
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10033821
add esp, 0xc
push dword [ebp - 4]
call fcn.100333ad
pop ecx
test eax, eax
jne 0x10033a17
xor eax, eax
jmp 0x10033a8c
push 1
lea eax, [ebp - 4]
push eax
call fcn.1003387d
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10033a74
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10033a43
xor eax, eax
jmp 0x10033a8c
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10033a5c
xor eax, eax
jmp 0x10033a8c
push 1
push 0x48c2
push 0x692d
lea eax, [ebp - 4]
push eax
call fcn.100338bd
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10033a85
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x10033a89
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1004d1bd
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004d282
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
and dword [ebp - 8], 0
jmp 0x1004d219
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 0x28
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 8], eax
jge 0x1004d280
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jb 0x1004d27e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [eax + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.1004ccb5
pop ecx
pop ecx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jae 0x1004d27e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x1004d280
jmp 0x1004d205
jmp 0x1004d2aa
push 0
push 0xfe7
push 0xba6
push 0xe9f
push 0x24af
push 0x374
push 0x6de
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esp, ebp
pop ebp
ret

Function at 0x1004d320
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004d350
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004d34e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x1004d369
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 2
mov ecx, dword [ebp - 0x10]
call fcn.1001872f
or dword [eax], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x10060ef0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10068930
movzx eax, al
test eax, eax
je 0x10060f21
push 0x100014d0
push 0x1067fb68
call fcn.10057bd0
add esp, 8
push 0
call fcn.10074d18
mov ecx, dword [ebp - 4]
call fcn.10061230
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
call fcn.10061060
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x100888ad
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10093330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10078354
mov dword [ebp - 0x14], eax
cmp dword [0x10680c2c], esi
jne 0x100889a0
push 0x800
push esi
push 0x10007bcc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1008892d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10088a80
push esi
push esi
push 0x10007bcc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10088a80
push 0x10007be4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088a80
push eax
call ebx
push 0x10007bf0
push edi
mov dword [0x10680c2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007c00
push edi
mov dword [0x10680c30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007c14
push edi
mov dword [0x10680c34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10680c3c], eax
test eax, eax
je 0x1008899d
push 0x10007c30
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10680c38], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100889c5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100889b8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100889da
push 4
pop eax
jmp 0x10088a82
cmp dword [ebp - 0x14], esi
je 0x100889da
push dword [0x10680c2c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100889bf
mov eax, dword [0x10680c38]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10088a38
cmp dword [0x10680c3c], edi
je 0x10088a38
push eax
call ebx
push dword [0x10680c3c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10088a38
test eax, eax
je 0x10088a38
call ecx
test eax, eax
je 0x10088a2d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10088a2d
test byte [ebp - 8], 1
jne 0x10088a38
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10088a68
mov eax, dword [0x10680c30]
cmp eax, edi
je 0x10088a65
push eax
call ebx
test eax, eax
je 0x10088a65
call eax
mov esi, eax
test esi, esi
je 0x10088a65
mov eax, dword [0x10680c34]
cmp eax, edi
je 0x10088a65
push eax
call ebx
test eax, eax
je 0x10088a65
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10680c2c]
call ebx
test eax, eax
je 0x10088a80
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10088a82
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x405b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x405ba4
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x405ba3
push ebx
mov ebx, 0x45f688
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x428558
mov byte [edi + esi], al
call fcn.0040f68e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x405b46
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.0040563b
pop edi
pop ebp
ret 0x14

Function at 0x40951b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40953c
jl 0x409533
test edi, edi
jne 0x40953c
xor eax, eax
xor edx, edx
jmp 0x4095fd
cmp dword [ebx + 0x38], 0
je 0x409551
push eax
push edi
push dword [ebp + 8]
call fcn.00409603
jmp 0x4095fd
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x409598
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x409598
cmp eax, edi
jb 0x409572
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040ad60
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40959e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4095f2
mov ecx, ebx
call fcn.00408db5
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4095dd
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00413408
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4095f2
jmp 0x4095b0
test edx, edx
je 0x4095f2
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00413408
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40a8bf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a8fe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a8fe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a8fe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a8fe
cmp dword [ecx + 0x74], 0xe
jbe 0x40a8fe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41ccb8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041cb29

Function at 0x41d0b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040ad10
mov eax, dword [0x45da00]
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.0041ac75
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41d0f4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41d250
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426840
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 + 0x460030]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041de51
mov ecx, dword [esi*4 + 0x460030]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41d249
cmp eax, dword [edi + ecx + 0x24]
jne 0x41d249
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d249
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041de51
add esp, 0x14
test edx, edx
jl 0x41d249
jg 0x41d1bf
test eax, eax
jb 0x41d249
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41d249
jl 0x41d1d9
cmp dword [ebp - 0x1008], eax
ja 0x41d249
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41d1f7
test ebx, ebx
je 0x41d230
cmp ecx, edi
jae 0x41d230
mov al, byte [ecx]
cmp al, 0xd
jne 0x41d211
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41d21d
cmp byte [ecx + 1], 0xa
jne 0x41d21d
inc ecx
jmp 0x41d21d
movzx eax, al
movsx eax, byte [eax + 0x45dcc8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41d1f7
cmp edx, ebx
jne 0x41d1f7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41d24e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a123
leave
ret
Function at 0x41d2ef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x460030]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d32f
cmp byte [ebx], 0xa
jne 0x41d32f
or byte [eax + edi + 0x28], 4
jmp 0x41d334
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d432
mov al, byte [edx]
cmp al, 0x1a
je 0x41d414
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d363
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d388
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d392
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d345
jmp 0x41d432
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d40f
cmp dword [ebp - 0xc], 0
je 0x41d40f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x460030]
test byte [eax + edi + 0x28], 0x48
je 0x41d3e9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d3d4
mov byte [esi], dl
jmp 0x41d3e5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x460030]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d432
cmp byte [ebp - 1], 0xa
jne 0x41d3f8
cmp esi, ebx
jne 0x41d3f8
mov byte [esi], 0xa
jmp 0x41d431
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041de6f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d432
mov byte [esi], 0xd
jmp 0x41d431
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x460030]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d42e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d432
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d43b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x460030]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d47e
cmp word [esi], dx
jne 0x41d47e
or byte [edi + eax + 0x28], 4
jmp 0x41d483
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d5d6
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d5b6
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d4c5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d4fb
cmp eax, edx
jae 0x41d507
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d49d
jmp 0x41d5d6
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d5b2
cmp dword [ebp - 0x14], 0
je 0x41d5b2
mov eax, dword [ebx*4 + 0x460030]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d58a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d553
mov word [esi], cx
jmp 0x41d586
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x460030]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x460030]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x460030]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d5d6
pop ebx
cmp word [ebp - 4], bx
jne 0x41d59b
cmp esi, dword [ebp + 0xc]
jne 0x41d59b
mov word [esi], bx
jmp 0x41d5d3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041de6f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d5d6
push 0xd
jmp 0x41d5cf
mov ecx, dword [ebx*4 + 0x460030]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d5cd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d5d6
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000b2b0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10174b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp]
push edi
mov edi, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp]
test esi, esi
je 0x1000b2ee
cmp esi, eax
je 0x1000b2f3
call fcn.1014f6d2
cmp edi, ebx
je 0x1000b3ab
test esi, esi
jne 0x1000b398
call fcn.1014f6d2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1000b314
call fcn.1014f6d2
mov eax, dword [edi + 0x10]
cmp dword [eax + 4], 0
je 0x1000b33f
test esi, esi
jne 0x1000b39f
call fcn.1014f6d2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1000b332
call fcn.1014f6d2
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 4]
push edx
push ebp
mov ebp, esp
sub esp, 0x1d44
push ebx
push esi
sbb eax, 0x56530000
push edi
push ecx
push edi
add esp, 4
or ecx, 0x26ca
or ecx, 0x106de
and ecx, 0x19f7
pop ecx
push ebx
push esi
add esp, 4
xor ebx, 0x12038
xor ebx, 0x12a7
pop ebx
push edi
jmp 0x1000b376
pop edi
mov dword [ebp - 0x724], 0
call 0x1000b386
mov eax, 0x13379797
pop eax
mov dword [ebp - 0x724], eax
push ebx
jmp 0x1000b398
pop ebx
push edx
or edx, 0x16ec
pop edx
push ecx
add byte [edx + 0x51], bl
and ecx, 0x6bfe
jmp 0x1000b3ad
inc eax
dec edi
call 0x1000b3ba
add byte [esi], bh
xor dh, byte [esi]
inc ebp
aas
aaa
cmp al, byte [ebx - 0x367efb3c]
in eax, 0x81
add byte [eax], al
pop ecx
push esi
sub esi, 0xff32
or esi, 0x9877
jmp 0x1000b3d8
jmp 0x1000b3e1
pop esi
Function at 0x1000b339
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10174b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp]
push edi
mov edi, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp]
test esi, esi
je 0x1000b2ee
cmp esi, eax
je 0x1000b2f3
call fcn.1014f6d2
cmp edi, ebx
je 0x1000b3ab
test esi, esi
jne 0x1000b398
call fcn.1014f6d2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1000b314
call fcn.1014f6d2
mov eax, dword [edi + 0x10]
cmp dword [eax + 4], 0
je 0x1000b33f
test esi, esi
jne 0x1000b39f
call fcn.1014f6d2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1000b332
call fcn.1014f6d2
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 4]
push edx
push ebp
mov ebp, esp
sub esp, 0x1d44
push ebx
push esi
sbb eax, 0x56530000
push edi
push ecx
push edi
add esp, 4
or ecx, 0x26ca
or ecx, 0x106de
and ecx, 0x19f7
pop ecx
push ebx
push esi
add esp, 4
xor ebx, 0x12038
xor ebx, 0x12a7
pop ebx
push edi
jmp 0x1000b376
pop edi
mov dword [ebp - 0x724], 0
call 0x1000b386
mov eax, 0x13379797
pop eax
mov dword [ebp - 0x724], eax
push ebx
jmp 0x1000b398
pop ebx
push edx
or edx, 0x16ec
pop edx
push ecx
add byte [edx + 0x51], bl
and ecx, 0x6bfe
jmp 0x1000b3ad
inc eax
dec edi
call 0x1000b3ba
add byte [esi], bh
xor dh, byte [esi]
inc ebp
aas
aaa
cmp al, byte [ebx - 0x367efb3c]
in eax, 0x81
add byte [eax], al
pop ecx
push esi
sub esi, 0xff32
or esi, 0x9877
jmp 0x1000b3d8
jmp 0x1000b3e1
pop esi
Function at 0x1000b3ba
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10174b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp]
push edi
mov edi, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp]
test esi, esi
je 0x1000b2ee
cmp esi, eax
je 0x1000b2f3
call fcn.1014f6d2
cmp edi, ebx
je 0x1000b3ab
test esi, esi
jne 0x1000b398
call fcn.1014f6d2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1000b314
call fcn.1014f6d2
mov eax, dword [edi + 0x10]
cmp dword [eax + 4], 0
je 0x1000b33f
test esi, esi
jne 0x1000b39f
call fcn.1014f6d2
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x1000b332
call fcn.1014f6d2
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 4]
push edx
push ebp
mov ebp, esp
sub esp, 0x1d44
push ebx
push esi
sbb eax, 0x56530000
push edi
push ecx
push edi
add esp, 4
or ecx, 0x26ca
or ecx, 0x106de
and ecx, 0x19f7
pop ecx
push ebx
push esi
add esp, 4
xor ebx, 0x12038
xor ebx, 0x12a7
pop ebx
push edi
jmp 0x1000b376
pop edi
mov dword [ebp - 0x724], 0
call 0x1000b386
mov eax, 0x13379797
pop eax
mov dword [ebp - 0x724], eax
push ebx
jmp 0x1000b398
pop ebx
push edx
or edx, 0x16ec
pop edx
push ecx
add byte [edx + 0x51], bl
and ecx, 0x6bfe
jmp 0x1000b3ad
inc eax
dec edi
call 0x1000b3ba
add byte [esi], bh
xor dh, byte [esi]
inc ebp
aas
aaa
cmp al, byte [ebx - 0x367efb3c]
in eax, 0x81
add byte [eax], al
pop ecx
push esi
sub esi, 0xff32
or esi, 0x9877
jmp 0x1000b3d8
jmp 0x1000b3e1
pop esi