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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
push esi
mov eax, ecx
mov dword [esp + 0x18], 0
xor ebx, ebx
mov dword [esp + 0x2c], eax
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0
push ebx
push ecx
lea edx, [ebx + 0x23]
mov dword [esp + 0x20], 0
mov ecx, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], ebx
call fcn.100e0b90
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
test esi, esi
jne 0x100eca50
push dword [ebp + 0xc]
mov esi, dword [esp + 0x2c]
push dword [ebp + 8]
push 1
push esi
call fcn.1004b480
add esp, 0x10
mov dword [esp + 0x34], ebx
test esi, esi
je 0x100ec937
cmp dword [esi], ebx
jne 0x100ec5b7
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021740
add esp, 8
mov eax, 1
jmp 0x100ec5b9
xor eax, eax
test eax, eax
jne 0x100ec946
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100ec5d8
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, esi
call fcn.10049c30
mov edi, eax
cmp edi, 0x11
jne 0x100ec731
nop word [eax + eax]
mov eax, dword [esp + 0x34]
mov ecx, eax
inc eax
mov dword [esp + 0x34], eax
cmp ecx, 0x32
jge 0x100ec731
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x3c]
mov edi, dword [esi]
mov edx, dword [esi + 0xc8]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov ecx, edi
movzx eax, byte [esi + 0x94]
push esi
push eax
push 0xffffffffffffffff
call fcn.100937b0
add esp, 0x14
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100ec7df
mov esi, dword [esp + 0x3c]
lea edi, [esp + 0x40]
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov ecx, 0x3a
mov edi, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
lea esi, [esp + 0x40]
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov edx, esi
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 0xc8]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0xc8]
mov dword [edi + 0xc8], eax
mov dword [esi + 0xc8], ecx
mov ecx, edi
mov eax, dword [edi + 0xdc]
mov dword [esi + 0xdc], eax
mov al, byte [edi + 0x94]
mov byte [esi + 0x94], al
movups xmm0, xmmword [edi + 0xa4]
movups xmmword [esi + 0xa4], xmm0
movups xmm0, xmmword [edi + 0xb4]
movups xmmword [esi + 0xb4], xmm0
mov eax, dword [edi + 0xc4]
mov dword [esi + 0xc4], eax
inc dword [esi + 0xb8]
call fcn.1004bd20
mov dword [edi + 0x24], ebx
cmp byte [edi + 0x95], 1
jb 0x100ec702
mov ecx, edi
call fcn.10046c60
mov ecx, edi
call fcn.10046d40
push esi
call fcn.10048ea0
add esp, 4
cmp dword [esp + 0x14], ebx
jl 0x100ec71f
mov byte [esi + 0x93], 0xfe
mov ecx, esi
call fcn.10049c30
mov edi, eax
cmp edi, 0x11
je 0x100ec5f0
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x100ec746
push eax
call dword [0x10165b50]
add esp, 4
cmp edi, 0x64
jne 0x100ec964
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jl 0x100ec78f
add edi, 0x10
mov dword [esp + 0x18], edi
call fcn.100cb480
test eax, eax
jne 0x100ec92d
mov ecx, dword [esp + 0x1c]
lea eax, [edi*4]
push 0
push eax
call fcn.1001e930
add esp, 8
test eax, eax
je 0x100ec92d
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100ec7a2
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x100ec7b4
xor eax, eax
cmp ax, word [esi + 0x90]
jb 0x100ec7cc
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100223b0
mov ecx, 0x10151a48
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x100ec8bb
mov edi, dword [ecx]
jmp 0x100ec8eb
cmp eax, 7
jne 0x100ec7eb
mov ecx, edi
call fcn.1001ef20
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100ec7fd
xor edi, edi
jmp 0x100ec830
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100ec81a
cmp byte [ecx + 0x12], 1
jne 0x100ec81a
mov edi, dword [ecx + 8]
jmp 0x100ec82c
test dl, 1
je 0x100ec823
xor edi, edi
jmp 0x100ec82c
mov dl, 1
call fcn.100436a0
mov edi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x100ec83e
mov ecx, eax
call fcn.1001e7b0
mov edx, dword [esp + 0xc]
cmp byte [edx + 0x57], bl
jne 0x100ec8ab
test edi, edi
jne 0x100ec84f
xor eax, eax
jmp 0x100ec891
mov ecx, edi
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ec858
sub ecx, dword [esp + 0x14]
push 0
lea eax, [ecx + 1]
mov ecx, edx
push eax
mov dword [esp + 0x1c], eax
call fcn.1001ec50
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x100ec891
push dword [esp + 0x14]
push edi
push eax
call fcn.1012bff0
mov eax, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x7c], eax
call fcn.1001f000
mov edi, eax
mov dword [esi + 0x24], edi
jmp 0x100ec731
mov edi, 7
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x24], edi
jmp 0x100ec735
test al, 8
je 0x100ec8cc
movsd xmm0, qword [ecx]
call fcn.100429b0
mov edi, eax
jmp 0x100ec8eb
test al, 0x12
je 0x100ec8de
cmp dword [ecx + 8], ebx
je 0x100ec8de
call fcn.100429e0
mov edi, eax
jmp 0x100ec8eb
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edi, dword [esp + 0x20]
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], bl
jne 0x100ec8fd
test edx, edx
jne 0x100ec8fd
xor eax, eax
jmp 0x100ec902
call fcn.1001f000
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100ec918
push eax
call dword [0x10165b50]
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [eax + ecx*4], edi
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x100ec591
mov dword [esp + 0x10], 7
jmp 0x100ec964
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10021740
add esp, 8
push 0x10156e9c
push 0x159e1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021740
add esp, 0x14
test esi, esi
jne 0x100ec96f
xor eax, eax
jmp 0x100ec9ff
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100ec982
push eax
call dword [0x10165b48]
add esp, 4
cmp dword [esi + 0x8c], ebx
jl 0x100ec99d
jg 0x100ec994
cmp dword [esi + 0x88], ebx
jbe 0x100ec99d
mov edx, esi
mov ecx, edi
call fcn.10048d00
mov ecx, esi
call fcn.10046c60
mov byte [esi + 0x95], 1
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], ebx
mov word [esi + 0x92], 0xff02
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
cmp byte [edi + 0x57], bl
jne 0x100ec9dd
test eax, eax
je 0x100ec9e6
mov edx, eax
mov ecx, edi
call fcn.1001f000
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x100ec9ff
push ecx
call dword [0x10165b50]
mov eax, dword [esp + 0x1c]
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x100eca50
mov esi, eax
test eax, eax
jne 0x100eca50
mov ecx, dword [esp + 0x30]
lea edx, [esi + 0x1f]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.100e0b90
mov ebx, dword [esp + 0x40]
mov esi, eax
add esp, 8
test esi, esi
jne 0x100eca50
push dword [ebp + 0xc]
push dword [ebp + 8]
push 2
push ebx
call fcn.1004b480
mov eax, dword [esp + 0x40]
add esp, 0x10
xor edi, edi
mov dword [esp + 0x10], edi
mov byte [eax + 0xf0], 1
jmp 0x100eca70
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x10], edi
mov byte [eax + 0xf0], 1
test esi, esi
jne 0x100ece2a
nop dword [eax]
cmp edi, dword [esp + 0x2c]
jge 0x100ece26
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edi*4]
cmp eax, edi
je 0x100ece19
cdq
push edx
push eax
push 3
push ebx
call fcn.1004b480
mov eax, edi
cdq
push edx
push eax
push 1
push ebx
call fcn.1004b480
add esp, 0x20
xor esi, esi
test ebx, ebx
jne 0x100ecabb
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.10021740
add esp, 8
jmp 0x100ecadb
cmp dword [ebx], esi
jne 0x100ecad5
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.10021740
add esp, 8
mov eax, 1
jmp 0x100ecad7
xor eax, eax
test eax, eax
je 0x100ecafe
push 0x10156e9c
push 0x159e1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021740
add esp, 0x14
jmp 0x100ecd47
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100ecb15
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, ebx
call fcn.10049c30
cmp eax, 0x11
jne 0x100ecd32
mov eax, esi
inc esi
mov dword [esp + 0x14], esi
cmp eax, 0x32
jge 0x100ecd2e
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x18]
mov edi, dword [ebx]
mov edx, dword [ebx + 0xc8]
push 0
push ecx
mov dword [esp + 0x28], eax
mov ecx, edi
movzx eax, byte [ebx + 0x94]
push ebx
push eax
push 0xffffffffffffffff
call fcn.100937b0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100ecc64
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x40]
mov ecx, 0x3a
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
mov ecx, 0x3a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3a
lea esi, [esp + 0x40]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xc8], eax
mov dword [ebx + 0xc8], ecx
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xdc], eax
mov al, byte [esi + 0x94]
mov byte [ebx + 0x94], al
movups xmm0, xmmword [esi + 0xa4]
movups xmmword [ebx + 0xa4], xmm0
movups xmm0, xmmword [esi + 0xb4]
movups xmmword [ebx + 0xb4], xmm0
mov eax, dword [esi + 0xc4]
mov dword [ebx + 0xc4], eax
inc dword [ebx + 0xb8]
call fcn.1004bd20
mov dword [esi + 0x24], 0
cmp byte [esi + 0x95], 1
jb 0x100ecc2d
mov ecx, esi
call fcn.10046c60
mov ecx, esi
call fcn.10046d40
push ebx
call fcn.10048ea0
add esp, 4
cmp dword [esp + 0x20], 0
jl 0x100ecc4b
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.10049c30
cmp eax, 0x11
jne 0x100ecd2e
mov esi, dword [esp + 0x14]
jmp 0x100ecb25
cmp esi, 7
jne 0x100ecc70
mov ecx, edi
call fcn.1001ef20
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100ecc82
xor edi, edi
jmp 0x100eccb5
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100ecc9f
cmp byte [ecx + 0x12], 1
jne 0x100ecc9f
mov edi, dword [ecx + 8]
jmp 0x100eccb1
test dl, 1
je 0x100ecca8
xor edi, edi
jmp 0x100eccb1
mov dl, 1
call fcn.100436a0
mov edi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x100eccc3
mov ecx, eax
call fcn.1001e7b0
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x57], 0
jne 0x100ecd54
test edi, edi
jne 0x100eccd9
xor ecx, ecx
jmp 0x100ecd1f
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ecce0
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x10]
push eax
mov dword [esp + 0x28], eax
call fcn.1001ec50
mov ecx, eax
add esp, 8
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100ecd1b
push dword [esp + 0x20]
push edi
push ecx
call fcn.1012bff0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x7c], ecx
mov edx, esi
mov ecx, eax
call fcn.1001f000
mov dword [ebx + 0x24], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100ecd47
push eax
call dword [0x10165b50]
add esp, 4
test ebx, ebx
jne 0x100ecd68
mov dword [esp + 0x10], ebx
jmp 0x100ece15
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], 7
jmp 0x100ecd36
mov esi, dword [ebx]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100ecd7b
push eax
call dword [0x10165b48]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100ecd98
jg 0x100ecd8f
cmp dword [ebx + 0x88], 0
jbe 0x100ecd98
mov edx, ebx
mov ecx, esi
call fcn.10048d00
mov ecx, ebx
call fcn.10046c60
mov byte [ebx + 0x95], 1
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0
mov word [ebx + 0x92], 0xff02
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp byte [esi + 0x57], 0
jne 0x100ecdf7
test eax, eax
jne 0x100ecdf7
mov dword [esp + 0x10], eax
jmp 0x100ece04
mov edx, eax
mov ecx, esi
call fcn.1001f000
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100ece15
push eax
call dword [0x10165b50]
add esp, 4
mov esi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
test esi, esi
je 0x100eca70
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov byte [eax + 0xf0], 0
test ebx, ebx
je 0x100ece9b
cmp dword [0x10165af8], 0
je 0x100ece91
mov eax, dword [0x10168b48]
test eax, eax
je 0x100ece55
push eax
call dword [0x10165b48]
add esp, 4
push ebx
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push ebx
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x100ece9b
push eax
call dword [0x10165b50]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x10165b1c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret