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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edi
mov edi, dword [esp + 0x3c]
push 1
push eax
push ecx
push edi
mov dword [esp + 0x24], 0xffffffff
call fcn.004601b0
mov ebx, dword [eax]
add esp, 0x10
test ebx, ebx
jne 0x45fc8e
mov edx, dword [esi + 8]
mov eax, dword [0x626f14]
mov ecx, dword [eax + 0x1b4]
push str.HANDLER
push edx
push ebx
push ecx
push 0x455
call fcn.004c6500
add esp, 0x14
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x54]
test ecx, ecx
lea ebp, [esi + 0x20]
mov dword [ebp], ebx
je 0x45fcb2
mov edx, dword [ecx]
push esi
push edi
call dword [edx + 4]
test eax, eax
je 0x45fcb2
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45fd15
push 3
lea ecx, [ebx + 0x9c]
push ecx
push eax
call fcn.004cb1a0
add esp, 0xc
dec eax
mov dword [esp + 0x14], eax
jns 0x45fd0d
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x48]
mov ecx, dword [0x626f14]
push edx
mov edx, dword [ecx + 0x2c0]
push eax
push 0
push edx
push 0x498
call fcn.004c6500
add esp, 0x14
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret
mov ecx, dword [ebx]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
lea eax, [esp + 0x1c]
push 0x3c
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0x628858
mov dword [esp + 0x24], eax
call fcn.004965e0
mov esi, eax
add esp, 4
test esi, esi
je 0x45fd5d
push 0x5e9f00
push 0
push 0
mov ecx, esi
call fcn.00418a40
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi], 0x5abf6c
jmp 0x45fd5f
xor esi, esi
push 8
call fcn.004965e0
add esp, 4
test eax, eax
je 0x45fd9d
mov ecx, dword [esp + 0x1c]
push ecx
push esi
mov ecx, eax
call fcn.00411a90
test eax, eax
je 0x45fd9d
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
cmp ecx, edx
jne 0x45fd8e
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x45fda1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
lea edx, [esp + 0x20]
push ecx
mov dword [esp + 0x38], edx
mov edx, dword [eax + 4]
push edx
push eax
push edi
call fcn.00458e40
mov esi, dword [esp + 0x6c]
add esi, dword [esp + 0x70]
push 1
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x78], esi
call fcn.00456280
mov eax, dword [edi + 0x628]
mov ecx, dword [edi + 0x630]
push 1
push ebp
push edi
mov dword [edi + 0x628], ecx
mov dword [edi + 0x630], eax
call fcn.0042d450
mov edx, dword [edi + 0x630]
mov ecx, eax
mov eax, dword [edi + 0x628]
add esp, 0x2c
test ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [edi + 0x628], edx
mov dword [edi + 0x630], eax
je 0x4600f4
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test esi, esi
mov dword [esp + 0x10], 0
jbe 0x460089
mov ebp, dword [esp + 0x44]
cmp ebp, 4
ja case.default.0x45fe5b
jmp dword [ebp*4 + 0x460198]
mov eax, dword [esp + 0x48]
test eax, eax
mov ecx, dword [ebx]
mov edx, dword [ecx]
je 0x45fe81
mov eax, dword [ebx + 0x44]
push eax
call dword [edx + 0x58]
mov esi, eax
mov ebp, 1
jmp 0x45ffe3
push 1
call dword [edx + 0x74]
mov esi, eax
test esi, esi
jne 0x45fe99
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x44]
mov eax, dword [ecx]
push edx
call dword [eax + 0x7c]
mov esi, eax
mov ebp, 1
jmp 0x45ffe3
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x44]
mov eax, dword [ecx]
push edx
call dword [eax + 0x5c]
mov esi, eax
mov ebp, 2
jmp 0x45ffe3
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x44]
test eax, eax
mov eax, dword [ecx]
push edx
je 0x45fed4
call dword [eax + 0x50]
mov esi, eax
jmp 0x45ffe3
call dword [eax + 0x7c]
mov esi, eax
jmp 0x45ffe3
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x44]
mov eax, dword [ecx]
push edx
call dword [eax + 0x54]
mov esi, eax
jmp 0x45ffe3
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x98]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*8 + 0x18]
mov esi, dword [ecx + eax*8 + 8]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 8]
cmp edx, esi
ja 0x4600ac
mov edi, dword [ecx]
mov esi, dword [edi + 4]
xor ebp, ebp
test esi, esi
je 0x45ff7d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x4600e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, 0x7fffffff
jne 0x4600ce
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [esi]
push 1
push ecx
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esp + 0x44]
mov edi, dword [edi]
mov esi, dword [edi + 4]
xor edx, edx
mov dx, word [eax + 0xe]
add eax, 0x18
mov dword [esp + 0x44], eax
add ebp, edx
test esi, esi
jne 0x45ff26
mov eax, dword [esp + 0x3c]
lea edi, [ebp + 7]
and edi, 0xfffffff8
add eax, 0x470
push edi
push eax
call fcn.004caf50
mov esi, eax
add esp, 8
test esi, esi
je 0x4600ff
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
push ebp
push eax
push ebx
push esi
call fcn.0042cfd0
mov edi, dword [esp + 0x60]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x44]
mov edx, dword [ecx]
add esp, 0x10
push edi
push ebp
push esi
push eax
call dword [edx + 0x48]
mov ebp, dword [edi*4 + 0x5e9e94]
mov edi, dword [esp + 0x3c]
mov esi, eax
cmp esi, 0x86
je 0x46007b
test esi, esi
jne 0x460115
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x460008
mov edx, dword [ecx]
call dword [edx + 0x28]
or eax, edx
je 0x46007b
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x5c]
jb 0x460077
mov eax, dword [esp + 0x28]
lea esi, [edi + 0x4c8]
mov dword [esp + 0x2c], eax
mov dword [esi + 4], 0
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x460064
mov edx, dword [ecx]
push esi
push edi
call dword [edx + 0x14]
test eax, eax
jne 0x46014e
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x46003c
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
lea edx, [edi + 0xc]
push edx
call fcn.0043b220
add esp, 0xc
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x58]
jb 0x45fe52
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.0042d6a0
push 0
add edi, 0xc
push edi
call fcn.0043ac00
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
mov ecx, dword [eax + 8]
mov edx, dword [0x626f14]
mov eax, dword [edx + 0x118]
push ecx
push 0
push eax
push 0x42e
call fcn.004c6500
add esp, 0x10
jmp 0x4600e6
push str.HANDLER_..._READ
push 0
push 0x4ba
call fcn.004c6390
add esp, 0xc
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
push edx
push edi
call fcn.0042d6a0
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x3c]
push 0
add ecx, 0xc
push 0x40d
push ecx
call fcn.0043a8a0
jmp 0x4600df
cmp esi, 0x78
je 0x460089
cmp esi, 0x89
je 0x460089
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0xc]
push eax
push esi
push str.mysql_ha_read:_Got_error__d_when_reading_table__s
call fcn.00430ba0
mov ebx, dword [ebx]
mov edx, dword [ebx]
add esp, 0xc
push 0
push esi
mov ecx, ebx
call dword [edx + 4]
jmp 0x4600e6
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x46016d
mov eax, dword [esi]
push eax
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
call fcn.004c65f0
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
push ebx
push 0x411
call fcn.004c6390
add esp, 8
jmp 0x4600e6
push 0
lea ecx, [edi + 0xc]
push 0x407
push ecx
call fcn.0043a8a0
add esp, 0xc
jmp 0x4600e6