joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x103
lea eax, [ebp - 0x107]
xor bl, bl
push 0
push eax
mov byte [ebp - 0x108], bl
call fcn.1003c000
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13_v1.6_RC
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10012eab
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Auto_Save
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.true
lea eax, [ebp - 0x108]
push esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10012e85
test dl, dl
je 0x10012e62
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10012e85
add eax, 2
add ecx, 2
test dl, dl
jne 0x10012e46
push dword [ebp - 0x10c]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002063c
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10c]
sbb esi, esi
or esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002063c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1002063c
mov esp, ebp
pop ebp
ret
Function at 0x10014b70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10013190
call fcn.10013ce0
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.1003c000
add esp, 0xc
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SOFTWAREVooblyVooblygame13_v1.6_RC
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10014cde
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push str.Select_All
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, str.true
lea ecx, [ebp - 0x108]
push esi
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10014c30
test dl, dl
je 0x10014c2c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10014c30
add ecx, 2
add eax, 2
test dl, dl
jne 0x10014c10
xor esi, esi
jmp 0x10014c35
sbb esi, esi
or esi, 1
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10014cdd
lea eax, [ebp - 0x114]
mov byte [ebp - 0x109], 0xe9
push eax
push 1
lea eax, [ebp - 0x109]
push eax
push 0x51d1d7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
mov eax, 0x10014ae0
sub eax, 0x51d1dc
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x114]
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push 0x51d1d8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 2
push 0x51d1dc
call esi
mov eax, 0x51d1dc
mov ecx, 0x90909090
mov word [eax], cx
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x11c]
push 2
push 0x51d1dc
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002063c
mov esp, ebp
pop ebp
ret
Function at 0x100187f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 0xe9
push eax
push 0x5b7f1d
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
mov eax, 0x10018790
sub eax, 0x5b7f22
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push 0x5b7f1e
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x4fa866
call edi
push eax
call esi
mov eax, 0x100187b0
sub eax, 0x4fa86b
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x4fa867
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x5bc668
call edi
push eax
call esi
mov eax, 0x10018750
sub eax, 0x5bc66d
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x5bc669
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x4f6d58
call edi
push eax
call esi
mov eax, 0x10018770
sub eax, 0x4f6d5d
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x4f6d59
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x51e975
call edi
push eax
call esi
mov eax, 0x10018710
sub eax, 0x51e97a
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x51e976
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x5b1418
call edi
push eax
call esi
mov eax, 0x10018730
sub eax, 0x5b141d
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x5b1419
call edi
push eax
call esi
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0xe9
push eax
push 1
lea eax, [ebp - 1]
push eax
push 0x43f989
call edi
push eax
call esi
mov eax, 0x100187d0
sub eax, 0x43f98e
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x43f98a
call edi
push eax
call esi
push 0
push 0
push 0
push 0x10018380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10019890
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x40239a
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x40239a
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push 7
push 0x40239a
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x10019c00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
push 0x4b3ca5
call esi
mov byte [0x4b3ca5], 0xe9
mov eax, 0x10019b30
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0xffb4c356
mov dword [0x4b3ca6], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 5
push 0x4b3ca5
call esi
lea eax, [ebp - 0xc]
push eax
push 0x40
push 2
push 0x4b3caa
call esi
mov eax, 0x4b3caa
mov ecx, 0x90909090
mov word [eax], cx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 2
push 0x4b3caa
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001b0e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dcdb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x48
call fcn.1002064a
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x100aa634
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esi + 0x34], 0x100aa634
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x34]
cmp dword [eax + 4], 0x18
ja 0x1001b1a7
mov dword [eax], 0
mov eax, dword [esi + 0x34]
mov byte [eax + 8], 0
jmp 0x1001b1be
mov dword [esi + 0x34], 0x100aa634
cmp eax, 0x100aa634
je 0x1001b1be
push eax
call fcn.1002067a
add esp, 4
push esi
mov ecx, edi
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1001b040
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003ae35
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.1004a373
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x1003ae74
sub eax, 1
je 0x1003ae6f
sub eax, 1
je 0x1003ae6b
xor eax, eax
leave
ret
push 3
jmp 0x1003ae76
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x1004f51c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004f39b

Function at 0x100536c0
Capabilities:
Set environment variable

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

Function at 0x1005cd50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005cd7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005cd7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10004540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x14]
call fcn.10002480
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x1000455c
jmp 0x10004561
jmp 0x10003e5d

Function at 0x10005bd8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x100140e0]
je 0x10005bf3
inc edi
cmp edi, 0x17
jb 0x10005be4
cmp edi, 0x17
jae 0x10005d73
push ebp
push 3
call fcn.1000b9d9
cmp eax, 1
pop ecx
je 0x10005d3f
push 3
call fcn.1000b9d9
test eax, eax
pop ecx
jne 0x10005c27
cmp dword [0x10015208], 1
je 0x10005d3f
cmp ebx, 0xfc
je 0x10005d72
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10015228
push ebp
call fcn.1000b693
add esp, 0xc
test eax, eax
je 0x10005c5d
push esi
push esi
push esi
push esi
push esi
call fcn.10005f62
add esp, 0x14
push 0x104
mov esi, 0x10015241
push esi
push 0
mov byte [0x10015345], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10005ca1
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.1000b693
add esp, 0xc
test eax, eax
je 0x10005ca1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10005f62
add esp, 0x14
push esi
call fcn.10006db0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10005ce6
push esi
call fcn.10006db0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1001553c
push 0x10010954
sub ecx, eax
push ecx
push eax
call fcn.1000b926
add esp, 0x14
test eax, eax
je 0x10005ce6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10005f62
add esp, 0x14
jmp 0x10005ce8
xor esi, esi
push 0x10010950
push ebx
push ebp
call fcn.1000b8b5
add esp, 0xc
test eax, eax
je 0x10005d08
push esi
push esi
push esi
push esi
push esi
call fcn.10005f62
add esp, 0x14
push dword [edi*8 + 0x100140e4]
push ebx
push ebp
call fcn.1000b8b5
add esp, 0xc
test eax, eax
je 0x10005d2a
push esi
push esi
push esi
push esi
push esi
call fcn.10005f62
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1000b6f8
add esp, 0xc
jmp 0x10005d72
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10005d72
cmp ebp, 0xffffffff
je 0x10005d72
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x100140e4]
push dword [esi]
call fcn.10006db0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001570
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
jmp 0x100015f4
lea esp, [ebp - 4]
pop esi
pop ebp
ret
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 + 0x50], 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 + 0x4c], eax
jmp 0x10001685
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 + 0x48], eax
mov dword [esp + 0x44], ecx
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xdb1045
mov ecx, dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov dword [esp + 0x40], 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 + 0x3c], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [esp + 0x48]
sub edx, 0x2e
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
je 0x100015b0
jmp 0x1000166e
mov eax, dword [esp + 0x48]
sub eax, 1
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jne 0x100016da
jmp 0x10001685
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.1000b3b0
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 0x1000170f
mov eax, dword [esp + 0x28]
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]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
jne 0x100016da
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 0xfa
mov dword [esp + 0x54], eax
je 0x100015aa
jmp 0x100015f4

Function at 0x1000b7bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102346d0]
jne 0x1000b7c6
repz ret
jmp fcn.1000ba6d
Function at 0x1000c230
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 [0x102346a8], 0x20f3
mov dword [0x102346b4], 0
mov byte [0x102346b8], 0
mov dword [0x102346ac], 0x1f84
mov dword [0x102346b0], 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 0x1000c2ae
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x1856
mov dword [0x102346b0], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x1000c302
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffffed74
mov edx, eax
mov bl, dl
mov dword [0x102346ac], ecx
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], bl
mov eax, dword [0x102346ac]
mov edx, eax
add edx, 0x22fb
mov dword [0x102346a8], edx
mov esi, dword [0x102346b0]
add esi, 1
mov dword [0x102346b0], esi
cmp esi, 0x100
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
jl 0x1000c2ae
jmp 0x1000c291
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x23e
mov esi, 0x100
mov dword [ebp - 0x30], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x34], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x102346bc], 0
mov ebx, dword [ebp - 0x30]
mov dword [0x102346ac], ebx
mov ebx, dword [0x102346b4]
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 [0x102346bc], edi
mov eax, edi
cdq
idiv esi
mov dword [0x102346b4], edx
mov dword [0x102346a8], 0x133c
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x102346b8], bl
mov dword [0x102346ac], 0x2285
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x102346b8]
mov ecx, dword [0x102346b4]
mov byte [esi + ecx], bl
mov dword [0x102346a8], 0xce3
mov ecx, dword [0x102346b0]
add ecx, 1
mov dword [0x102346b0], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jl 0x1000c302
jmp 0x1000c289
Function at 0x1000c44c
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 [0x102346ac], 0x1669
mov dword [0x102346a8], 0x5a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1023055d]
mov dh, byte [eax + 0x1023052e]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x1000c477
lea eax, [ebp - 0x20]
mov dword [0x102346a8], 0x26eb
mov dword [0x102346ac], 0x7fc
mov dword [ebp - 0x30], eax
call fcn.1000cd87
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1000be4f
xor ecx, ecx
mov dword [0x102346a8], 0x79
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1000c598
mov dword [0x102346a8], 0xb1f
mov eax, dword [ebp - 0x34]
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 [0x102346a8], 0xc6
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000c058
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x102346a8], 0xf02
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x18], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov dword [0x102346ac], 0x123a
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1000c598
mov dword [0x102346ac], 0x1815
mov eax, dword [ebp - 0x3c]
add eax, 0x1193
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x1000c657
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x102346ac]
add ecx, 0xfffff6df
mov dword [0x102346a8], ecx
mov dword [0x102346ac], 0x1131
mov dword [ebp - 0x10], eax
call fcn.1000d164
xor ecx, ecx
mov edx, eax
mov dword [0x102346ac], 0x1283
mov dword [0x102346a8], 0x15c6
mov esi, dword [eax + 0x3c]
mov dword [0x102346ac], 0x8cd
mov esi, dword [eax + esi + 0x78]
mov dword [0x102346ac], 0x3582
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x102346a8], 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
jne 0x1000c715
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [0x102346a8], 0x2c61
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x1000c758
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
jmp 0x1000c6ef
xor eax, eax
mov ecx, dword [ebp - 0x30]
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 - 0x24], eax
mov dword [ebp - 0x28], ecx
jb 0x1000c6ef
jmp 0x1000c6e4
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x1000c7ac
jmp 0x1000c729
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x3d], cl
je 0x1000c74f
mov al, byte [ebp - 0x45]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov ah, byte [ebp - 0x3d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x3c], edx
jne 0x1000c758
jmp 0x1000c74f
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x102346ac], 0x553
mov ecx, dword [edx + ecx*4]
mov dword [0x102346a8], 0x15a4
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x1000c6e4