joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ab3e0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x100ab411
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.10025390
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100ab51c
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebp]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x1c], eax
cmp ebx, esi
jne 0x100ab4a2
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100ab50b
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100ab4d5
mov eax, dword [eax]
cmp eax, ecx
je 0x100ab4cc
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
jmp 0x100ab50b
cmp ebx, eax
je 0x100ab4ec
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x100ab526
cmp ebx, eax
jne 0x100ab4e0
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [esp + 0x14]
mov ecx, edx
lea ebp, [ebx + 0xc]
cmp edx, esi
jne 0x100ab450
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100ab50b
Function at 0x100ab550
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x1fffffff
bsr ecx, eax
push ebx
push ebp
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jbe 0x100ab578
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x101fb45c]
or eax, 1
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x101fb464
lea eax, [edi + edi]
push eax
call fcn.10025390
mov ecx, dword [0x101fb45c]
lea ebx, [edi - 1]
mov dword [0x101fb470], ebx
mov dword [0x101fb474], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100ab6a0
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x101fb464]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x14], eax
cmp ebx, esi
jne 0x100ab611
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100ab673
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100ab644
mov eax, dword [eax]
cmp eax, ecx
je 0x100ab63b
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x100ab673
cmp ebx, eax
je 0x100ab654
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x100ab684
cmp ebx, eax
jne 0x100ab648
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x100ab6a0
mov ebx, dword [0x101fb470]
jmp 0x100ab5c0
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100ab673
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x101094d0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x101094e6
lea eax, [esi + 0x28]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10109515
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 8], ecx
test eax, eax
je 0x101095fc
mov edx, dword [ebp - 8]
test edx, edx
jg 0x101095fc
mov eax, dword [ebp - 0xc]
jl 0x1010954d
cmp eax, 0x7fffffff
ja 0x101095fc
or eax, edx
je 0x101095fc
push 0
push 0
push 0
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x101095f9
mov ecx, dword [ebp - 0xc]
push 0
push 0
push 0
push 4
push edi
mov dword [esi + 4], ecx
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov dword [esi], eax
call dword [ebp + 8]
cmp dword [esi], 0
je 0x101095a1
mov eax, 0x10109680
jmp 0x10109624
push dword [esi + 4]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x101095f5
xor edi, edi
lea ecx, [ebp - 4]
push edi
push ecx
push dword [esi + 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101095eb
add edi, dword [ebp - 4]
mov eax, dword [esi + 4]
cmp edi, eax
je 0x1010961f
push 0
lea ecx, [ebp - 4]
sub eax, edi
push ecx
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x101095c8
push dword [esi]
call fcn.1010f0b3
add esp, 4
push ebx
call dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ebx
call ecx
pop edi
pop ebx
mov dword [esi], 0
mov eax, 0x51
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x10109650
push ebx
mov dword [esi + 0x18], eax
call dword [ebp + 8]
mov eax, dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi + 0x10], eax
xor eax, eax
pop ebx
mov dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1010da04
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1010da2b
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1010da2e
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1010d9e0
pop esi
leave
ret 8
Function at 0x451d44
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466bb4]
cmp dword [eax + 0x30], 0
je 0x451dee
cmp dword [ebx + 0x94], 0
jne 0x451de8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451cd4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451de8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451dae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451de8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00416e68
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451dbd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452950
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452985
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404034
jmp 0x452992
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f98
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4539e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453a25
mov eax, esi
call fcn.0043a1ac
test al, al
je 0x453a25
mov eax, dword [ebx + 0x84]
call fcn.00439ea8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453a25
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439ea8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x529e10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x124000]
push edi
jmp 0x529e2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x529e31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x529e20
mov eax, 1
add ebx, ebx
jne 0x529e43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x529e54
jne 0x529e73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x529e73
dec eax
add ebx, ebx
jne 0x529e60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x529e38
add ebx, ebx
jne 0x529e6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x529ec5
xor ecx, ecx
sub eax, 3
jb 0x529e8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x529efa
sar eax, 1
mov ebp, eax
jmp 0x529e96
add ebx, ebx
jne 0x529e96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x529e64
inc ecx
add ebx, ebx
jne 0x529ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x529e64
add ebx, ebx
jne 0x529eb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x529ea6
jne 0x529ec2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x529ea6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x529ee4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x529ed6
jmp 0x529e26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x529ee4
add edi, ecx
jmp 0x529e26
pop esi
mov edi, esi
mov ecx, 0x28d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x529f02
cmp byte [edi], 1
jne 0x529f02
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x529f07
lea edi, [esi + 0x127000]
mov eax, dword [edi]
or eax, eax
je 0x529f7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12fd7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12fe1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x529f34
mov ecx, edi
jns 0x529f63
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12fe20]
or eax, eax
je 0x529f79
mov dword [ebx], eax
add ebx, 4
jmp 0x529f51
call dword [esi + 0x12fe30]
mov ebp, dword [esi + 0x12fe24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x529fb3
sub esp, 0xffffff80
jmp 0x4034cc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xb0b540b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [ebx], edi
push eax
push dword [ebp - 4]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
pop ebx
leave
ret

Function at 0xb0bfd14
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
pushal
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [0xb08e3bc]
add esp, 8
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0xb0c0a75
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0x2c]
push ebx
xor ebx, ebx
mov ecx, dword [eax]
mov eax, dword [0xb065f3c]
cmp eax, dword [ecx + 0x98]
jg 0xb0c0aab
jmp 0xb0c0a90
pop esi
cmp dword [0xb065f40], ebx
je 0xb0c0aa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0xb0c0aa7
mov bl, 1
mov al, bl
pop ebx
ret
push esi
mov esi, 0xb065f3c
push esi
call fcn.0b0f3271
pop ecx
cmp dword [0xb065f3c], 0xffffffff
jne 0xb0c0a8f
push 0xb08e400
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0xb11cd18
mov dword [0xb065f40], eax
call fcn.0b0f31e0
push esi
call fcn.0b0f3220
pop ecx
pop ecx
jmp 0xb0c0a8f

Function at 0xb0c1abd
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
push 0x40
push 1
push edi
mov bl, dl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov byte [edi], bl
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
pop ebx
leave
ret

Function at 0xb0c281e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0xb0c2841
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0xb0c282f
mov eax, ecx
pop esi
pop ebp
ret
Function at 0xb0ceac3
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
pushal
mov eax, dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [0xb0a6a7c]
add esp, 8
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0xb0cf1f3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp dword [eax + 0x10], 0
je 0xb0cf2ac
cmp dword [eax + 0x14], 0xf
jbe 0xb0cf20e
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0b0dec8e
test al, al
je 0xb0cf2ac
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0b0cf2b3
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
push edi
call fcn.0b0cf35c
push ecx
push edi
call fcn.0b0cf5ad
lea eax, [ebp + 8]
mov ecx, edi
push eax
push 0x40
push 0x1000
call fcn.0b0debae
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp + 0xc]
call fcn.0b0debc4
mov ecx, edi
mov esi, eax
call fcn.0b0debc4
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
mov dword [eax + 0x68], ecx
lea ecx, [ebp + 0xc]
mov dword [eax + 0x6c], edx
call fcn.0b0debae
movzx ecx, word [eax + 6]
imul ecx, ecx, 0x28
add ecx, 0xf8
push ecx
push eax
mov ecx, edi
call fcn.0b0debae
push eax
call fcn.0b0f4730
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.0b0dec75
add eax, dword [edi]
pop edi
jmp 0xb0cf2ae
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0xb0cf2b3
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x24
mov eax, 0xb11b9a8
call fcn.0b0f3923
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.0b0debdd
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
cmp esi, ebx
je 0xb0cf330
mov edx, dword [ebp + 0xc]
mov edi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
mov eax, dword [eax]
add ecx, eax
mov dword [ebp - 0x10], ecx
add eax, 0xa000000
mov ecx, dword [edi + 0x14]
add ecx, dword [edx]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
jae 0xb0cf340
cmp dword [edi + 0x10], 0
jbe 0xb0cf329
lea eax, [ebp - 0x18]
push eax
push 0x40
push dword [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [edi + 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0b0f4730
mov edx, dword [ebp + 0xc]
add esp, 0xc
add esi, 4
cmp esi, ebx
jne 0xb0cf2dc
lea ecx, [ebp - 0x24]
call fcn.0b0c8a1b
call fcn.0b0f3900
ret 8
push 0xb0a6b94
lea ecx, [ebp - 0x30]
call fcn.0b0bf69b
push 0xb0b2ca4
lea eax, [ebp - 0x30]
push eax
call fcn.0b0f46be
int3
Function at 0xb0cf5ad
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0b0debc4
cmp dword [eax + 0xac], 0
je 0xb0cf6b2
push ebx
push edi
call fcn.0b0cf8cb
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.0b0debc4
mov ecx, dword [eax + 0xa8]
add ecx, dword [esi]
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
sub ebx, eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 4]
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 4
push esi
call edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0xc]
test esi, esi
je 0xb0cf669
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call edi
and dword [esi], 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 4
push esi
call edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push dword [ebp - 8]
call edi
mov eax, dword fs:[0x2c]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
push ebx
push esi
push dword [eax + ecx*4]
call fcn.0b0f4730
push ebx
push esi
push dword [ebp - 8]
call fcn.0b0f4730
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
add esp, 0x18
push eax
push 4
push 0x18
push ebx
call edi
mov esi, dword [ebp - 0x18]
mov edi, ebx
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0xb0cfda6
Capabilities:
Set current directory

Disassembly:
push 0x28
mov eax, 0xb11bb7b
call fcn.0b0f398c
push 0xb0cfafd
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 1
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
call fcn.0b0cfd0d
push ebx
call fcn.0b101189
pop ecx
mov edi, eax
mov dword [ebp - 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul esi, eax
not esi
xor esi, edi
push esi
call fcn.0b101177
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 1
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
mov dword [esp], 0xb0a6d24
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0b10114e
add esp, 0xc
test eax, eax
jne 0xb0cfe4a
cmp dword [ebp - 0x18], eax
je 0xb0cfe4a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
push dword [ebp - 0x18]
call fcn.0b0f7cf5
pop ecx
call fcn.0b0ced4d
test al, al
jne 0xb0cfe5c
mov dword [ebp - 4], 2
jmp 0xb0cfe77
call fcn.0b0cfc81
mov esi, eax
test esi, esi
je 0xb0cfeca
call fcn.0b0ced9e
test al, al
jne 0xb0cfe86
mov dword [ebp - 4], 3
cmp byte [ebp - 0x11], 0
je 0xb0cfe82
call fcn.0b0cedf4
xor eax, eax
jmp 0xb0cfec4
mov byte [ebp - 0x11], bl
or dword [ebp - 4], 0xffffffff
call esi
jmp 0xb0cfec4
call fcn.0b0f3900
ret
push 0xb0a6d30
lea ecx, [ebp - 0x34]
call fcn.0b0bf69b
push 0xb0b2ca4
lea eax, [ebp - 0x34]
push eax
call fcn.0b0f46be
int3