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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x5da084]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], esi
test edi, edi
jne 0x48768a
cmp dword [ebx + 0x78], edi
jne 0x487677
test byte [esi + 0x50], 8
jne 0x487677
mov byte [ebx + 0x17], 1
call fcn.004606d0
mov edi, eax
test edi, edi
je 0x487867
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x10]
mov eax, edx
shl eax, 4
add ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
xor esi, esi
nop
mov eax, dword [esi*8 + 0x5b2878]
mov dword [esp + 0x10], eax
cmp esi, 3
jae 0x487879
push dword [ecx]
mov ecx, dword [esp + 0x24]
mov edx, eax
mov byte [esp + esi + 0x18], 0
call fcn.0048b340
add esp, 4
test eax, eax
jne 0x487738
cmp esi, 1
jge 0x4876fd
push dword [esi*8 + 0x5b287c]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
push dword [eax]
push str.CREATE_TABLE__Q._s__s_
push ebx
call fcn.0048b230
mov eax, dword [ebx + 0x60]
add esp, 0x14
mov dword [esp + esi*4 + 0x30], eax
mov byte [esp + esi + 0x14], 0x10
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, 3
jl 0x4876a0
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x487806
push edx
push dword [esp + 0x34]
mov edx, 0x71
mov ecx, edi
push dword [ebp + 8]
call fcn.00460920
add esp, 0xc
lea ebx, [edi + 0x68]
mov esi, eax
jmp 0x487837
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + esi*4 + 0x30], edx
cmp ecx, 1
je 0x48777e
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
mov ecx, dword [esp + 0xc]
cmp byte [eax + 9], 0
je 0x48777e
push dword [esp + 0x10]
push 1
push edx
mov edx, ecx
mov ecx, ebx
call fcn.0048a880
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4877a8
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push dword [esp + 0x18]
push dword [eax]
push str.DELETE_FROM__Q._s_WHERE__s_Q
push ebx
call fcn.0048b230
add esp, 0x18
jmp 0x4876fd
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x70], eax
jg 0x4877cc
push 0
push ecx
push edx
mov edx, 0x91
mov ecx, edi
call fcn.00460920
add esp, 0xc
jmp 0x4876fd
mov edx, dword [esp + 0x1c]
inc eax
mov dword [edi + 0x6c], eax
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x487701
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ebx, [edi + 0x68]
mov eax, dword [ebx]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x487851
mov eax, dword [ebx]
lea ecx, [esi + esi*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 3
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x487867
movzx edx, byte [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056eb71
mov esp, ebp
pop ebp
ret
call fcn.0056f277
int3