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

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x24]
push edi
mov edi, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
test edi, edi
jne 0x4ebdac
cmp dword [ebx + 0x74], edi
jne 0x4ebd95
test byte [eax + 0x50], 8
jne 0x4ebd95
mov byte [ebx + 0x17], 1
push ebx
call fcn.0052ec00
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x10]
test edi, edi
je 0x4ebf60
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
shl ecx, 4
push esi
add eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
xor esi, esi
push ebp
push dword [eax]
mov ebp, dword [esi*8 + 0x585c98]
push ebp
push dword [esp + 0x20]
mov byte [esp + esi + 0x1c], 0
call fcn.0050d0f0
add esp, 0xc
test eax, eax
jne 0x4ebe46
cmp esi, 1
jge 0x4ebe10
push dword [esi*8 + 0x585c9c]
mov eax, dword [esp + 0x18]
push ebp
push dword [eax]
push str.CREATE_TABLE__Q._s__s_
push ebx
call fcn.0051bf00
mov eax, dword [ebx + 0x5c]
add esp, 0x14
mov dword [esp + esi*4 + 0x20], eax
mov byte [esp + esi + 0x10], 0x10
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, 3
jl 0x4ebdc4
mov esi, dword [edi + 0x74]
pop ebp
cmp dword [edi + 0x78], esi
jg 0x4ebefd
push edx
push dword [esp + 0x20]
push dword [esp + 0x3c]
push 0x70
push edi
call fcn.004e2c80
add esp, 0x14
mov esi, eax
jmp 0x4ebf2d
mov edx, dword [esp + 0x34]
mov ecx, dword [eax + 0x14]
mov dword [esp + esi*4 + 0x20], ecx
cmp edx, 1
je 0x4ebe7f
mov eax, dword [ebx]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 4]
mov edx, dword [esp + 0x34]
cmp byte [eax + 9], 0
je 0x4ebe7f
push ebp
push 1
push ecx
push edx
push ebx
call fcn.004e7920
mov edx, dword [esp + 0x48]
add esp, 0x14
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4ebea6
push eax
push dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push ebp
push dword [eax]
push str.DELETE_FROM__Q._s_WHERE__s_Q
push ebx
call fcn.0051bf00
add esp, 0x18
jmp 0x4ebe10
mov ecx, dword [edi + 0x74]
mov ebp, dword [esp + esi*4 + 0x20]
cmp dword [edi + 0x78], ecx
jg 0x4ebec9
push 0
push edx
push ebp
push 0x90
push edi
call fcn.004e2c80
add esp, 0x14
jmp 0x4ebe10
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x90
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4ebe14
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4ebf48
mov eax, dword [edi + 0x70]
lea ecx, [esi + esi*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 3
mov eax, dword [edi + 0x74]
pop esi
test eax, eax
jle 0x4ebf60
movzx edx, byte [esp + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
pop edi
pop ebx
add esp, 0x1c
ret