joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61e7bddd
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov edi, edx
lea esi, [ebx + edi*4]
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x20], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov dword [ebp - 0x1c], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
jne 0x61e7be3a
mov eax, dword [ebx + 8]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + edi*4 - 0x20]
mov dword [esp + 4], eax
call sym._rtreeCheckPrepare
mov dword [esi + 0x18], eax
cmp dword [ebx + 0x28], 0
jne 0x61e7bf3a
mov esi, dword [esi + 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 1
mov dword [esp + 0xc], edx
mov dword [esp], esi
mov dword [esp + 8], eax
call sym.sqlite3.dll_sqlite3_bind_int64
mov dword [esp], esi
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x65
jne 0x61e7beb3
test edi, edi
mov edx, str.__parent
mov eax, str.__rowid
cmove eax, edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], str.Mapping___lld_____lld__missing_from__s_table
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
call sym._rtreeCheckAppendMsg
jmp 0x61e7bf29
cmp eax, 0x64
jne 0x61e7bf29
mov dword [esp + 4], 0
mov dword [esp], esi
call sym.sqlite3.dll_sqlite3_column_int64
cmp dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
jne 0x61e7bed5
cmp dword [ebp - 0x34], eax
je 0x61e7bf29
test edi, edi
mov ecx, str.__rowid
mov edi, str.__parent
cmovne edi, ecx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x34]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x14], eax
mov eax, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edi
mov dword [esp + 8], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov dword [esp], ebx
call sym._rtreeCheckAppendMsg
mov dword [esp], esi
call sym.sqlite3.dll_sqlite3_reset
cmp dword [ebx + 0x28], 0
jne 0x61e7bf3a
mov dword [ebx + 0x28], eax
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x61e90840
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x61ea970c
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable

Function at 0x61e908a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x61eaa7d8]
test esi, esi
jle 0x61e9098d
mov edi, dword [0x61eaa7dc]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x61e908d4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x61e90986
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x61e908c0
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x61e909ca
lea ebx, [esi + esi*2]
mov esi, dword [0x61eaa7dc]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x61eaa7dc]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x61e909aa
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x61e9097f
sub eax, 0x40
and eax, 0xffffffbf
je 0x61e9097f
mov eax, dword [esp + 0x20]
add ebx, dword [0x61eaa7dc]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x61e90994
add dword [0x61eaa7d8], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x61e908de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
mov eax, dword [0x61eaa7dc]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
Function at 0x61e952be
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, ecx
mov esi, eax
mov ebx, edx
sub esp, 0x2c
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.sqlite_master
mov dword [esp + 8], edx
mov dword [esp + 4], str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov dword [esp], eax
call sym._sqlite3NestedParse
test edi, edi
jne 0x61e95311
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.sqlite_master
mov dword [esp + 4], str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov dword [esp], esi
call sym._sqlite3NestedParse
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4a91d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x69000]
push edi
or ebp, 0xffffffff
jmp 0x4a91f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a91f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a91e8
mov eax, 1
add ebx, ebx
jne 0x4a920b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a921c
jne 0x4a923b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a923b
dec eax
add ebx, ebx
jne 0x4a9228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a9200
add ebx, ebx
jne 0x4a9237
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a928d
xor ecx, ecx
sub eax, 3
jb 0x4a9253
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a92c2
sar eax, 1
mov ebp, eax
jmp 0x4a925e
add ebx, ebx
jne 0x4a925e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a922c
inc ecx
add ebx, ebx
jne 0x4a926c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a922c
add ebx, ebx
jne 0x4a9279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a926e
jne 0x4a928a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a926e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a92ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a929e
jmp 0x4a91ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a92ac
add edi, ecx
jmp 0x4a91ee
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a92ca
cmp byte [edi], 0x4c
jne 0x4a92ca
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 0x4a92cf
lea edi, [esi + 0xa5000]
mov eax, dword [edi]
or eax, eax
je 0x4a9347
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xaab9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xaacf0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a92fc
mov ecx, edi
jns 0x4a932b
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 + 0xaacf4]
or eax, eax
je 0x4a9341
mov dword [ebx], eax
add ebx, 4
jmp 0x4a9319
call dword [esi + 0xaad04]
mov ebp, dword [esi + 0xaacf8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4a937b
sub esp, 0xffffff80
jmp 0x417770
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x6c515890
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x3c2b4b60
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
stosd dword es:[edi], eax
and dword [ebx + eax*2 - 0x50668997], ebx
xchg esi, eax
push esp
mov ebp, 0x90d6015c
Function at 0x405ee9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405f0d
xor eax, eax
test eax, eax
je 0x405f1f
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405f1f
xor ecx, ecx
jmp 0x405f22
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x405fc6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c634], 0
push esi
jne 0x405ffd
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405fd7
mov dword [ecx*4 + 0x42c630], eax
inc ecx
cmp ecx, 0x100
jl 0x405fd2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40602e
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c630]
xor eax, esi
inc ecx
dec edx
jne 0x406010
pop edi
not eax
pop esi
ret 0xc

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
mov ecx, 0x68fe5e2d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x176d56d2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x416590
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x7be9b8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x38]
push esi
call fcn.00416690
add esp, 4
mov ebp, eax
push dword [ebp + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
movzx ecx, word [ebp + 8]
push 0
push ebp
push eax
push ecx
push 0
push esi
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, 0x4d42
mov word [esp + 0x18], ax
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x20]
push 0
push 0x80
push 2
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 0x14]
add ecx, 0xe
add eax, ecx
mov dword [esp + 0x26], eax
xor eax, eax
mov dword [esp + 0x2a], eax
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp]
push 0
push 0
push 0xc0000000
lea eax, [eax + ecx*4]
add eax, 0xe
push ebx
mov dword [esp + 0x3e], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
push 0
lea eax, [esp + 0x14]
push eax
push 0xe
lea eax, [esp + 0x24]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 0x20]
lea eax, [eax*4 + 0x28]
push eax
push ebp
push edi
call esi
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push dword [ebp + 0x14]
push ebx
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov ecx, dword [esp + 0x20]
pop ebp
pop ebx
xor ecx, esp
call fcn.004daa4c
add esp, 0x1c
ret
Function at 0x41b510
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
push 0x40
push 0x3000
push 0x5d
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, ecx
mov edx, fcn.0046e340
shr eax, 8
sub edx, esi
mov byte [esi + 5], al
mov eax, ecx
mov byte [esi + 4], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 7], cl
mov ecx, fcn.0046e9a0
mov byte [esi + 6], al
sub ecx, esi
sub ecx, 0xd
mov dword [esi], 0x68e58955
mov eax, ecx
mov byte [esi + 9], cl
shr eax, 8
mov byte [esi + 0xa], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 0xc], cl
mov ecx, fcn.0046e6a0
mov byte [esi + 0xb], al
sub ecx, esi
sub ecx, 0x15
mov byte [esi + 8], 0xe8
mov eax, ecx
mov byte [esi + 0x11], cl
shr eax, 8
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x13], al
mov byte [esi + 0x14], cl
lea ecx, [edx - 0x1e]
mov eax, ecx
mov byte [esi + 0x1a], cl
shr eax, 8
mov byte [esi + 0x1b], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x1c], al
mov byte [esi + 0x1d], cl
lea ecx, [edx - 0x2a]
mov eax, ecx
mov byte [esi + 0x26], cl
shr eax, 8
mov byte [esi + 0x27], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov dword [esi + 0xd], 0xe804c483
mov dword [esi + 0x15], 0x5008458b
mov byte [esi + 0x19], 0xe8
mov dword [esi + 0x1e], 0x8b04c483
mov dword [esi + 0x22], 0xe8500c45
mov dword [esi + 0x2a], 0x8b04c483
mov dword [esi + 0x2e], 0xe8501045
mov dword [esi + 0x36], 0x8b04c483
mov dword [esi + 0x3a], 0xe8501445
mov dword [esi + 0x42], 0x6a04c483
mov word [esi + 0x46], 0xe804
mov dword [esi + 0x4c], 0x6a04c483
mov word [esi + 0x50], 0xe8ff
mov dword [esi + 0x56], 0x5d04c483
mov word [esi + 0x5a], 0x10c2
mov byte [esi + 0x5c], 0
mov byte [esi + 0x28], al
mov byte [esi + 0x29], cl
lea ecx, [edx - 0x36]
mov eax, ecx
mov byte [esi + 0x32], cl
shr eax, 8
mov byte [esi + 0x33], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x34], al
mov byte [esi + 0x35], cl
lea ecx, [edx - 0x42]
mov eax, ecx
mov byte [esi + 0x3e], cl
shr eax, 8
mov byte [esi + 0x3f], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x41], cl
mov ecx, fcn.00466f30
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x40], al
sub ecx, 0x4c
mov eax, ecx
mov byte [esi + 0x48], cl
shr eax, 8
mov byte [esi + 0x49], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x4b], cl
mov ecx, fcn.00460c40
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x4a], al
sub ecx, 0x56
mov eax, ecx
mov byte [esi + 0x52], cl
shr eax, 8
mov byte [esi + 0x53], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x54], al
lea eax, [esp + 4]
push eax
push 0x10
push 0x5d
shr ecx, 0x18
push esi
mov byte [esi + 0x55], cl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ecx
ret
Function at 0x41b6d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
push 0x40
push 0x3000
push 0x63
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, ecx
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, dword [esp + 0x10]
mov byte [esi + 4], cl
shr ecx, 0x18
mov byte [esi + 7], cl
mov dword [esi + 8], 0xe8
mov dword [esi + 0x10], 0x68
mov dword [esi + 0x14], 0xe800
mov dword [esi + 0x18], 0xc4830000
mov dword [esi + 0x20], 0xe850
mov dword [esi + 0xc], 0x4c48300
mov dword [esi], 0x68e58955
mov dword [esi + 0x1c], 0x8458b04
mov dword [esi + 0x24], 0xc4830000
mov dword [esi + 0x28], 0xc458b04
mov dword [esi + 0x2c], 0xe850
mov dword [esi + 0x30], 0xc4830000
mov dword [esi + 0x34], 0x10458b04
mov dword [esi + 0x38], 0xe850
mov dword [esi + 0x3c], 0xc4830000
mov dword [esi + 0x40], 0xe8036a04
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0x6a04c483
mov dword [esi + 0x4c], 0xe8ff
mov dword [esi + 0x50], 0xc4830000
mov dword [esi + 0x54], 0xcc25d04
mov byte [esi + 0x58], 0
mov ecx, dword [eax + 8]
mov eax, ecx
shr eax, 8
mov byte [esi + 0x12], al
mov eax, ecx
mov byte [esi + 0x11], cl
shr ecx, 0x18
mov byte [esi + 0x14], cl
mov ecx, fcn.0046e9a0
shr eax, 0x10
sub ecx, esi
sub ecx, 0xd
mov byte [esi + 0x13], al
mov eax, ecx
mov byte [esi + 9], cl
shr eax, 8
mov byte [esi + 0xa], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0xc], cl
mov ecx, fcn.00452460
shr eax, 0x10
sub ecx, esi
sub ecx, 0x1a
mov byte [esi + 0xb], al
mov eax, ecx
mov byte [esi + 0x16], cl
shr eax, 8
mov byte [esi + 0x17], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x19], cl
mov ecx, fcn.0046e340
shr eax, 0x10
sub ecx, esi
sub ecx, 0x26
mov byte [esi + 0x18], al
mov eax, ecx
mov byte [esi + 0x22], cl
shr eax, 8
mov byte [esi + 0x23], al
mov eax, ecx
mov edx, fcn.0046e340
shr eax, 0x10
sub edx, esi
mov byte [esi + 0x24], al
shr ecx, 0x18
mov byte [esi + 0x25], cl
lea ecx, [edx - 0x32]
mov eax, ecx
mov byte [esi + 0x2e], cl
shr eax, 8
mov byte [esi + 0x2f], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x30], al
mov byte [esi + 0x31], cl
lea ecx, [edx - 0x3e]
mov eax, ecx
mov byte [esi + 0x3a], cl
shr eax, 8
mov byte [esi + 0x3b], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x3d], cl
mov ecx, fcn.0046fe10
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x3c], al
sub ecx, 0x48
mov eax, ecx
mov byte [esi + 0x44], cl
shr eax, 8
mov byte [esi + 0x45], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x47], cl
mov ecx, fcn.00460c40
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x46], al
sub ecx, 0x52
mov eax, ecx
mov byte [esi + 0x4e], cl
shr eax, 8
mov byte [esi + 0x4f], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x50], al
lea eax, [esp + 4]
push eax
push 0x10
push 0x63
shr ecx, 0x18
push esi
mov byte [esi + 0x51], cl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ecx
ret
Function at 0x41b8c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
push 0x40
push 0x3000
push 0x51
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, ecx
mov edx, fcn.0046e340
shr eax, 8
sub edx, esi
mov byte [esi + 5], al
mov eax, ecx
mov byte [esi + 4], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 7], cl
mov ecx, fcn.0046e9a0
mov byte [esi + 6], al
sub ecx, esi
sub ecx, 0xd
mov dword [esi], 0x68e58955
mov eax, ecx
mov byte [esi + 9], cl
shr eax, 8
mov byte [esi + 0xa], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [esi + 0xc], cl
mov ecx, fcn.0046e6a0
mov byte [esi + 0xb], al
sub ecx, esi
sub ecx, 0x15
mov byte [esi + 8], 0xe8
mov eax, ecx
mov byte [esi + 0x11], cl
shr eax, 8
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x13], al
mov byte [esi + 0x14], cl
lea ecx, [edx - 0x1e]
mov eax, ecx
mov byte [esi + 0x1a], cl
shr eax, 8
mov byte [esi + 0x1b], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x1d], cl
lea ecx, [edx - 0x2a]
mov byte [esi + 0x1c], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x27], al
mov eax, ecx
mov byte [esi + 0x26], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 0x29], cl
lea ecx, [edx - 0x36]
mov dword [esi + 0xd], 0xe804c483
mov dword [esi + 0x15], 0x5008458b
mov byte [esi + 0x19], 0xe8
mov dword [esi + 0x1e], 0x8b04c483
mov dword [esi + 0x22], 0xe8500c45
mov dword [esi + 0x2a], 0x8b04c483
mov dword [esi + 0x2e], 0xe8501045
mov dword [esi + 0x36], 0x6a04c483
mov word [esi + 0x3a], 0xe803
mov dword [esi + 0x40], 0x6a04c483
mov word [esi + 0x44], 0xe8ff
mov dword [esi + 0x4a], 0x5d04c483
mov word [esi + 0x4e], 0xcc2
mov byte [esi + 0x50], 0
mov byte [esi + 0x28], al
mov byte [esi + 0x32], cl
mov eax, ecx
shr eax, 8
mov byte [esi + 0x33], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x35], cl
mov ecx, fcn.00466f30
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x34], al
sub ecx, 0x40
mov eax, ecx
mov byte [esi + 0x3c], cl
shr eax, 8
mov byte [esi + 0x3d], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi + 0x3f], cl
mov ecx, fcn.00460c40
shr eax, 0x10
sub ecx, esi
mov byte [esi + 0x3e], al
sub ecx, 0x4a
mov eax, ecx
mov byte [esi + 0x46], cl
shr eax, 8
mov byte [esi + 0x47], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x48], al
lea eax, [esp + 4]
push eax
push 0x10
push 0x51
shr ecx, 0x18
push esi
mov byte [esi + 0x49], cl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ecx
ret