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

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [edi - 3]
cmp eax, 0x10
ja case.0x101fc0aa.4
movzx eax, byte [eax + 0x101fc79c]
jmp dword [eax*4 + 0x101fc780]
mov esi, dword [esp + 0x18]
mov al, byte [esi + 0xc]
cmp al, 1
je 0x101fc120
cmp al, 6
je 0x101fc120
cmp al, 3
je 0x101fc120
mov esi, dword [esp + 0x10]
push str.attribute_value_must_be_an_integer
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc0e5
xor eax, eax
jmp 0x101fc10a
sbb eax, eax
or eax, 1
test eax, eax
je 0x101fc119
push 0
push esi
call sym.php5.dll_pdo_handle_error
add esp, 8
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
push esi
call sym.php5.dll_convert_to_long
mov ecx, dword [esi]
add esp, 4
cmp ecx, 2
ja 0x101fc13d
mov eax, dword [esp + 0x10]
mov dword [eax + 0x34], ecx
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov esi, dword [esp + 0x10]
push str.invalid_error_mode
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc160
xor eax, eax
jmp 0x101fc10a
mov esi, dword [esp + 0x18]
mov al, byte [esi + 0xc]
cmp al, 1
je 0x101fc1e3
cmp al, 6
je 0x101fc1e3
cmp al, 3
je 0x101fc1e3
mov esi, dword [esp + 0x10]
push str.attribute_value_must_be_an_integer
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc1b4
xor eax, eax
jmp 0x101fc10a
push esi
call sym.php5.dll_convert_to_long
mov ecx, dword [esi]
add esp, 4
cmp ecx, 2
ja 0x101fc200
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax + 0x3c], ecx
xor eax, eax
pop esi
pop ecx
ret
mov esi, dword [esp + 0x10]
push str.invalid_case_folding_mode
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc221
xor eax, eax
jmp 0x101fc10a
mov esi, dword [esp + 0x18]
mov al, byte [esi + 0xc]
cmp al, 1
je 0x101fc2b3
cmp al, 6
je 0x101fc2b3
cmp al, 3
je 0x101fc2b3
mov esi, dword [esp + 0x10]
push str.attribute_value_must_be_an_integer
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc284
xor eax, eax
jmp 0x101fc10a
push esi
call sym.php5.dll_convert_to_long
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
shl eax, 8
xor eax, dword [ecx + 0x20]
add esp, 4
and eax, 0x300
xor dword [ecx + 0x20], eax
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov esi, dword [esp + 0x18]
mov al, byte [esi + 0xc]
cmp al, 4
jne 0x101fc335
lea eax, [esp + 0x14]
push eax
push 0
push dword [esi]
call sym.php5.dll_zend_hash_index_find
add esp, 0xc
test eax, eax
jne 0x101fc391
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp byte [eax + 0xc], 1
jne 0x101fc391
mov eax, dword [eax]
cmp eax, 9
je 0x101fc316
cmp eax, 8
jne 0x101fc391
push str.FETCH_INTO_and_FETCH_CLASS_are_not_yet_supported_as_default_fetch_modes
push 0x10484480
push 0
push dword [esp + 0x1c]
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ecx
ret
cmp al, 1
je 0x101fc391
cmp al, 6
je 0x101fc391
cmp al, 3
je 0x101fc391
mov esi, dword [esp + 0x10]
push str.attribute_value_must_be_an_integer
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc362
xor eax, eax
jmp 0x101fc10a
push esi
call sym.php5.dll_convert_to_long
mov ecx, dword [esi]
add esp, 4
test ecx, ecx
jne 0x101fc3aa
push str.invalid_fetch_mode_type
jmp 0x101fc31b
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax + 0x78], ecx
xor eax, eax
pop esi
pop ecx
ret
mov esi, dword [esp + 0x18]
mov al, byte [esi + 0xc]
cmp al, 1
je 0x101fc41f
cmp al, 6
je 0x101fc41f
cmp al, 3
je 0x101fc41f
mov esi, dword [esp + 0x10]
push str.attribute_value_must_be_an_integer
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
jmp 0x101fc3f0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc3f0
xor eax, eax
jmp 0x101fc10a
push esi
call sym.php5.dll_convert_to_long
mov ecx, dword [esp + 0x14]
xor eax, eax
add esp, 4
cmp dword [esi], eax
pop edi
setne al
pop esi
shl eax, 0xa
xor eax, dword [ecx + 0x20]
and eax, 0x400
xor dword [ecx + 0x20], eax
xor eax, eax
pop ecx
ret
mov esi, dword [esp + 0x10]
test byte [esi + 0x20], 1
je 0x101fc49f
push str.PDO::ATTR_STATEMENT_CLASS_cannot_be_used_with_persistent_PDO_instances
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc470
xor eax, eax
jmp 0x101fc10a
push ebx
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0xc], 4
jne 0x101fc652
lea eax, [esp + 0x18]
push eax
push 0
push dword [ebx]
call sym.php5.dll_zend_hash_index_find
add esp, 0xc
cmp eax, 0xffffffff
je 0x101fc652
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp byte [eax + 0xc], 6
jne 0x101fc652
lea ecx, [esp + 0xc]
push ecx
push dword [eax + 4]
push dword [eax]
call sym.php5.dll_zend_lookup_class
add esp, 0xc
cmp eax, 0xffffffff
je 0x101fc652
push dword [0x10660970]
mov eax, dword [esp + 0x10]
push dword [eax]
call sym.php5.dll_instanceof_function
add esp, 8
test al, al
jne 0x101fc55f
push str.user_supplied_statement_class_must_be_derived_from_PDOStatement
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
jmp 0x101fc530
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc690
test dl, dl
je 0x101fc68c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc690
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc530
xor eax, eax
jmp 0x101fc695
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xa4]
test eax, eax
je 0x101fc5c4
test dword [eax + 0xc], 0x600
jne 0x101fc5c4
push str.user_supplied_statement_class_cannot_have_a_public_constructor
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc690
test dl, dl
je 0x101fc68c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc690
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc595
xor eax, eax
jmp 0x101fc695
cmp dword [esi + 0x5c], 0
lea edi, [esi + 0x5c]
mov dword [esi + 0x58], ecx
je 0x101fc5df
push edi
call sym.php5.dll__zval_ptr_dtor
add esp, 4
mov dword [edi], 0
lea eax, [esp + 0x18]
push eax
push 1
push dword [ebx]
call sym.php5.dll_zend_hash_index_find
add esp, 0xc
test eax, eax
jne 0x101fc64b
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp byte [eax + 0xc], 4
je 0x101fc640
push str.PDO::ATTR_STATEMENT_CLASS_requires_format_array_classname__array_ctor_args____ctor_args_must_be_an_array
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc690
test dl, dl
je 0x101fc68c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc690
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc620
xor eax, eax
jmp 0x101fc695
inc dword [eax + 8]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [edi], eax
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret
push str.PDO::ATTR_STATEMENT_CLASS_requires_format_array_classname__array_ctor_args____the_classname_must_be_a_string_specifying_an_existing_class
push 0x10484480
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc690
test dl, dl
je 0x101fc68c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc690
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc670
xor eax, eax
jmp 0x101fc695
sbb eax, eax
or eax, 1
test eax, eax
je 0x101fc6a4
push 0
push esi
call sym.php5.dll_pdo_handle_error
add esp, 8
pop ebx
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x1c], 0
je 0x101fc6fe
push 6
lea eax, [esi + 0x2c]
push 0x10484478
push eax
call sym.php5.dll_php_strlcpy
add esp, 0xc
cmp dword [esi + 0x60], 0
je 0x101fc6e5
lea eax, [esi + 0x68]
push eax
mov dword [esi + 0x60], 0
call sym.php5.dll_zend_objects_store_del_ref
add esp, 4
push dword [esp + 0x18]
mov eax, dword [esi + 0x10]
push edi
mov eax, dword [eax + 0x1c]
push esi
call eax
add esp, 0xc
test eax, eax
jne 0x101fc137
test edi, edi
jne 0x101fc71d
push str.The_auto_commit_mode_cannot_be_changed_for_this_driver
push edi
call sym.php5.dll_php_pdo_get_exception
push eax
call sym.php5.dll_zend_throw_exception_ex
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ecx
ret
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x1c], 0
jne 0x101fc742
push str.driver_does_not_support_setting_attributes
push 0x104faa70
push 0
push esi
call sym.php5.dll_pdo_raise_impl_error
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ecx
ret
mov ecx, 0x10484478
lea eax, [esi + 0x2c]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x101fc105
test dl, dl
je 0x101fc101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x101fc105
add eax, 2
add ecx, 2
test dl, dl
jne 0x101fc750
xor eax, eax
jmp 0x101fc10a