joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41328c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a94
xor eax, eax
push ebp
push 0x413365
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x415b14
mov edx, 0x41337c
call fcn.00403780
cmp dword [0x415b60], 0
jne 0x4132cd
call fcn.004131d0
push 2
push 0
push 0
mov eax, dword [0x415b60]
push eax
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
jne 0x4132e8
call fcn.004131d0
lea edx, [ebp - 0xc]
mov al, byte [0x415b5a]
call fcn.004054e0
push dword [ebp - 0xc]
push 0x4133d8
push dword [ebp - 4]
push 0x4133e4
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403964
mov byte [0x415b5a], 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004038a4
push eax
lea eax, [ebp - 4]
call fcn.00403afc
push eax
mov eax, dword [0x415b60]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x413347
mov dword [ebp - 8], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41336c
lea eax, [ebp - 0xc]
call fcn.0040372c
lea eax, [ebp - 4]
call fcn.0040372c
ret
Function at 0x1002aa5
Capabilities:
Accept command line arguments

Disassembly:
push 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0
call fcn.01005586
add esp, 0x10
ret

Function at 0x1002ac0
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x100a11c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x94
push esi
lea eax, [ebp - 0x98]
push 0
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x98], esi
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x98]
inc esi
push eax
mov dword [0x100a4a8], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1002b6f
push 2
pop eax
cmp dword [ebp - 0x88], eax
jne 0x1002b6f
cmp dword [ebp - 0x94], 5
jne 0x1002b52
cmp dword [ebp - 0x90], 0
je 0x1002b6a
cmp dword [ebp - 0x90], esi
jne 0x1002b3e
mov dword [0x100a4a8], 3
jmp 0x1002b6f
cmp dword [ebp - 0x90], eax
jne 0x1002b6f
mov dword [0x100a4a8], 4
jmp 0x1002b6f
cmp dword [ebp - 0x94], 6
jb 0x1002b6f
cmp dword [ebp - 0x8c], 0x1b58
sbb eax, eax
add eax, 6
mov dword [0x100a4a8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.010081a8
leave
ret

Function at 0x1002d9f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push edi
call fcn.01005727
test eax, eax
je 0x1002edf
push 0x1001758
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
mov dword [0x100a478], eax
cmp eax, edi
jne 0x1002de0
push 0x1001734
push 0x10015b8
push 0x100171c
call fcn.01007ea8
add esp, 0xc
xor eax, eax
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100170c
push eax
call esi
push 0x10016fc
push dword [0x100a478]
mov dword [0x100a484], eax
call esi
push 0x10016e4
push dword [0x100a478]
mov dword [0x100a488], eax
call esi
push 0x10016d0
push dword [0x100a478]
mov dword [0x100a48c], eax
call esi
push 0x10016c0
push dword [0x100a478]
mov dword [0x100a490], eax
call esi
push 0x10016b0
push dword [0x100a478]
mov dword [0x100a494], eax
call esi
push 0x10016a0
push dword [0x100a478]
mov dword [0x100a498], eax
call esi
push 0x100168c
push dword [0x100a478]
mov dword [0x100a49c], eax
call esi
push 0x100167c
push dword [0x100a478]
mov dword [0x100a4a0], eax
call esi
mov dword [0x100a4a4], eax
pop esi
cmp dword [0x100a484], edi
je 0x1002ec9
cmp dword [0x100a488], edi
je 0x1002ec9
cmp dword [0x100a48c], edi
je 0x1002ec9
cmp dword [0x100a490], edi
je 0x1002ec9
cmp dword [0x100a494], edi
je 0x1002ec9
cmp dword [0x100a498], edi
je 0x1002ec9
cmp dword [0x100a49c], edi
je 0x1002ec9
cmp dword [0x100a4a0], edi
je 0x1002ec9
cmp eax, edi
jne 0x1002edf
push dword [0x100a478]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x1001648
jmp 0x1002dca
xor eax, eax
inc eax
pop edi
ret
Function at 0x1003928
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100a11c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
cmp dword [0x100a4a8], ebx
jne 0x100395d
call fcn.01002ac0
cmp dword [0x100a4a8], 3
jg 0x100396b
xor eax, eax
inc eax
jmp 0x10039b0
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x10039ad
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x10039a4
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.010081a8
leave
ret

Function at 0x1005780
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
invalid
inc ebp
Function at 0x1005bbb
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1005b6f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1005b8d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1005beb
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
loop 0x1005bbd
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
loop 0x1005bbd
add byte [eax], al
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1005bd2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1005bdb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1005be5
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1005bc7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1005b51
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1005c38
dec eax
je 0x1005c2f
sub eax, 3
je 0x1005c26
mov dword [ebp - 4], 0x40
jmp 0x1005c55
mov dword [ebp - 4], 4
jmp 0x1005c3b
mov dword [ebp - 4], 0x20
jmp 0x1005c3b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1005c87
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1005c07
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.01005498
hlt
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002654
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.10002fc0
test esi, esi
jne 0x1000268a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.10003084
jmp 0x100026a8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.10002568
mov edi, eax
test esi, esi
je 0x100026a8
cmp dword [ebx], 0
je 0x100026a8
dec esi
jmp 0x10002691
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x10002764
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x1000400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x100027fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x100027dc
xor eax, eax
push ebp
push 0x100027d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x10002818
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100027dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x1000400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x1000400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x10002e44
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x10005034], 0
je 0x10002ea5
cmp word [0x10005208], 0xd7b2
jne 0x10002e6d
cmp dword [0x10005210], 0
jbe 0x10002e6d
mov eax, 0x10005204
call dword [0x10005220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x1000404c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x10002ecc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x10004018], 0
jne 0x10002ec1
push 0
push 0x1000406c
push 0x1000404c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x401000
Capabilities:
Connect pipe

Disassembly:
sub esp, 0x70
cmp dword [0x35c4cac], 0xb122d
jne 0x40102d
xor eax, eax
mov dword [esp], eax
lea eax, [esp]
push eax
push 0
push 0
call sub.KERNEL32.dll_SetConsoleDisplayMode
push 0
push 0
call fcn.004027f7
add esp, 8
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [0x35c4cc0], 0xd5555f6a
mov dword [0x35c4cc4], 0xffffffff
cmp eax, 0x607b8f
jle 0x401056
cmp ecx, 0x348fa6d0
jne 0x40105e
inc eax
cmp eax, 0x14e08faa
jl 0x401047
mov eax, dword [0x475e38]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
xor esi, esi
mov dword [0x35c4cac], eax
nop dword [eax]
cmp eax, 0x237
jne 0x40109a
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
mov eax, dword [0x35c4cac]
cmp esi, 0x2af1ae
jne 0x4010ac
add eax, 0x3fa6b
mov dword [0x35c4cac], eax
inc esi
cmp esi, 0x34172f
jl 0x401080
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x35c4cac]
mov edi, eax
mov eax, dword [0x475e2c]
xor esi, esi
mov dword [0x35c4cb0], edi
mov dword [0x35c4cb4], eax
test ecx, ecx
je 0x401102
nop dword [eax]
push esi
push eax
call fcn.0040c000
mov byte [edi + esi], al
inc esi
mov ecx, dword [0x35c4cac]
cmp esi, ecx
jae 0x401102
mov edi, dword [0x35c4cb0]
mov eax, dword [0x35c4cb4]
jmp 0x4010e0
pop edi
pop esi
pop ebx
cmp ecx, 0x932
jb 0x40113a
push 0x35c4cac
push 0x35c4cb0
call fcn.0040c070
push 0x35c4cac
push 0x35c4cb0
call fcn.0040c070
push 0x35c4cac
push 0x35c4cb0
call fcn.0040c070
call fcn.0040c020
push section..data
push dword [0x35c4cac]
push dword [0x35c4cb0]
call fcn.004011b0
add dword [0x35c4cb0], 0
add esp, 0x70
ret

Function at 0x40c020
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, dword [0x35c4cac]
cmp eax, 0xe5d
jne 0x40c050
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPagesScatter]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
mov eax, dword [0x35c4cac]
lea ecx, [esp]
push ecx
push 0x40
push eax
push dword [0x35c4cb0]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x40c070
Capabilities:
Delete registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
push dword [eax]
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [esp + 0x18]
xor esi, esi
xor edi, edi
mov ebx, eax
cmp dword [ecx], esi
jbe 0x40c113
push ebp
mov ebp, dword [esp + 0x18]
nop dword [eax]
cmp dword [0x35c4cac], 0x84
mov eax, dword [ebp]
mov cl, byte [eax + edi]
mov al, byte [eax + edi + 1]
mov byte [esp + 0x18], cl
mov byte [esp + 0x13], al
jne 0x40c0c8
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp]
mov cl, byte [eax + edi + 3]
mov dl, cl
shl dl, 6
or dl, byte [eax + edi + 2]
mov al, cl
and al, 0xf0
and cl, 0xfc
shl al, 2
add edi, 4
or al, byte [esp + 0x18]
shl cl, 4
or cl, byte [esp + 0x13]
mov byte [esi + ebx], al
mov byte [esi + ebx + 1], cl
mov ecx, dword [esp + 0x1c]
mov byte [esi + ebx + 2], dl
add esi, 3
cmp edi, dword [ecx]
jb 0x40c0a0
mov dword [ebp], ebx
pop ebp
pop edi
mov dword [ecx], esi
pop esi
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], ebx
mov dword [ecx], esi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x10001e7e
Capabilities:
Terminate process

Disassembly:
push 4
push 0x3000
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10004e33
ret
mov eax, dword [0x10024444]
test eax, eax
je 0x10004e3e
call eax
push 0x1001a570
push 2
call fcn.1000b93f
pop ecx
push eax
call fcn.1000500c
pop ecx
pop ecx
push 1
call fcn.1000d70a
int3

Function at 0x10003046
Capabilities:
Terminate process

Disassembly:
push str.could_not_load:
push 2
call fcn.1000b93f
pop ecx
push eax
call fcn.1000500c
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10004b8b
add esp, 0x10
push eax
push 2
call fcn.1000b93f
pop ecx
push eax
call fcn.1000500c
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xc1
jne 0x1000309c
push str._n_bad_format__library_may_be_wrong_architecture_
push 2
call fcn.1000b93f
pop ecx
push eax
call fcn.1000500c
pop ecx
pop ecx
push 0x1001a6ec
push 2
call fcn.1000b93f
pop ecx
push eax
call fcn.1000500c
pop ecx
pop ecx
push 1
call fcn.1000d70a
int3

Function at 0x1000360d
Capabilities:
Terminate process

Disassembly:
push esi
push str.could_not_import:
push 2
mov esi, ecx
call fcn.1000b93f
pop ecx
push eax
call fcn.1000500c
pop ecx
pop ecx
push esi
push 2
call fcn.1000b93f
pop ecx
push eax
call fcn.1000500c
pop ecx
pop ecx
push 0x1001a6ec
push 2
call fcn.1000b93f
pop ecx
push eax
call fcn.1000500c
pop ecx
pop ecx
push 1
call fcn.1000d70a
pop esi
Function at 0x10004383
Capabilities:
Write file on windows

Disassembly:
cmp dword [0x1002443c], 0
mov eax, dword fs:[0x2c]
push esi
mov esi, dword [0x10023990]
push edi
mov edi, dword [eax + esi*4]
je 0x100043e4
call fcn.1000231a
mov esi, edx
push esi
push eax
call dword [0x1002443c]
test esi, esi
je 0x100043bf
test dword [esi], 0x40000000
jne 0x100043bf
push esi
call fcn.100049da
pop ecx
cmp byte [edi + 8], 0
je 0x100043e1
lea ecx, [edi + 0x10]
mov byte [edi + 8], 0
mov edx, dword [ecx]
push 0
mov edx, dword [edx + 0x1c]
call fcn.100024f6
pop edi
pop esi
ret
pop edi
pop esi
jmp 0x100047ab
push ebx
push esi
push edi
push 2
mov edi, edx
mov ebx, ecx
call fcn.1000b93f
mov esi, eax
push esi
push edi
push 1
push ebx
call fcn.1000bfe2
push esi
call fcn.1000bd6e
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x100049da
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x10023990]
mov eax, dword fs:[0x2c]
mov edx, dword [esp + 4]
mov ecx, dword [eax + ecx*4]
add ecx, 0x40
jmp fcn.10003857

Function at 0x1000500c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x10005020
push dword [ebp + 0xc]
call fcn.1000b9f0
pop ecx
jmp 0x10005022
xor eax, eax
push dword [ebp + 8]
push eax
push 1
push dword [ebp + 0xc]
call fcn.1000bfe2
push dword [ebp + 8]
call fcn.1000bd6e
add esp, 0x14
pop ebp
ret
Function at 0x10007e36
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9c
mov eax, dword [0x100230c4]
xor eax, esp
mov dword [esp + 0x98], eax
mov edx, dword [0x10023990]
mov eax, dword fs:[0x2c]
push ebx
push ebp
push esi
mov ebx, dword [eax + edx*4]
mov esi, ecx
push edi
mov edi, 0x80
lea eax, [esp + 0x28]
push edi
push 0
add ebx, 8
push eax
mov dword [esp + 0x20], ebx
call fcn.10009c80
add esp, 0xc
mov ecx, esi
call fcn.10008234
cmp byte [ebx], 0
jne 0x10007fda
test eax, eax
je 0x10007fd5
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x3c]
push esi
call fcn.100014e9
add esp, 0xc
test al, al
je 0x10007eb5
call fcn.10004e5b
jmp 0x10007fda
mov eax, dword [esp + 0x10]
add eax, 0x78
push edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10009700
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
sete cl
test eax, eax
je 0x10007ee0
cmp dword [esp + 0x28], 0
sete cl
test cl, cl
jne 0x10007fd5
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x2c]
push esi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
mov eax, dword [esp + 0xb0]
or eax, dword [esp + 0xb4]
je 0x10007fd5
mov ebx, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [ebx + 0x18]
test ebp, ebp
js 0x10007fd5
lea eax, [esp + 0x10]
push eax
push 4
push edi
call fcn.10004af2
add esp, 0xc
test al, al
jne 0x10007eab
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
push dword [ebx + 0x20]
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
push esi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push esi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
mov ecx, dword [esp + 0x24]
call fcn.10007dbb
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0
jne 0x10007fda
cmp dword [esp + 0xb0], eax
jne 0x10007fb1
cmp dword [esp + 0xb4], edx
je 0x10007ff9
lea eax, [esp + 0x18]
push eax
push 1
push edi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
mov edi, dword [esp + 0x18]
cmp edi, ebp
jle 0x10007f23
and dword [esp + 0x10], 0
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000897c
add esp, 0x9c
ret 8
lea eax, [esp + 0x18]
push eax
push 2
push edi
call fcn.10004af2
add esp, 0xc
test al, al
jne 0x10007eab
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1c]
push dword [ebx + 0x24]
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push esi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
shl ax, 2
movzx eax, ax
push eax
push dword [ebx + 0x1c]
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push esi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
push esi
call fcn.100014e9
add esp, 0xc
test al, al
jne 0x10007eab
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10007fd5
mov dword [esp + 0x10], eax
jmp 0x10007fda
Function at 0x100080b9
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process filename

Disassembly:
sub esp, 0x1c
mov eax, dword fs:[0x2c]
push ebx
push ebp
push esi
mov esi, dword [0x10023990]
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
mov ebp, dword [eax + esi*4]
xor esi, esi
mov eax, dword fs:[0x30]
mov edi, esi
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [esp + 0x18], eax
mov ebx, dword [eax]
push dword [ebx + 0x28]
push ecx
jmp 0x10008102
mov ebx, dword [ebx]
cmp ebx, dword [esp + 0x18]
je 0x10008119
push dword [ebx + 0x28]
push dword [esp + 0x14]
call dword [0x100243e8]
test eax, eax
jne 0x100080f3
mov esi, dword [ebx + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x20]
not eax
mov ecx, eax
call fcn.10006ce8
cmp byte [ebp + 8], 0
jne 0x100081f7
test al, al
jne 0x1000810f
push dword [0x1001a98c]
push dword [0x1001a988]
call fcn.10007731
cmp byte [ebp + 8], 0
jne 0x100081f7
xor edx, edx
mov ecx, eax
call fcn.100080b9
cmp byte [ebp + 8], 0
jne 0x100081f7
push esi
push 0xd02065c1
xor edx, edx
mov ecx, eax
call fcn.10007e36
cmp byte [ebp + 8], 0
mov dword [esp + 0x20], eax
jne 0x100081f7
test eax, eax
je 0x1000810f
push 8
lea eax, [esp + 0x28]
push esi
push eax
call fcn.10009c80
add esp, 0xc
mov ebx, dword [esp + 0x10]
push ebx
mov dword [esp + 0x2c], ebx
call dword [0x100243dc]
test eax, eax
js 0x10008217
mov edx, eax
mov ecx, ebx
call fcn.1000734d
mov edi, edx
mov cl, byte [ebp + 8]
test cl, cl
jne 0x100081f7
add eax, eax
mov dword [esp + 0x14], esi
mov word [esp + 0x24], ax
add eax, 2
mov word [esp + 0x26], ax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push esi
push esi
call dword [esp + 0x30]
cmp byte [ebp + 8], 0
jne 0x100081f7
test eax, eax
js 0x100081f7
mov esi, dword [esp + 0x14]
test edi, edi
je 0x1000810f
test dword [edi], 0x40000000
jne 0x1000810f
push edi
call fcn.100049f8
pop ecx
jmp 0x1000810f
push esi
push 0x7fffffff
push esi
cdq
push esi
push edx
push eax
call fcn.10004e9e
mov edi, dword [esp + 0x40]
add esp, 0x18
mov eax, dword [esp + 0x24]
jmp 0x100081b9

Function at 0x10008234
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
test ecx, ecx
je 0x1000827b
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1000827b
lea eax, [ebp - 4]
push eax
push dword [ecx + 0x3c]
push ecx
call fcn.100014e9
add esp, 0xc
test al, al
je 0x10008264
call fcn.10004e5b
mov eax, dword [ebp - 4]
leave
ret
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
jne 0x1000827b
movzx eax, word [eax + 0x16]
shr eax, 0xd
and eax, 1
leave
ret
xor eax, eax
leave
ret