joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4155e0
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [ecx + 0x74]
xor ebx, ebx
mov edi, ecx
lea esi, [ecx + 0x74]
mov dword [esp + 4], edx
test eax, eax
je 0x41563a
cmp byte [edi + 0xb], 0
jne 0x415638
push eax
call fcn.0041f7a0
add esp, 4
mov dword [esp + 0x14], eax
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wunlink]
add esp, 4
mov dword [esp + 0x18], eax
push dword [esp + 0x14]
call fcn.0041c220
add esp, 4
cmp dword [esp + 0x18], 0
mov eax, dword [esi]
je 0x4156e7
mov ebx, eax
push ebx
call fcn.0041c220
add esp, 4
mov dword [edi + 0x74], 0
mov eax, dword [edi]
test eax, eax
je 0x415678
push esi
push 0x10
push 0
push eax
call fcn.00433a50
add esp, 0x10
mov eax, dword [esi]
test eax, eax
je 0x415678
push dword [esp + 4]
push eax
push str._z._s
call fcn.0041ef10
add esp, 0xc
jmp 0x4156d9
lea eax, [esp + 8]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0xffffffff
push eax
push 8
call fcn.0041f260
add esp, 8
push str.TEMP
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
test eax, eax
jne 0x4156b5
push 0x508b7e
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
test eax, eax
mov ecx, str._tmp
cmovne ecx, eax
push dword [esp + 4]
push dword [esp + 0x10]
push dword [esp + 0x10]
push ecx
push str._s_temp_llx._s
call fcn.0041ef10
add esp, 0x14
test eax, eax
mov dword [esi], eax
je 0x4156fb
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.0041c220
add esp, 4
mov dword [esi], 0
jmp 0x41563a
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push str.out_of_memory_n
push eax
call fcn.00404690
add esp, 8
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop dword [eax + eax]
Function at 0x415840
Capabilities:
Reference sql statements

Disassembly:
push esi
push eax
mov esi, ecx
mov eax, esp
mov dword [esp], 0
push eax
push 0
push 0
push str.SAVEPOINT_selftest_init__nCREATE_TABLE_IF_NOT_EXISTS_selftest__n__tno_INTEGER_PRIMARY_KEY__n__op_TEXT__n__cmd_TEXT__n__ans_TEXT_n__CREATE_TEMP_TABLE___shell_self__op_cmd_ans___nINSERT_INTO___shell_self__rowid_op_cmd__n__VALUES_coalesce__SELECT__max_tno_100__10_FROM_selftest__10___n_________memo_Tests_generated_by___init___nINSERT_INTO___shell_self__n__SELECT_run__n____SELECT_hex_sha3_query_SELECT_type_name_tbl_name_sql_FROM_sqlite_master_ORDER_BY_2_224____n____hex_sha3_query_SELECT_type_name_tbl_name_sql_FROM_sqlite_master_ORDER_BY_2_224____nINSERT_INTO___shell_self__n__SELECT_run_____SELECT_hex_sha3_query_SELECT__FROM___________printf__w_name_____NOT_INDEXED_224____n____hex_sha3_query_printf_SELECT__FROM___w__NOT_INDEXED_name__224___n__FROM___n____SELECT_name_FROM_sqlite_master_n_____WHERE_typetable_n_______AND_name__selftest_n_______AND_coalesce_rootpage_0__0_n____n_ORDER_BY_name__nINSERT_INTO___shell_self__n__VALUES_run_PRAGMA_integrity_check_ok___nINSERT_INTO_selftest_tno_op_cmd_ans___SELECT_rowid10_op_cmd_ans_FROM___shell_self___nDROP_TABLE___shell_self__
push dword [ecx]
call fcn.0042c9a0
add esp, 0x14
cmp dword [esp], 0
je 0x41588e
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push dword [esp]
push str.SELFTEST_initialization_failure:__s_n
push eax
call fcn.004014c0
add esp, 0xc
push dword [esp]
call fcn.0041c220
add esp, 4
push 0
push 0
push 0
push str.RELEASE_selftest_init
push dword [esi]
call fcn.0042c9a0
add esp, 0x18
pop esi
ret
Function at 0x419a00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, edx
mov ebx, ecx
mov dword [esp + 8], 0
push edx
call fcn.004291d0
add esp, 4
test eax, eax
je 0x419b6e
mov edi, eax
push 0
push 0
push 0
push 0
push 0
push 0x5095fd
push str.sqlite_parameters
push str.TEMP
push dword [ebx]
call fcn.00433040
add esp, 0x24
test eax, eax
jne 0x419b6e
lea eax, [esp + 8]
push 0
push eax
push 0xffffffffffffffff
push str.SELECT_value_FROM_temp.sqlite_parameters_WHERE_key_1
push dword [ebx]
call fcn.0042cf00
add esp, 0x14
test eax, eax
jne 0x419b6e
mov eax, dword [esp + 8]
test eax, eax
je 0x419b6e
test edi, edi
jle 0x419b65
neg edi
mov ebx, 1
mov dword [esp + 0xc], esi
jmp 0x419ac4
push ebx
push esi
call fcn.00428d10
add esp, 8
push dword [esp + 8]
call fcn.00425680
add esp, 4
lea eax, [edi + ebx + 1]
inc ebx
cmp eax, 1
je 0x419b61
pcmpeqd xmm0, xmm0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x2a], 0xffffffff
mov dword [esp + 0x26], 0xffffffff
movdqa xmmword [esp + 0x10], xmm0
push ebx
push esi
call fcn.004291e0
add esp, 8
test eax, eax
jne 0x419b1b
push ebx
push 0x509637
mov esi, edi
lea edi, [esp + 0x18]
push edi
push 0x1e
call fcn.0041f080
add esp, 0x10
mov eax, edi
mov edi, esi
mov esi, dword [esp + 0xc]
push 0
push 0xffffffffffffffff
push eax
push 1
push dword [esp + 0x18]
call fcn.00428dc0
add esp, 0x14
push dword [esp + 8]
call fcn.00426830
add esp, 4
cmp eax, 0x64
jne 0x419aa0
push 0
push dword [esp + 0xc]
call fcn.004282f0
add esp, 8
push eax
push ebx
push esi
call fcn.00428e70
add esp, 0xc
jmp 0x419aaa
mov eax, dword [esp + 8]
push eax
call fcn.00425440
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41a150
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
test ecx, ecx
mov ebx, 0x64
mov esi, ecx
mov dword [esp], edx
cmove ebx, ecx
xor ebp, ebp
nop word cs:[eax + eax]
lea eax, [ebp + 0x64]
cmp eax, ebx
jle 0x41a18f
lea ebx, [ebx + ebx + 0x64]
push ebx
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov esi, eax
test eax, eax
je 0x41a272
mov eax, ebx
lea edi, [esi + ebp]
sub eax, ebp
push dword [esp]
push eax
push edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fgets
add esp, 0xc
test eax, eax
je 0x41a1e0
add ebp, 0xfffffffd
mov eax, ebp
nop dword [eax]
cmp byte [esi + eax + 3], 0
lea eax, [eax + 1]
jne 0x41a1b0
lea ebp, [eax + 2]
test ebp, ebp
jle 0x41a170
cmp byte [esi + eax + 1], 0xa
jne 0x41a170
lea ecx, [eax + 2]
xor edi, edi
cmp ecx, 2
jl 0x41a1dc
cmp byte [esi + eax], 0xd
lea edi, [eax + 1]
cmove edi, eax
add edi, esi
jmp 0x41a1e4
test ebp, ebp
je 0x41a25d
mov byte [edi], 0
cmp dword [0x51d0e0], 0
je 0x41a268
push 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
cmp eax, dword [esp]
jne 0x41a268
push 0
push esi
call fcn.0041fbc0
add esp, 8
test eax, eax
je 0x41a268
mov edi, eax
dec eax
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x41a220
sub eax, edi
and eax, 0x3fffffff
cmp eax, ebx
lea ebx, [eax + 1]
jl 0x41a247
push ebx
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov esi, eax
test eax, eax
je 0x41a272
push ebx
push edi
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
push edi
call fcn.0041c220
add esp, 4
jmp 0x41a268
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
xor esi, esi
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push str.Error:_out_of_memory_n
push eax
call fcn.00404690
add esp, 8
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x424050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ecx + 0x14]
test byte [ecx + 0x1c], 4
je 0x424061
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jae 0x42407c
mov eax, dword [edx + 0x28]
test eax, eax
je 0x424069
ret
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x424087
jmp fcn.00445510
cmp dword [edx + 0x60], 0
je 0x42408c
jmp fcn.0043b610
jmp fcn.00445900
xor eax, eax
ret
Function at 0x4466a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
cmp byte [ecx + 0x44], 0
js 0x44676f
mov ebp, ecx
je 0x44671c
xor ebx, ebx
mov dword [esp], ebp
jmp 0x4466ce
call fcn.00442220
movsx eax, byte [ebp + 0x44]
inc ebx
cmp ebx, eax
jge 0x44671c
mov eax, dword [ebp + ebx*4 + 0x78]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x4466c0
mov ebp, dword [ecx + 0x14]
dec dword [ebp + 0x78]
mov eax, dword [ebp + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebp + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov esi, dword [ebp + 0x98]
dec edi
mov eax, edi
mul esi
sar esi, 0x1f
imul esi, edi
mov edi, dword [ebp + 0x3c]
mov ebp, dword [esp]
add edx, esi
mov esi, dword [edi]
push dword [ecx + 4]
push edx
push eax
push edi
call dword [esi + 0x48]
add esp, 0x10
jmp 0x4466c5
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x44672f
call fcn.00442220
jmp 0x44676b
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x78]
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov ebx, dword [esi + 0x98]
mov esi, dword [esi + 0x3c]
dec edi
mov eax, edi
mul ebx
sar ebx, 0x1f
imul ebx, edi
mov edi, dword [esi]
add edx, ebx
push dword [ecx + 4]
push edx
push eax
push esi
call dword [edi + 0x48]
add esp, 0x10
mov byte [ebp + 0x44], 0xff
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x446cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp byte [ecx + 0x11], 0
mov ebp, edx
mov dword [esp + 4], ecx
je 0x446d58
mov eax, dword [0x51d800]
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], 0xffffffff
mov byte [esp + 3], 0xff
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
nop dword [eax]
mov edi, ebp
inc ebp
mov eax, 0
cmp ebp, 2
jb 0x446d2d
mov eax, 0xcccccccd
lea esi, [edi - 1]
mul dword [ecx + 0x28]
mov eax, esi
mov ebx, edx
xor edx, edx
shr ebx, 2
inc ebx
div ebx
mov eax, dword [esp + 0xc]
xor ebx, ebx
sub esi, edx
xor edx, edx
div dword [ecx + 0x24]
lea edx, [esi + 1]
cmp edx, eax
sete bl
lea eax, [ebx + esi + 2]
cmp ebp, eax
je 0x446cf0
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 4]
xor edx, edx
div dword [esi + 0x24]
cmp edi, eax
je 0x446cf0
mov ecx, dword [esp + 4]
inc edi
cmp edi, dword [ecx + 0x30]
jbe 0x446d9b
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], 0xffffffff
xor eax, eax
test esi, esi
lea edx, [esp + 0x14]
sete al
add eax, eax
mov ecx, dword [ecx]
push eax
push edx
push ebp
push ecx
call dword [ecx + 0xcc]
add esp, 0x10
test eax, eax
je 0x446de8
mov ebx, eax
xor eax, eax
test esi, esi
mov dword [edi], 0
jne 0x446e28
jmp 0x446e2a
lea eax, [esp + 0x10]
lea esi, [esp + 3]
mov edx, edi
push eax
push esi
call fcn.00446e90
add esp, 8
mov ebx, eax
xor eax, eax
mov ecx, 0
test ebx, ebx
jne 0x446dd8
cmp byte [esp + 3], 4
jne 0x446d4c
mov ecx, dword [esp + 8]
mov ebx, 0x65
cmp dword [esp + 0x10], ecx
mov ecx, edi
jne 0x446d4c
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
test esi, esi
mov dword [edx], ecx
jne 0x446e28
jmp 0x446e2a
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
cmp dword [eax + 4], ebp
jne 0x446df9
mov ecx, dword [eax + 0x38]
jmp 0x446e1c
mov ecx, dword [edx + 4]
mov ebx, 0x64
mov dword [eax + 0x38], ecx
mov dword [eax + 0x48], edx
mov edx, dword [esp + 4]
mov dword [eax + 0x34], edx
xor edx, edx
cmp ebp, 1
mov dword [eax + 4], ebp
cmovne ebx, edx
mov byte [eax + 9], bl
mov ecx, dword [ecx]
test esi, esi
bswap ecx
mov dword [edi], ecx
je 0x446e3a
xor ebx, ebx
mov dword [esi], eax
xor eax, eax
cmp ebx, 0x65
cmovne eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
test eax, eax
je 0x446e2a
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x446e50
call fcn.00442220
jmp 0x446e2a
mov edi, dword [ecx + 0x14]
dec dword [edi + 0x78]
mov eax, dword [edi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [edi + 0x88], ecx
mov esi, dword [ecx + 0x18]
mov ebp, dword [edi + 0x98]
dec esi
mov eax, esi
mul ebp
sar ebp, 0x1f
imul ebp, esi
mov esi, dword [edi + 0x3c]
add edx, ebp
mov edi, dword [esi]
push dword [ecx + 4]
push edx
push eax
push esi
call dword [edi + 0x48]
add esp, 0x10
jmp 0x446e2a
Function at 0x455290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov ecx, edx
mov edi, edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0045ff10
cmp eax, 0x10
je 0x455466
test eax, eax
jne 0x455479
lea eax, [edi + 0x74]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x110], 0
jne 0x455477
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
cmp byte [eax + 8], 0
je 0x4553a0
movzx ecx, word [eax + 0x18]
add dword [esp + 4], ecx
adc dword [esp], 0
jmp 0x455326
call fcn.00442220
movzx ecx, word [edi + 0x46]
mov eax, dword [edi + 0x74]
cmp cx, word [eax + 0x18]
jb 0x4553c0
movsx ecx, byte [edi + 0x44]
test ecx, ecx
je 0x455481
mov word [edi + 0x32], 0
and byte [edi + 1], 0xf9
movzx edx, word [edi + ecx*2 + 0x46]
dec cl
mov word [edi + 0x46], dx
mov byte [edi + 0x44], cl
movsx ecx, cl
mov ecx, dword [edi + ecx*4 + 0x78]
mov dword [edi + 0x74], ecx
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x455310
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov ebp, dword [ecx + 0x18]
mov esi, dword [ebx + 0x98]
mov ebx, dword [ebx + 0x3c]
dec ebp
mov eax, ebp
mul esi
sar esi, 0x1f
imul esi, ebp
add edx, esi
mov esi, dword [ebx]
push dword [ecx + 4]
push edx
push eax
push ebx
call dword [esi + 0x48]
add esp, 0x10
jmp 0x455315
cmp byte [eax + 2], 0
jne 0x4553c5
movzx ecx, word [eax + 0x18]
add dword [esp + 4], ecx
adc dword [esp], 0
jmp 0x4553c5
inc ecx
mov word [edi + 0x46], cx
movzx ebp, word [edi + 0x46]
mov esi, dword [eax + 0x38]
cmp bp, word [eax + 0x18]
jne 0x4553f0
mov bl, byte [edi + 0x44]
cmp bl, 0x13
jge 0x45549f
movzx eax, byte [eax + 9]
add eax, 8
jmp 0x45541c
mov bl, byte [edi + 0x44]
cmp bl, 0x13
jge 0x45549f
movzx ecx, word [eax + 0x1a]
mov eax, dword [eax + 0x40]
movzx edx, bp
mov dword [esp + 0x10], ecx
movzx ecx, byte [eax + edx*2]
movzx eax, byte [eax + edx*2 + 1]
shl ecx, 8
or eax, ecx
and eax, dword [esp + 0x10]
mov edx, dword [esi + eax]
movsx eax, bl
mov ecx, dword [edi + 0x14]
mov word [edi + 0x32], 0
and byte [edi + 1], 0xf9
mov word [edi + eax*2 + 0x48], bp
mov eax, dword [edi + 0x74]
movsx esi, byte [edi + 0x44]
bswap edx
mov dword [edi + esi*4 + 0x78], eax
mov word [edi + 0x46], 0
inc byte [edi + 0x44]
movzx eax, byte [edi + 2]
push eax
push edi
push dword [esp + 0x14]
call fcn.00460130
add esp, 0xc
test eax, eax
je 0x4552d3
jmp 0x455479
mov eax, dword [esp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [esp]
mov dword [eax + 4], ecx
mov ecx, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0045ff10
push 0x50d803
push 0x10f42
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov eax, 0xb
jmp 0x455479
Function at 0x455e40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x18]
mov esi, ecx
test ecx, ecx
mov dword [esp], edx
mov eax, dword [eax + 0x2c]
movzx ebx, word [eax + 6]
lea ebp, [ebx*4 + 0x9c]
je 0x455e70
mov ecx, esi
mov edx, ebp
push 0
call fcn.00435490
add esp, 4
jmp 0x455e79
mov ecx, ebp
xor edx, edx
call fcn.0041c030
mov edi, eax
test eax, eax
je 0x455f15
shl ebx, 2
push ebp
push 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x18]
add ebx, 0x14
lea eax, [edi + 0x88]
mov dword [ecx + 0x28], edi
mov dword [edi + 0x1c], eax
push ebx
push dword [ecx + 0x2c]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
mov dword [edi + 0x94], 0
test eax, eax
je 0x455eca
mov word [edi + 0x8e], ax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x24]
mov dword [edi + 0xc], eax
mov byte [edi + 0x3b], 1
mov word [edi + 0x39], 0xff00
mov dword [edi + 0x18], esi
mov dword [edi + 0x48], edi
xor eax, eax
cmp word [edi + 0x90], 0xc
ja 0x455f25
mov ecx, dword [edi + 0x9c]
test ecx, ecx
je 0x455f04
cmp ecx, dword [esi + 8]
jne 0x455f25
mov ecx, dword [edi + 0x98]
test byte [ecx], 2
jne 0x455f25
mov byte [edi + 0x3c], 3
jmp 0x455f25
mov eax, dword [esp + 0x18]
mov dword [eax + 0x28], 0
mov eax, 7
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x456830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
and byte [ecx + 1], 0xf1
mov word [ecx + 0x32], 0
cmp byte [ecx], 0
je 0x456848
jmp fcn.00461b80
movzx eax, word [ecx + 0x46]
test ax, ax
je 0x456843
mov edx, dword [ecx + 0x74]
cmp byte [edx + 8], 0
je 0x456843
dec eax
mov word [ecx + 0x46], ax
xor eax, eax
ret
Function at 0x45fc70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
test edx, edx
je 0x45fcc2
mov eax, dword [esp + 0x28]
mov ebx, dword [esi + 0x70]
mov ebp, edx
mov dword [esp + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x24]
test ecx, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
movzx eax, word [ebx + 6]
lea eax, [eax + eax*4]
lea edx, [eax*8 + 0x38]
je 0x45fcd2
push 0
call fcn.00435490
add esp, 4
jmp 0x45fcdb
mov ecx, esi
xor edx, edx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00456050
mov ecx, edx
xor edx, edx
call fcn.0041c030
mov edi, eax
test eax, eax
je 0x45fd35
lea eax, [edi + 0x10]
mov edx, dword [esp]
mov ecx, ebx
mov dword [edi + 4], eax
mov dword [edi], ebx
movzx eax, word [ebx + 6]
inc eax
mov word [edi + 8], ax
push edi
push ebp
call fcn.004568c0
add esp, 8
movzx eax, word [edi + 8]
test ax, ax
je 0x45fd10
cmp ax, word [ebx + 8]
jbe 0x45fd3c
push 0x50d803
push 0xfe86
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov ebx, 0xb
jmp 0x45fd5a
mov ebx, 7
jmp 0x45fd67
mov ecx, esi
mov edx, edi
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0xc]
call fcn.00456050
add esp, 0x10
mov ebx, eax
mov eax, dword [esi + 0x70]
mov edx, edi
mov ecx, dword [eax + 0xc]
call fcn.004352c0
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x45ff10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
cmp byte [ecx + 0x44], 0
mov esi, ecx
js 0x45ffbc
mov eax, dword [esi + 0x74]
je 0x4600ea
nop dword [eax]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x45ff40
call fcn.00442220
jmp 0x45ff7c
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov ebp, dword [ebx + 0x98]
dec edi
mov eax, edi
mul ebp
sar ebp, 0x1f
imul ebp, edi
mov edi, dword [ebx + 0x3c]
add edx, ebp
mov ebx, dword [edi]
push dword [ecx + 4]
push edx
push eax
push edi
call dword [ebx + 0x48]
add esp, 0x10
movzx eax, byte [esi + 0x44]
dec al
mov byte [esi + 0x44], al
je 0x45ff90
movsx eax, al
mov eax, dword [esi + eax*4 + 0x78]
jmp 0x45ff30
mov eax, dword [esi + 0x78]
mov dword [esi + 0x74], eax
mov word [esi + 0x46], 0
mov word [esi + 0x32], 0
mov cl, byte [esi + 1]
and cl, 0xf1
mov byte [esi + 1], cl
cmp word [eax + 0x18], 0
je 0x45ffd9
mov byte [esi], 0
xor eax, eax
jmp 0x460122
mov edx, dword [esi + 0x40]
test edx, edx
je 0x45ffdf
mov al, byte [esi]
cmp al, 3
jb 0x4600bb
cmp al, 4
jne 0x460043
mov eax, dword [esi + 4]
jmp 0x460122
cmp byte [eax + 8], 0
je 0x45ffec
mov eax, 0x10
mov byte [esi], 1
jmp 0x460122
cmp dword [eax + 4], 1
jne 0x460098
mov edx, dword [eax + 0x38]
movzx eax, byte [eax + 9]
lea edi, [esi + 0x74]
mov edx, dword [eax + edx + 8]
mov byte [esi], 0
mov word [esi + 0x32], 0
mov byte [esi + 1], cl
mov word [esi + 0x48], 0
mov eax, dword [esi + 0x74]
movsx ebx, byte [esi + 0x44]
mov ecx, dword [esi + 0x14]
bswap edx
mov dword [esi + ebx*4 + 0x78], eax
mov word [esi + 0x46], 0
inc byte [esi + 0x44]
movzx eax, byte [esi + 2]
push eax
push esi
push edi
call fcn.00460130
add esp, 0xc
jmp 0x460122
mov edi, dword [esi + 0x10]
test edi, edi
je 0x4600ae
cmp dword [0x51d1a8], 0
je 0x4600a4
mov eax, dword [0x51e858]
test eax, eax
je 0x460066
push eax
call dword [0x51d1f8]
add esp, 4
push edi
call dword [0x51d1d4]
add esp, 4
sub dword [0x51e800], eax
dec dword [0x51e824]
push edi
call dword [0x51d1cc]
add esp, 4
mov eax, dword [0x51e858]
test eax, eax
je 0x4600ae
push eax
call dword [0x51d200]
jmp 0x4600ab
push 0x50d803
push 0x10fd9
jmp 0x460109
push edi
call dword [0x51d1cc]
add esp, 4
mov dword [esi + 0x10], 0
mov byte [esi], 1
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 8]
movzx edi, byte [esi + 2]
mov ecx, dword [eax + 4]
lea eax, [esi + 0x74]
push edi
push 0
push eax
call fcn.00460130
add esp, 0xc
test eax, eax
je 0x4600dd
mov byte [esi], 1
jmp 0x460122
mov byte [esi + 0x44], 0
mov eax, dword [esi + 0x74]
mov cl, byte [eax + 2]
mov byte [esi + 0x45], cl
cmp byte [eax], 0
je 0x4600ff
cmp dword [esi + 0x70], 0
sete cl
cmp byte [eax + 2], cl
je 0x45ff96
push 0x50d803
push 0x10fcc
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov eax, 0xb
pop esi
pop edi
pop ebx
pop ebp
ret