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

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push esp
push 0x3ff
call sub.kernel32.dll_GetTempPathA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040483c
add esp, 0x400
pop ebx
ret

Function at 0x49d760
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
lea eax, [ebp - 0x38]
mov edx, dword [0x489ed8]
call fcn.004051e0
xor eax, eax
push ebp
push 0x49d800
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1388
push 0xbb8
push 1
push 2
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x49d818
mov edx, 0x10000
mov eax, edi
call fcn.0048a170
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x38]
mov edx, esi
call fcn.0048a6d4
cmp dword [ebp - 0x3c], 0
jne 0x49d7d5
cmp dword [ebp - 0x40], 0
jbe 0x49d7e4
jmp 0x49d7d7
jle 0x49d7e4
mov eax, esi
call fcn.004091f4
test al, al
je 0x49d7e4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d807
lea eax, [ebp - 0x38]
mov edx, dword [0x489ed8]
call fcn.004052b0
ret

Function at 0x49d984
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
xor edx, edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bec
lea eax, [ebp - 0x15c]
mov edx, dword [0x407cf0]
call fcn.004051e0
xor eax, eax
push ebp
push 0x49db14
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a04
mov edx, dword [ebp - 4]
dec eax
test edx, edx
je 0x49d9e0
cmp eax, dword [edx - 4]
jb 0x49d9e5
call fcn.00403858
inc eax
cmp byte [edx + eax - 1], 0x5c
je 0x49d9fa
lea eax, [ebp - 4]
mov edx, 0x49db28
call fcn.00404a0c
lea eax, [ebp - 0x160]
mov ecx, 0x49db34
mov edx, dword [ebp - 4]
call fcn.00404a50
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00409370
test eax, eax
jne 0x49dac4
mov eax, dword [ebp - 0x154]
and eax, 0x10
cmp eax, 0x10
je 0x49da64
push dword [ebp - 4]
push 0x49db28
push dword [ebp - 0x150]
lea eax, [ebp - 0x164]
mov edx, 3
call fcn.00404ac4
mov eax, dword [ebp - 0x164]
call fcn.00409400
jmp 0x49dab1
mov eax, dword [ebp - 0x150]
mov edx, 0x49db40
call fcn.00404b48
je 0x49dab1
mov eax, dword [ebp - 0x150]
mov edx, 0x49db4c
call fcn.00404b48
je 0x49dab1
push dword [ebp - 4]
push 0x49db28
push dword [ebp - 0x150]
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404ac4
mov eax, dword [ebp - 0x168]
call fcn.0049d984
lea eax, [ebp - 0x15c]
call fcn.004093c0
test eax, eax
je 0x49da2b
lea eax, [ebp - 0x15c]
call fcn.004093e4
mov eax, dword [ebp - 4]
call fcn.00404bfc
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49db1b
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404770
lea eax, [ebp - 0x15c]
mov edx, dword [0x407cf0]
call fcn.004052b0
lea eax, [ebp - 4]
call fcn.0040474c
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x79fc7c83
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3b8a2142
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x406739
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x469c7c], 0
jne 0x406777
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40674d
mov dword [ecx*4 + 0x469c78], eax
inc ecx
cmp ecx, 0x100
jl 0x406748
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4067a4
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x469c78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406785
not eax
pop ebp
ret 0xc

Function at 0x4012a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403df4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403df0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403df0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403df8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40136d
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401354
mov eax, dword [0x403df4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x69f152
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x6b851c]
add ebx, 0xffffe881
mov dword [0x6b8520], ebx
mov dword [0x6b8524], 0
mov dword [0x6b8528], 0
mov dword [0x6b8534], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x69f1cb
mov dword [0x6b8520], 0x13b3
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x6b851c], 0x1751
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x6b8524], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x6b8528], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x6b852c], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x6b852c]
mov edx, dword [0x6b8528]
mov byte [edi + edx], cl
mov edx, dword [0x6b8524]
movzx edx, byte [edi + edx]
mov ebx, dword [0x6b8528]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x6b8520], 0x26fd
and ebx, 0xff
mov dword [0x6b8534], ebx
mov dword [0x6b851c], 0x267e
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x6b8539]
mov byte [0x6b8538], dl
mov byte [0x6b8539], ch
mov byte [0x6b853a], cl
mov dword [0x6b8520], 0x1b66
xor ch, cl
mov dword [0x6b851c], 0x1174
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x69f1b9
mov eax, dword [0x6b8524]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x6b8528]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x69f1cb
Function at 0x69f2e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x6b851c], 0x260a
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x64
mov edi, edx
add edi, esi
add edi, 0x54
mov esi, dword [edi]
imul edi, eax, 0x64
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x392
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x69f314
lea eax, [0x6a1051]
mov ecx, 0xe
lea edx, [ebp - 0x12c]
mov dword [0x6b8520], 0x1461
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.0069ec38
mov dword [0x6b851c], 0x79e
call fcn.0069ea7e
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.0069f78d
mov dword [0x6b853c], eax
mov ecx, dword [0x6b851c]
add ecx, 0xffffe40e
mov dword [0x6b8520], ecx
mov ecx, esp
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x6b851c]
add edx, 0xfffffbd2
mov dword [0x6b851c], edx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, eax, 0x64
mov edi, edx
add edi, esi
add edi, 0x54
mov esi, dword [edi]
imul edi, eax, 0x64
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x64
add edx, ebx
add edx, 4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.0069eeef
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x392
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x69f42c
lea eax, [0x6a105f]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.0069f8e4
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.0069f152
xor eax, eax
mov ecx, dword [0x6b851c]
add ecx, 0x1d8e
mov dword [0x6b851c], ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0xcc9c7
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x137200
mov ecx, dword [ebp - 0x148]
add ecx, 0x3f43
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f50
mov ecx, dword [0x6b851c]
add ecx, 0x1a21
mov dword [0x6b851c], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x69f584
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x6b851c], 0x1994
mov dword [ebp - 0x10], eax
call fcn.0069ef97
mov dword [ebp - 0x14], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x3c]
mov esi, dword [edx + esi + 0x78]
mov dword [0x6b851c], 0x2010
mov edi, ecx
add edi, dword [edx + esi + 0x20]
mov ebx, dword [edx + esi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], eax
je 0x69f6cc
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, dword [edx]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 0x69f66e
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 - 0x44], eax
jne 0x69f61d
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x69f6a1
jmp 0x69f677
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], eax
jb 0x69f603
jmp 0x69f6cc
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x6b8520], 0x2690
mov dword [ebp - 0x50], edi
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
jmp 0x69f6cc
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x69f8e4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x6b8528], 0
mov byte [0x6b852c], 0
mov esi, dword [0x6b851c]
add esi, 0xfffffac9
mov dword [0x6b8520], esi
mov dword [0x6b8524], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x69f933
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x6b851c], 0x1cb3
mov eax, dword [0x6b8524]
add eax, 1
mov dword [0x6b8524], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x69f933
xor eax, eax
mov dword [0x6b851c], 0x1549
mov dword [0x6b8524], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x6b8530], 0
mov edx, dword [0x6b8528]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x6b8530], edi
mov dword [0x6b851c], 0x15b
mov eax, edi
cdq
idiv ecx
mov dword [0x6b8528], edx
mov dword [0x6b8520], 0xffffff07
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x6b852c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x6b8520]
add ecx, 0xffffdd45
mov dword [0x6b851c], ecx
mov cl, byte [0x6b852c]
mov edx, dword [0x6b8528]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x6b8524]
add edx, 1
mov dword [0x6b8524], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x69f97c
mov dword [0x6b8520], 0x18f5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x69fa47
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x6a1051]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x6b8520], 0x2337
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.0069ec38
mov dword [0x6b851c], 0x79e
call fcn.0069ea7e
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.0069f78d
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x69fac4
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
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 [0x6b8520], 0x1985
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.0069fdb3
mov eax, dword [0x6b851c]
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0xffffda01
mov dword [0x6b851c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x6b8520], 0x2259
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x54], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 4], ecx
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x69faba
mov eax, dword [ebp - 0x44]
add eax, 0x1887
mov dword [0x6b851c], 0x6f0
mov dword [0x6b8520], 0x23bd
mov dword [ebp - 0x40], eax
jmp 0x69faba
Function at 0x69fb89
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.00401088
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x34], ecx
jne 0x69fd33
lea eax, [esp + 0x48]
mov dword [0x6b851c], 0x2038
mov dword [0x6b8520], 0x2318
mov dword [esp + 0x30], eax
call fcn.0069feb4
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x69fd2b
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.0069f2e5
mov ecx, dword [0x6b8520]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
lea eax, [0x69fd3d]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x74], 0x137200
mov ecx, dword [0x6b8508]
mov dword [esp + 0x94], ecx
mov ecx, dword [0x6b850c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x6b8510]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x6b8514]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x6b8518]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x24]
add ecx, 0xfffff8dd
mov dword [0x6b851c], ecx
mov dword [0x6b8520], 0x22a3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jne 0x69fc90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x69fcc7
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x14]
add ecx, 0xffffdab2
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
mov dword [0x6b851c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x69fc65
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [0x6b8520], 0x1c92
mov dword [0x6b851c], 0x14d5
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0069fa47
mov ecx, dword [0x6b8520]
add ecx, 0x1f82
mov dword [0x6b851c], ecx
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x69feb4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [0x6b851c], 0xe24
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x69ff01
mov eax, 1
mov dword [0x6b8520], 0xfeb
mov dword [ebp - 0x14], eax
jmp 0x69ffe2
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 0x69ff38
mov dword [0x6b8520], 0xd66
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 0x69ff01
mov eax, dword [ebp - 0x1c]
mov dword [0x6b851c], 0xf30
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x69ffd3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x69ffd3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x69ff7f
jmp 0x69ffd3
mov dword [0x6b851c], 0x15e2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x69ffd3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x69ffd3
mov dword [0x6b851c], 0x1882
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x69ffd3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x69feea
xor eax, eax
mov dword [0x6b851c], 0x177
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret