Function at 0x40a710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45aa54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c0
mov eax, dword [0x46ad0c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3e4]
mov dword [esp + 0x3cc], eax
mov eax, edi
mov ebp, ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a750
sub eax, edx
mov cl, byte [eax + edi - 2]
add eax, 0xfffffffe
cmp cl, 0x5c
je 0x40a76f
mov cl, byte [eax + edi - 1]
dec eax
cmp cl, 0x5c
jne 0x40a765
lea ecx, [eax + edi + 1]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a778
sub eax, esi
lea esi, [eax - 2]
push esi
push ecx
lea eax, [esp + 0xd0]
push eax
call fcn.0044cb5c
add esp, 0xc
push edi
mov ecx, ebp
mov byte [esp + esi + 0xcc], 0
call fcn.00406fd0
mov ecx, dword [ebp]
xor esi, esi
push esi
push esi
push esi
push str.begin_
push ecx
call fcn.00414760
add esp, 0x14
mov ebx, 0x19
mov dl, bl
add dl, 0x61
movsx eax, dl
push eax
lea ecx, [esp + 0xcc]
push ecx
push str.create_table__s_c_crc_mcode_int__mcode_text__crc_mdata_int__mdata_text__
push 0x46c0f0
call fcn.0044b73f
mov edx, dword [ebp]
push esi
push esi
push esi
push 0x46c0f0
push edx
call fcn.00414760
add esp, 0x24
dec ebx
jns 0x40a7c1
mov eax, dword [esp + 0x3e0]
push 1
push 0x1b6
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.00409ac0
mov dword [esp + 0x3d8], esi
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], esi
mov byte [esp + 0xb0], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov ecx, dword [esp + ecx + 0x1c]
test cl, 1
mov byte [esp + 0x3d8], 1
jne 0x40a977
nop
mov ecx, dword [eax + 4]
push 0xa
lea ecx, [esp + ecx + 0x18]
xor edi, edi
call fcn.00408800
lea edx, [esp + 0xac]
push eax
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004092e0
mov eax, dword [esp + 0xcc]
add esp, 0xc
test eax, eax
je 0x40a961
cmp dword [esp + 0xc4], 0x10
mov ecx, dword [esp + 0xb0]
jae 0x40a89d
lea ecx, [esp + 0xb0]
mov al, byte [ecx]
cmp al, 0x20
je 0x40a8b7
cmp al, 9
je 0x40a8b7
mov byte [esp + edi + 0x1cc], al
mov al, byte [ecx + 1]
inc edi
inc ecx
cmp al, 0x20
jne 0x40a8a3
inc ecx
mov byte [esp + edi + 0x1cc], 0
mov al, byte [ecx]
cmp al, 0x20
je 0x40a8ef
jmp 0x40a8d0
movsx edx, al
cmp edx, 0xa0d
je 0x40a8ef
test al, al
je 0x40a8ef
mov byte [esp + esi + 0x2cc], al
mov al, byte [ecx + 1]
inc esi
inc ecx
cmp al, 0x20
jne 0x40a8d0
lea eax, [esp + 0x1cc]
push edi
push eax
mov byte [esp + esi + 0x2d4], 0
call fcn.00401540
lea ecx, [esp + 0x2d4]
push esi
push ecx
mov edi, eax
xor ebx, ebx
call fcn.00401540
lea edx, [esp + 0x2dc]
push edx
xor ecx, ecx
push ecx
movsx ecx, byte [esp + 0x1e4]
push eax
lea eax, [esp + 0x1e8]
push eax
push ebx
push edi
push ecx
lea edx, [esp + 0xf4]
push edx
push str.insert_into__s_c_crc_mcode__mcode__crc_mdata__mdata___t_t_t_t_t_t___values__I64d____s____I64d____s___
push 0x46c0f0
call fcn.0044b73f
mov eax, dword [ebp]
push ebx
push ebx
push ebx
push 0x46c0f0
push eax
call fcn.00414760
add esp, 0x4c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov dl, byte [esp + ecx + 0x1c]
xor esi, esi
test dl, 1
je 0x40a850
cmp dword [esp + 0x74], esi
je 0x40a9c7
lea ecx, [esp + 0x1c]
call fcn.00409190
test al, al
je 0x40a9c3
mov edx, dword [esp + 0x74]
push edx
call fcn.0044b859
add esp, 4
test eax, eax
jne 0x40a9c3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], al
mov byte [esp + 0x68], al
call fcn.00407180
mov eax, dword [0x46c1f8]
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], esi
jmp 0x40a9e7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x1c]
mov edx, dword [esp + ecx + 0x3c]
lea ecx, [esp + ecx + 0x14]
or eax, 2
cmp edx, esi
jne 0x40a9e0
or eax, 4
push esi
push eax
call fcn.0044aa15
mov ebx, 0x19
lea esp, [esp]
mov al, bl
add al, 0x61
movsx eax, al
push eax
lea ecx, [esp + 0xcc]
push ecx
push eax
mov edx, ecx
push edx
push str.create_index__s_c_index_mcode_on__s_c_crc_mcode__
push 0x46bfe8
call fcn.0044b73f
mov eax, dword [ebp]
push esi
push esi
push esi
push 0x46bfe8
push eax
call fcn.00414760
add esp, 0x2c
dec ebx
jns 0x40a9f0
mov ecx, dword [ebp]
push esi
push esi
push esi
push str.end_
push ecx
call fcn.00414760
mov edx, dword [ebp]
push esi
push esi
push esi
push str.VACUUM_
push edx
call fcn.00414760
mov eax, dword [ebp]
push eax
call fcn.00412630
mov eax, dword [esp + 0xf0]
add esp, 0x2c
cmp eax, 0x10
mov dword [ebp], esi
jb 0x40aa77
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0044afc3
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], esi
mov byte [esp + 0xb0], 0
mov ecx, dword [eax + 4]
lea edx, [esp + 0x78]
mov dword [esp + 0x10], edx
mov dword [esp + ecx + 0x14], 0x45ddf0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3d8], 2
call fcn.00409940
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x14], 0x45db44
lea ecx, [esp + 0x78]
mov dword [esp + 0x3d8], 0xffffffff
mov dword [esp + 0x78], 0x45db40
call fcn.0044a92b
mov ecx, dword [esp + 0x3d0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c0]
pop ebx
call fcn.0044b7c8
add esp, 0x3cc
ret 8