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

Disassembly:
sub esp, 0x28
mov eax, dword [0x106499c8]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
push ebp
push esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
xor ebx, ebx
push ebx
push eax
mov eax, dword [eax + 0xc]
xor ebp, ebp
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x100e2f63
mov eax, dword [esi + 0xa8]
push 6
mov dword [eax + 0x208], 0x7d8
mov eax, dword [esi + 0xa8]
add eax, 0x201
push 0x10484480
push eax
call sym.php5.dll_php_strlcpy
push 0x201
push dword [sym.php5.dll_mysqlnd_out_of_memory]
push dword [esi + 0xa8]
call sym.php5.dll_php_strlcpy
mov eax, dword [esi + 0xa8]
add esp, 0x18
cmp dword [eax + 0x20c], ebx
je 0x100e33d8
push 6
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push 0x10484480
mov dword [esp + 0x38], ebx
push eax
mov dword [esp + 0x30], ebx
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 0x7d8
call sym.php5.dll_php_strlcpy
push 1
push dword [sym.php5.dll_mysqlnd_out_of_memory]
jmp 0x100e33a3
cmp byte [esp + 0x60], 1
mov eax, dword [esi + 4]
push 0
push eax
je 0x100e3044
mov eax, dword [eax + 0x10]
call eax
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x100e2ed9
mov eax, dword [esp + 0x68]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 4]
push esi
mov eax, dword [eax + 8]
push ebp
call eax
add esp, 8
test eax, eax
jne 0x100e30e9
mov eax, dword [esi + 0x314]
push 6
mov eax, dword [eax + 0xbc]
push esi
call eax
mov eax, dword [esi + 0xa8]
push 6
mov dword [eax + 0x208], 0x7d6
mov eax, dword [esi + 0xa8]
add eax, 0x201
push 0x10484480
push eax
call sym.php5.dll_php_strlcpy
push 0x201
push dword [sym.php5.dll_mysqlnd_server_gone]
push dword [esi + 0xa8]
call sym.php5.dll_php_strlcpy
mov eax, dword [esi + 0xa8]
add esp, 0x20
cmp dword [eax + 0x20c], ebx
je 0x100e33d8
push 6
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push 0x10484480
mov dword [esp + 0x38], ebx
push eax
mov dword [esp + 0x30], ebx
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 0x7d6
call sym.php5.dll_php_strlcpy
push 1
push dword [sym.php5.dll_mysqlnd_server_gone]
jmp 0x100e33a3
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x30]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x2c]
add esp, 8
test eax, eax
je 0x100e3077
push eax
call sym.php5.dll_mysqlnd_find_charset_name
add esp, 4
test eax, eax
je 0x100e3077
mov al, byte [eax]
jmp 0x100e307b
mov al, byte [esp + 0x5c]
mov byte [ebx + 0x14], al
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x64]
mov byte [ebx + 0x30], 1
mov dword [ebx + 0x28], eax
test dword [esi + 0x80], 0x100000
je 0x100e30c4
mov eax, dword [esi + 0x2d0]
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 4]
push esi
mov eax, dword [eax + 8]
push ebx
call eax
add esp, 8
test eax, eax
je 0x100e33d8
movzx eax, byte [ebx + 0x14]
push eax
call sym.php5.dll_mysqlnd_find_charset_nr
add esp, 4
mov dword [esi + 0x48], eax
mov eax, dword [edi + 4]
push esi
mov eax, dword [eax + 4]
push edi
call eax
add esp, 8
cmp eax, 1
je 0x100e3169
cmp byte [edi + 0xc], 0xfe
jae 0x100e3169
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x100e311d
movzx eax, byte [esi + 0x318]
push eax
push ecx
call dword [0x1064321c]
add esp, 8
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x100e314f
movzx eax, byte [esi + 0x318]
push eax
push dword [edi + 0x28]
push ecx
call dword [0x10643230]
mov dword [esi + 0xa0], eax
mov eax, dword [edi + 0x28]
add esp, 0xc
mov dword [esi + 0xa4], eax
xor esi, esi
jmp 0x100e33dd
mov dword [esi + 0xa0], 0
mov eax, dword [edi + 0x28]
mov dword [esi + 0xa4], eax
xor esi, esi
jmp 0x100e33dd
mov al, byte [edi + 0xc]
cmp al, 0xfe
jne 0x100e3283
mov eax, dword [edi + 0x238]
test eax, eax
jne 0x100e3215
mov eax, dword [esi + 0xa8]
push 6
mov dword [eax + 0x208], 0x7d0
mov eax, dword [esi + 0xa8]
add eax, 0x201
push 0x10484480
push eax
call sym.php5.dll_php_strlcpy
push 0x201
push dword [sym.php5.dll_mysqlnd_old_passwd]
push dword [esi + 0xa8]
call sym.php5.dll_php_strlcpy
mov eax, dword [esi + 0xa8]
add esp, 0x18
cmp dword [eax + 0x20c], 0
je 0x100e33d8
push 6
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push 0x10484480
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x30], 0
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 0x7d0
call sym.php5.dll_php_strlcpy
push 1
push dword [sym.php5.dll_mysqlnd_old_passwd]
jmp 0x100e33a3
push 0
push dword [edi + 0x23c]
push eax
call dword [0x10643230]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov dword [ecx], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x23c]
add esp, 0xc
mov dword [ecx], eax
cmp dword [edi + 0x240], 0
je 0x100e326e
mov eax, dword [edi + 0x244]
push eax
mov dword [esi], eax
call dword [sym.php5.dll_mysqlnd_allocator]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
push dword [esi]
push dword [edi + 0x240]
push eax
call sub.MSVCR110.dll_memcpy
jmp 0x100e33d5
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
mov dword [esi], 0
jmp 0x100e33d8
cmp al, 0xff
jne 0x100e33d8
cmp byte [edi + 0x22d], 0
lea eax, [edi + 0x22d]
je 0x100e32cc
push 6
push eax
mov eax, dword [esi + 0xa8]
add eax, 0x201
push eax
call sym.php5.dll_php_strlcpy
lea eax, [edi + 0x2c]
push eax
lea eax, [edi + 0x22d]
push eax
push dword [edi + 0x234]
push str.ERROR:_u__SQLSTATE:_s___s
call fcn.100e3fb0
add esp, 0x1c
mov ecx, dword [edi + 0x234]
mov eax, dword [esi + 0xa8]
push 6
test ecx, ecx
jne 0x100e3327
mov dword [eax + 0x208], ecx
mov eax, dword [esi + 0xa8]
push 0x10484478
mov byte [eax], cl
mov eax, dword [esi + 0xa8]
add eax, 0x201
push eax
call sym.php5.dll_php_strlcpy
mov eax, dword [esi + 0xa8]
add esp, 0xc
mov eax, dword [eax + 0x20c]
test eax, eax
je 0x100e33d8
push eax
call sym.php5.dll_zend_llist_clean
add esp, 4
jmp 0x100e33d8
mov dword [eax + 0x208], ecx
mov eax, dword [esi + 0xa8]
add eax, 0x201
push 0x10484480
push eax
call sym.php5.dll_php_strlcpy
lea eax, [edi + 0x2c]
push 0x201
push eax
push dword [esi + 0xa8]
call sym.php5.dll_php_strlcpy
mov eax, dword [esi + 0xa8]
add esp, 0x18
cmp dword [eax + 0x20c], 0
je 0x100e33d8
mov eax, dword [edi + 0x234]
mov dword [esp + 0x30], 0
push 6
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push 0x10484480
push eax
mov dword [esp + 0x30], 0
movq qword [esp + 0x34], xmm0
call sym.php5.dll_php_strlcpy
push 1
lea eax, [edi + 0x2c]
push eax
call dword [0x10643234]
add esp, 0x14
mov dword [esp + 0x24], eax
test eax, eax
je 0x100e33d8
push eax
push str.adding_error___s__to_the_list
call fcn.100e3fa0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi + 0xa8]
push dword [eax + 0x20c]
call sym.php5.dll_zend_llist_add_element
add esp, 0x10
mov esi, 1
push ebp
push str.PACKET_FREE__p_
call fcn.100e3fa0
add esp, 8
test ebp, ebp
je 0x100e33fd
mov eax, dword [ebp + 4]
push 0
mov eax, dword [eax + 0xc]
push ebp
call eax
add esp, 8
push ebx
push str.PACKET_FREE__p_
call fcn.100e3fa0
add esp, 8
test ebx, ebx
je 0x100e341d
mov eax, dword [ebx + 4]
push 0
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
push edi
push str.PACKET_FREE__p_
call fcn.100e3fa0
add esp, 8
test edi, edi
je 0x100e343d
mov ecx, dword [edi + 4]
push 0
mov ecx, dword [ecx + 0xc]
push edi
call ecx
add esp, 8
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10311bec
add esp, 0x28
ret