joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e8d1
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x2b8
mov eax, dword [0x43c814]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.00410520
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push esi
push esi
push 0x2c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x40e92c
xor eax, eax
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
pop esi
call fcn.0040fefe
add ebp, 0x238
leave
ret
xor eax, eax
push ebx
mov word [ebp + 0x10], ax
push edi
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], esi
call fcn.0040f27a
push str.JavaJava_Updatejucheck.exe
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040f47c
add esp, 0xc
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp + 0x10]
call fcn.0040eb94
push 0x22
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push 0x22
push eax
call fcn.0040f49d
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040f4f9
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x10]
call fcn.0040eb94
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00410520
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp + 8], 8
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, ecx
jae 0x40e9c6
lea eax, [ebp - 0xc]
cmp dword [ebp + 8], 8
mov edx, dword [ebp + 4]
lea eax, [eax + edx*2]
jae 0x40e9d5
lea ecx, [ebp - 0xc]
push dword [ebp - 0x2c]
mov dword [ebp + 0x1c], esi
push eax
push ecx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
call fcn.0040f51c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x2c], esi
call fcn.0040f224
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40ea06
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push esi
push esi
push 0x8000000
push ebx
push esi
push esi
push dword [ebp + 0x1c]
push eax
call fcn.0040b2bb
add esp, 0x28
test eax, eax
jne 0x40ea4f
xor edi, edi
lea ecx, [ebp + 0x1c]
call fcn.0040edc1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0040eb94
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040eb94
mov eax, edi
pop edi
pop ebx
jmp 0x40e916
mov edi, ebx
jmp 0x40ea2a

Function at 0x40fefe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c814]
jne 0x40ff08
repz ret
jmp fcn.00417533
Function at 0x420739
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x420760
call fcn.0041260a
mov dword [eax], esi
call fcn.004125f7
push 0x16
pop esi
mov dword [eax], esi
call fcn.00417523
mov eax, esi
jmp 0x4207b5
test dword [ebp + 0xc], 0xfffffff9
jne 0x420746
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42078d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041261d
pop ecx
call fcn.004125f7
mov eax, dword [eax]
jmp 0x4207b5
test al, 0x10
jne 0x4207b3
test al, 1
je 0x4207b3
test byte [ebp + 0xc], 2
je 0x4207b3
call fcn.0041260a
mov dword [eax], 5
call fcn.004125f7
mov dword [eax], 0xd
jmp 0x420784
xor eax, eax
pop esi
pop ebp
ret

Function at 0x427815
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041c5f5
and dword [ebp - 0x14], 0
cmp dword [0x45396c], 0
mov dword [ebp - 0x18], eax
jne 0x4278c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x427970
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x432d2c
push ebx
call edi
test eax, eax
je 0x427970
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45396c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x453970], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x453974], eax
call edi
push eax
call esi
mov dword [0x45397c], eax
test eax, eax
je 0x4278c8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x453978], eax
mov eax, dword [0x453978]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x427921
cmp dword [0x45397c], ecx
je 0x427921
push eax
call esi
push dword [0x45397c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x427921
test ebx, ebx
je 0x427921
call edi
test eax, eax
je 0x427918
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x427918
test byte [ebp - 8], 1
jne 0x427921
or dword [ebp + 0x10], 0x200000
jmp 0x427954
mov eax, dword [0x453970]
cmp eax, dword [ebp - 0x18]
je 0x427954
push eax
call esi
test eax, eax
je 0x427954
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x427954
mov eax, dword [0x453974]
cmp eax, dword [ebp - 0x18]
je 0x427954
push eax
call esi
test eax, eax
je 0x427954
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45396c]
call esi
test eax, eax
je 0x427970
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x427972
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fefe
leave
ret
Function at 0x43b649
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
pop esi
mov edx, 0xe490ed9d
sub edx, 0xed726852
or ecx, ecx
call fcn.0043b69e
dec ecx
sub ecx, 1
sub edx, edx
xor dword [ebx], esi
sub ecx, 1
sub ecx, 0xb48c2a38
sub ecx, 0x9cd3eb
inc ebx
sub ecx, 0xf9285149
cmp ebx, eax
jne fcn.0043b649
add ecx, 1
inc edx
sub edx, 1
ret

Function at 0x460bb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x34000]
push edi
or ebp, 0xffffffff
jmp 0x460bd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x460bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x460bc8
mov eax, 1
add ebx, ebx
jne 0x460beb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x460bfc
jne 0x460c1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x460c1b
dec eax
add ebx, ebx
jne 0x460c08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x460be0
add ebx, ebx
jne 0x460c17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x460c6d
xor ecx, ecx
sub eax, 3
jb 0x460c33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x460ca2
sar eax, 1
mov ebp, eax
jmp 0x460c3e
add ebx, ebx
jne 0x460c3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x460c0c
inc ecx
add ebx, ebx
jne 0x460c4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x460c0c
add ebx, ebx
jne 0x460c59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x460c4e
jne 0x460c6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x460c4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x460c8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x460c7e
jmp 0x460bce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x460c8c
add edi, ecx
jmp 0x460bce
pop esi
mov edi, esi
mov ecx, 0x7ac
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x460caa
cmp byte [edi], 5
jne 0x460caa
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 0x460caf
lea edi, [esi + 0x5e000]
mov eax, dword [edi]
or eax, eax
je 0x460d27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x60000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x600a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x460cdc
mov ecx, edi
jns 0x460d0b
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 + 0x600ac]
or eax, eax
je 0x460d21
mov dword [ebx], eax
add ebx, 4
jmp 0x460cf9
call dword [esi + 0x600a8]
mov ebp, dword [esi + 0x600b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x460d5b
sub esp, 0xffffff80
jmp 0x408522
Function at 0x1001f33a
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10021da1
push ebx
push esi
call fcn.10021ccd
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10021c61
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10021d4e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10021da0
push edi
push eax
call fcn.10020602
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10021d6e
call fcn.10020650
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10021d9f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10021c61
add esp, 0x20
test eax, eax
jne 0x10021d8d
push edi
call fcn.10020650
jmp 0x10021d95
push ebx
call fcn.10020650
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002200e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002a380
push 0x1002a378
push str.FlsAlloc
push 0x1f
call fcn.10021f2a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10022042
push dword [ebp + 8]
mov ecx, esi
call dword [0x10028150]
call esi
jmp 0x10022048
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002208c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002a390
push 0x1002a388
push str.FlsGetValue
push 0x21
call fcn.10021f2a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100220c3
push dword [ebp + 8]
mov ecx, esi
call dword [0x10028150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100220cb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002a398
push 0x1002a390
push str.FlsSetValue
push 0x22
call fcn.10021f2a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10022105
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10028150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10027610
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002763d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002763d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063ef
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406426
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406400
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

Function at 0x401024
Capabilities:
Get common file path

Disassembly:
push edi
sub esp, 0x200
push esp
pop edi
push 0x100
push edi
call sub.KERNEL32.dll_GetSystemDirectoryA
lea edx, [edi + 0x7c]
xor ecx, ecx
push ecx
push ecx
push ecx
push edx
push ecx
push edi
add edi, eax
mov eax, 0x69636d5c
stosd dword es:[edi], eax
mov eax, 0x65766177
stosd dword es:[edi], eax
mov eax, 0x6c6c642e
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
call sub.KERNEL32.dll_FindFirstFileExA
add esp, 0x200
pop edi
cmp eax, 1
jg 0x40106c
ret
pushal
jmp fcn.0040128c

Function at 0x401384
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
push eax
call sub.KERNEL32.dll_GetCommandLineA
pop eax
push eax
push ebx
push edx
call fcn.0040166c
pop eax
push eax
mov esi, 0x19
push esi
call sub.KERNEL32.dll_Sleep
pop eax
pop ebp
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x673d1544
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x498d385c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10007d64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1024d148]
jne 0x10007d6e
repz ret
jmp fcn.10009c5f

Function at 0x1000969f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10007dff
and dword [ebp - 4], 0
cmp dword [0x1024e234], 0
mov ebx, eax
jne 0x10009750
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10009801
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10009801
push eax
call fcn.10007d8d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1024e234], eax
call esi
push eax
call fcn.10007d8d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1024e238], eax
call esi
push eax
call fcn.10007d8d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1024e23c], eax
call esi
push eax
call fcn.10007d8d
pop ecx
mov dword [0x1024e244], eax
test eax, eax
je 0x10009750
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10007d8d
pop ecx
mov dword [0x1024e240], eax
mov eax, dword [0x1024e240]
cmp eax, ebx
je 0x100097a8
cmp dword [0x1024e244], ebx
je 0x100097a8
push eax
call fcn.10007e08
push dword [0x1024e244]
mov esi, eax
call fcn.10007e08
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100097a8
test edi, edi
je 0x100097a8
call esi
test eax, eax
je 0x1000979f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000979f
test byte [ebp - 0xc], 1
jne 0x100097a8
or dword [ebp + 0x10], 0x200000
jmp 0x100097e1
mov eax, dword [0x1024e238]
cmp eax, ebx
je 0x100097e1
push eax
call fcn.10007e08
pop ecx
test eax, eax
je 0x100097e1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100097e1
mov eax, dword [0x1024e23c]
cmp eax, ebx
je 0x100097e1
push eax
call fcn.10007e08
pop ecx
test eax, eax
je 0x100097e1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1024e234]
call fcn.10007e08
pop ecx
test eax, eax
je 0x10009801
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10009803
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10017c2d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0xc], 0
mov dword [0x1024d054], 0x26ad
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov dword [0x1024d058], 0xd73
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1024d054]
mov edi, esi
add edi, 0x739
mov dword [0x1024d054], edi
add esi, 0xffffeba1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x10017d04
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x10017d88
jmp 0x10017dad
mov dword [0x1024d058], 0x1c0d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10017d45
jmp 0x10017dad
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], eax
jl 0x10017d04
jmp 0x10017d1a
mov dword [0x1024d054], 0x18db
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10017c8c
jmp 0x10017dad
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jne 0x10017ccd
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov dword [0x1024d058], ecx
mov dword [0x1024d054], 0x2024
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x10017caf
jmp 0x10017dad
mov dword [0x1024d058], 0x636
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10017dad
mov dword [0x1024d058], 0xcfa
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x2d], dl
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x10017ce6
jmp 0x10017dad
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, 1
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x6c
mov dword [ebp - 0x38], eax
je 0x10017dbe
mov dword [0x1024d054], 0x224d
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x10017dbe
mov eax, dword [ebp - 0x38]
add esp, 0x30
pop esi
pop edi
pop ebp
ret
Function at 0x10017dc8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
call fcn.1000108f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x10017e81
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x10017dea
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + ecx]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
cmp eax, 0x4550
jne 0x10017f32
mov eax, dword [esp + 0x20]
add eax, 0x50
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
mov dword [0x1024d054], 0x2073
add ecx, eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.100186e1
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1024d054], 0x86d
mov dword [esp + 0x28], eax
jmp 0x10017df2
lea eax, [esp + 0x40]
mov dword [esp + 0x14], eax
mov dword [0x1024d054], 0x5e1
call fcn.10017c2d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
jne 0x10017df2
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10018101
lea ecx, [0x10017bbc]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x70], 0x12a000
mov dword [0x1024d058], 0x238
mov edx, dword [0x1024d040]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1024d044]
mov dword [esp + 0x9c], edx
mov edx, dword [0x1024d048]
mov dword [esp + 0x60], edx
mov edx, dword [0x1024d04c]
mov dword [esp + 0x98], edx
mov dword [0x1024d054], 0x37d
mov edx, dword [0x1024d050]
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x24], eax
je 0x10017dfc
mov eax, dword [esp + 0x24]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
jmp 0x10017f1f
Function at 0x100183f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x1024d054], 0x182f
mov dword [ebp - 0x10], eax
call fcn.10018ab2
xor ecx, ecx
mov dword [0x1024d054], 0xa0f
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x1024d054], 0x2073
mov esi, dword [eax + esi + 0x78]
mov dword [0x1024d058], 0x278f
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x1024d054], 0xa9a
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x100184c9
jmp 0x10018486
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
jmp 0x1001849e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jmp 0x1001846a
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x100184fc
jmp 0x100184d4
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1001849e
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x1001852f
jmp 0x10018505
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], eax
jb 0x1001846a
jmp 0x100184c9
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
add eax, dword [ecx + edx*4]
mov dword [0x1024d058], 0xffffe48f
mov dword [ebp - 0x28], eax
jmp 0x100184c9