joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437820
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468633
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045c454
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00461aed
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463009
test eax, eax
je 0x43793c
mov ecx, dword [esp + 0x3c]
call fcn.00461b1a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x437900
push edi
mov ecx, esi
call fcn.0045f18a
mov ecx, esi
call fcn.00437aa0
cmp dword [esp + 0x38], 1
jne 0x437935
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045f2c5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43a360
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a393
push esi
call fcn.0043d470
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a38c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a419
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a402
mov eax, dword [esi + 8]
test eax, eax
je 0x43a3b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a3fe
cmp eax, 2
je 0x43a402
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a3aa
cmp eax, 3
je 0x43a3dd
cmp eax, 1
jne 0x43a3aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43a3aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a3aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a440
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a428
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a440
add esp, 4
pop esi
ret
Function at 0x446ff0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44703a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x447069
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x4470ab
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x45d24a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d282
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045b301
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b2d9
jmp 0x45d28e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45e944
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45e986
call fcn.004643ef
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45e986
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45e97d
xor eax, eax
jmp 0x45e98e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045e994
pop edi
pop esi
pop ebx
ret 4

Function at 0x46491f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46494d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46496b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00464885
jmp 0x46496b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46496b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00464885
test edi, edi
mov eax, edi
jne 0x464955
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Accept command line arguments
Link many functions at runtime

Disassembly:
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.d3d10.dll
mov ebx, eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46fbd0], eax
test eax, eax
je 0x401155
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x46fbd0]
push str.D3D10CreateStateBlock
push ecx
mov ebx, eax
call esi
mov edx, dword [0x46fbd0]
push str.D3D10CreateDevice
push edx
mov dword [0x46fbdc], eax
call esi
mov dword [0x46fbac], eax
mov eax, dword [0x46fbd0]
push str.D3D10StateBlockMaskUnion
push eax
call esi
mov ecx, dword [0x46fbd0]
push str.D3D10StateBlockMaskIntersect
push ecx
mov dword [0x46fbd8], eax
call esi
mov edx, dword [0x46fbd0]
push str.D3D10StateBlockMaskDifference
push edx
mov dword [0x46fbb8], eax
call esi
mov dword [0x46fbec], eax
mov eax, dword [0x46fbd0]
push str.D3D10StateBlockMaskEnableCapture
push eax
call esi
mov ecx, dword [0x46fbd0]
push str.D3D10StateBlockMaskDisableCapture
push ecx
mov dword [0x46fbd4], eax
call esi
mov edx, dword [0x46fbd0]
push str.D3D10StateBlockMaskEnableAll
push edx
mov dword [0x46fbb4], eax
call esi
mov dword [0x46fba8], eax
mov eax, dword [0x46fbd0]
push str.D3D10StateBlockMaskDisableAll
push eax
call esi
mov ecx, dword [0x46fbd0]
push str.D3D10StateBlockMaskGetSetting
push ecx
mov dword [0x46fbe8], eax
call esi
test ebx, ebx
mov dword [0x46fbb0], eax
je 0x40110b
mov edx, dword [0x46e99c]
push 0x46e69c
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [0x46fbd0]
push str.D3D10CompileEffectFromMemory
push eax
call esi
mov ecx, dword [0x46fbd0]
push str.D3D10CreateEffectFromMemory
push ecx
mov dword [0x46fba4], eax
call esi
mov edx, dword [0x46fbd0]
push str.D3D10CreateEffectPoolFromMemory
push edx
mov dword [0x46fba0], eax
call esi
mov dword [0x46fbe0], eax
mov eax, dword [0x46fbd0]
push str.D3D10CreateDeviceAndSwapChain
push eax
call esi
mov dword [0x46eac0], eax
push str.d3dx10.dll
call edi
test eax, eax
mov dword [0x46f394], eax
je 0x401185
push str.D3DXMatrixPerspectiveFovLH
push eax
call esi
mov ecx, dword [0x46f394]
push str.D3DXMatrixLookAtLH
push ecx
mov dword [0x46eac8], eax
call esi
mov dword [0x46eac4], eax
push str.dxgi.dll
call edi
test eax, eax
mov dword [0x46fb9c], eax
je 0x4011a2
push str.CreateDXGIFactory
push eax
call esi
mov dword [0x46f390], eax
push str.d3d10_1.dll
call edi
test eax, eax
mov dword [0x46fb98], eax
je 0x4011d7
push str.D3D10CreateDevice1
push eax
call esi
mov edx, dword [0x46fb98]
push str.D3D10CreateDeviceAndSwapChain1
push edx
mov dword [0x46f38c], eax
call esi
mov dword [0x46eacc], eax
mov eax, dword [0x46fb98]
mov ecx, dword [0x46fbd0]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x401200
mov ecx, dword [0x46f394]
test ecx, ecx
je 0x401200
mov ecx, dword [0x46fb9c]
test ecx, ecx
je 0x401200
test eax, eax
je 0x401200
mov al, 1
pop ecx
ret
xor al, al
pop ecx
ret
Function at 0x4250eb
Capabilities:
Encode data using xor

Disassembly:
salc
or byte [ebx + 0x4ad573be], ah
cmp eax, 0x28770bf3
mov byte [0x68545ee0], al
dec esp
xor ebp, dword [eax + 0x2530b3b]
dec eax
push ss
mov ecx, 0xb7cfc987
mov bl, 0xae
invalid
jecxz 0x425089
pop edi
jae 0x42514f
and byte [esi], al
invalid
les ebx, [edi]
sub esi, dword [edx]
inc ebp
arpl di, sp
out 0xff, eax
pop edi
xor al, 0xda
je 0x4250e5
div byte [edx - 0x61ed2e2b]
out 0xff, eax
pop edi
xor al, 0xda
je 0x4250e5
div byte [edx - 0x61ed2e2b]
mov dl, 0x42
pop edx
push es
outsd dx, dword [esi]
pop ss
add dword [ebx + 0x3b], ebp
push es
aad 0xef
aaa
sar esi, 0x33
sti
jb 0x425135
insd dword es:[edi], dx
lahf
imul ebx, dword [ecx], 0xaca21f72
inc esp
invalid
jl 0x4250d4
or eax, 0x5f1a0b90
mov edx, 0x8f9289ee
hlt
cmp dh, byte [ecx - 0x2d732fdd]
adc ch, byte [edx - 0x603ec129]
adc eax, dword [eax + 0x3c]
lcall 0x833c, 0xf112ba0c
das
pop edi
lea esi, [eax - 0x326e5b]
movsd dword es:[edi], dword [esi]
xchg ecx, eax
int 0xff
cmp al, 0x5e
xor edi, dword [edi + 0x6f]
mov eax, dword [0x6457ebc]
or eax, 0xc28e237f
xchg esp, eax
lodsb al, byte [esi]
scasd eax, dword es:[edi]
jl 0x42514b
pop edi
jb 0x425126
pop es
lahf
ret 0xf82
Function at 0x1000768d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x102b2b9c], 0x37a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100088f4
lea ecx, [0x100077c9]
mov edx, dword [0x102b2b9c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x30], esi
add edx, 0xffffdcc0
mov dword [0x102b2b9c], edx
mov dword [esp + 0x60], 0x14d400
mov edx, dword [0x102b2b88]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102b2b8c]
mov dword [esp + 0x4c], edx
mov edx, dword [0x102b2b90]
mov dword [esp + 0x70], edx
mov edx, dword [0x102b2b94]
mov dword [esp + 0x3c], edx
mov edx, dword [0x102b2b98]
mov dword [esp + 0x50], edx
mov dword [0x102b2ba0], 0x1a2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x10007796
jmp 0x100077b2
mov eax, dword [esp + 0xc]
add eax, 0x50
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
mov dword [0x102b2b9c], 0xd16
add ecx, eax
mov dword [esp + 8], ecx
lea eax, [esp + 0x30]
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.10008785
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102b2b9c], 0x4fd
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp dword [eax + ecx], 0x4550
je 0x10007735
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10007724
Function at 0x10007e0e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [0x102b2ba0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1064
mov dword [0x102b2b9c], ecx
mov dword [0x102b2ba8], 0
mov byte [0x102b2bac], 0
mov dword [0x102b2ba0], 0x1215
mov dword [0x102b2ba4], 0
mov dword [ebp - 0x20], eax
jmp 0x10007e97
xor eax, eax
mov dword [0x102b2b9c], 0x1408
mov dword [0x102b2ba4], 0
mov ecx, dword [0x102b2ba0]
add ecx, 0xffffd9c5
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x10007ebf
mov eax, dword [ebp - 0x20]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102b2ba4]
add eax, 1
mov dword [0x102b2ba4], eax
cmp eax, 0x100
mov dword [ebp - 0x20], eax
jl 0x10007e97
jmp 0x10007e6d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0xffffdcb5
mov esi, 0x100
mov edi, dword [0x102b2ba8]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov eax, ebx
cdq
idiv esi
mov dword [0x102b2ba8], edx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov bl, byte [esi + ebx]
mov byte [0x102b2bac], bl
mov dword [0x102b2ba0], ecx
mov bl, byte [esi + edx]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + ecx], bl
mov edx, dword [0x102b2b9c]
add edx, 0x2328
mov dword [0x102b2b9c], edx
mov bl, byte [0x102b2bac]
mov edx, dword [0x102b2ba8]
mov byte [esi + edx], bl
mov dword [0x102b2ba0], 0x2f0
mov edx, dword [0x102b2ba4]
add edx, 1
mov dword [0x102b2ba4], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x10007ebf
mov dword [0x102b2ba0], 0x2133
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2c87
mov ebx, 0x1d5a
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [0x102b2ba4], 0
mov dword [0x102b2ba8], 0
mov dword [0x102b2bb0], 0
mov dword [0x102b2b9c], 0x1d5a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
jne 0x1000801a
mov eax, dword [ebp - 0x30]
mov dword [0x102b2b9c], eax
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov edi, 0x100
add esi, 0xfffff6df
mov ebx, eax
add ebx, 1
add edx, 1
mov dword [ebp - 0x38], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102b2ba4], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x102b2ba8], edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov cl, byte [ecx + edi]
mov byte [0x102b2bac], cl
mov dword [0x102b2b9c], esi
mov esi, dword [ebp - 0x2c]
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov dword [0x102b2ba0], 0x63b
mov cl, byte [0x102b2bac]
mov edx, dword [0x102b2ba8]
mov byte [esi + edx], cl
mov dword [0x102b2b9c], 0xbac
mov edx, dword [0x102b2ba4]
movzx edx, byte [esi + edx]
mov ecx, dword [0x102b2ba8]
movzx ecx, byte [esi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102b2bb0], ecx
mov dword [0x102b2b9c], 0x1236
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov dl, byte [edx + esi]
mov esi, dword [ebp - 0x2c]
xor dl, byte [esi + ecx]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x38]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x44], ebx
je 0x10008123
mov eax, dword [0x102b2ba4]
mov dword [ebp - 0x48], eax
mov eax, dword [0x102b2ba8]
mov ecx, dword [0x102b2b9c]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
jmp 0x1000801a
mov eax, dword [0x102b2b9c]
add eax, 0xf2d
mov dword [ebp - 0x30], eax
jmp 0x1000800a
Function at 0x10008268
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10008135
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100082a4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x102b2b9c], 0xfffff751
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x102b2ba0], 0xffffe77b
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x100083f1
jmp 0x10008353
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x34], eax
jb 0x10008369
jmp 0x100083f1
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x24]
add edx, 0x1c
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
add eax, dword [eax + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x50]
add edx, dword [eax + esi*4]
mov dword [ebp - 0x34], edx
jmp 0x100083f1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
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 - 0x64], eax
mov byte [ebp - 0x65], bh
mov byte [ebp - 0x66], cl
je 0x100083e1
mov eax, dword [ebp - 0x64]
add eax, 1
mov cl, byte [ebp - 0x65]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x66]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x6d], ch
mov al, byte [ebp - 0x6d]
test al, 1
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x60], ecx
jne 0x10008383
jmp 0x100083e1
mov al, byte [ebp - 0x66]
test al, 1
jne 0x10008324
jmp 0x100082f0
mov eax, dword [ebp - 0x34]
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008785
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x102b2ba0]
add esi, 0xfffff0b4
mov dword [0x102b2ba0], esi
mov dword [0x102b2b9c], 0x13ed
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10008879
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [0x102b2b9c]
add eax, 0xffffe855
mov dword [0x102b2b9c], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10007b4d
xor eax, eax
mov dword [0x102b2ba0], 0x26a5
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x24], ecx
mov esi, dword [0x102b2ba0]
add esi, 0x236
mov dword [0x102b2b9c], esi
add ecx, 0x250f
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10008870
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x54
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10277846]
mov dl, byte [eax + 0x10277817]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10008879
lea eax, [ebp - 0x24]
mov dword [0x102b2ba0], 0x18e3
mov dword [ebp - 0x48], eax
call fcn.10008518
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
call fcn.10008613
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x100087be
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret