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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov eax, edx
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov dword [esp + 0x24], eax
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [eax], ebx
call fcn.100cac40
test eax, eax
jne 0x100ce9ed
mov edi, dword [ebp + 8]
cmp byte [0x10165afc], bl
jne 0x100ce160
mov dword [esp + 0x14], ebx
jmp 0x100ce18b
test edi, 0x8000
je 0x100ce16e
mov dword [esp + 0x14], ebx
jmp 0x100ce18b
test edi, 0x10000
je 0x100ce180
mov dword [esp + 0x14], 1
jmp 0x100ce18b
movzx eax, byte [0x10165afd]
mov dword [esp + 0x14], eax
test edi, 0x40000
je 0x100ce19b
and edi, 0xfffdffff
jmp 0x100ce1a9
cmp dword [0x10165bc0], ebx
je 0x100ce1a9
or edi, 0x20000
and edi, 0xfff600e7
push 0
push 0x218
mov dword [esp + 0x2c], edi
mov dword [ebp + 8], edi
call fcn.1001e110
mov esi, eax
add esp, 8
test esi, esi
je 0x100ce93e
push 0x218
push 0
push esi
call fcn.1012a970
add esp, 0xc
mov eax, esi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
je 0x100ce27a
cmp byte [0x10165afc], bl
jne 0x100ce1fc
mov dword [esi + 0xc], ebx
jmp 0x100ce20e
push 1
call dword [0x10165b40]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100ce27a
cmp dword [0x10165af8], ebx
je 0x100ce266
mov eax, dword [0x10168b40]
test eax, eax
je 0x100ce229
push eax
call dword [0x10165b48]
add esp, 4
push esi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push esi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100ce270
push eax
call dword [0x10165b50]
add esp, 4
xor edi, edi
lea esi, [edi + 7]
jmp 0x100ce94b
push esi
call dword [0x10165b1c]
add esp, 4
xor edi, edi
lea esi, [edi + 7]
jmp 0x100ce94b
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100ce28b
push eax
call dword [0x10165b48]
add esp, 4
mov eax, edi
mov dword [esi + 0x14], 2
and eax, 0x2000000
mov byte [esi + 0x61], 0x6d
neg eax
mov dword [esi + 0x130], 1
push 0
sbb eax, eax
mov edx, 0x10151344
and eax, 0xffffff00
add eax, 0xff
mov dword [esi + 0x48], eax
lea eax, [esi + 0x1cc]
mov dword [esi + 0x10], eax
xor eax, eax
mov word [esi + 0x134], ax
movups xmm0, xmmword [0x10150d60]
push fcn.100cba60
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x10150d70]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x10150d80]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x10165ba0]
mov ecx, dword [0x10165ba4]
or dword [esi + 0x20], 0xe00480e0
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x34], ecx
mov ecx, esi
mov dword [esi + 0x64], ebx
mov dword [esi + 0xb8], 0x10166f98
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x190], ebx
call fcn.100cd920
push 0
push fcn.100cba60
push 0
push 3
mov edx, 0x10151344
mov ecx, esi
call fcn.100cd920
push 0
push fcn.100cba60
push 0
push 2
mov edx, 0x10151344
mov ecx, esi
call fcn.100cd920
push 0
push 0x100cbb30
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.100cd920
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x100cbae0
push 0
push 1
call fcn.100cd920
add esp, 0x10
mov edi, esi
cmp byte [esi + 0x57], bl
jne 0x100ce8ba
mov ecx, dword [esp + 0x24]
mov eax, 1
mov dword [esi + 0x3c], ecx
and ecx, 7
shl eax, cl
test al, 0x46
jne 0x100ce418
push 0x10156d84
push 0x2b4d1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021490
add esp, 0x14
mov ecx, 0x15
jmp 0x100ce456
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.100cdb40
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x100ce4dd
cmp eax, 7
jne 0x100ce44e
mov ecx, esi
call fcn.1001eb60
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xor edx, edx
test edi, edi
mov eax, 0x101586b4
push edi
cmove eax, edx
push eax
push ecx
push esi
call fcn.100220c0
add esp, 0x10
test edi, edi
je 0x100ce4d6
cmp dword [0x10165af8], 0
je 0x100ce4cc
mov eax, dword [0x10168b40]
test eax, eax
je 0x100ce492
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100ce4d6
push eax
call dword [0x10165b50]
add esp, 4
mov edi, esi
jmp 0x100ce8ba
push edi
call dword [0x10165b1c]
add esp, 4
mov edi, esi
jmp 0x100ce8ba
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
or eax, 0x100
mov ecx, dword [esi]
mov edx, ebx
push eax
mov eax, dword [esi + 0x10]
push 0
add eax, 4
mov dword [esp + 0x2c], ebx
push eax
push esi
call fcn.10035fa0
add esp, 0x10
test eax, eax
je 0x100ce527
cmp eax, 0xc0a
jne 0x100ce514
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.10022010
jmp 0x100ce8ba
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x100ce541
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x100ce541
call fcn.10034170
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.10079460
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x100ce597
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x1b0]
push 0
mov edx, 0x10151344
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x13], al
mov byte [esi + 0x54], al
call fcn.10023a10
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100ce594
movzx eax, byte [esp + 0xf]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
mov dword [esi + 8], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x100ce5ae
add dword [ecx + 0xc], 0xffffffff
jne 0x100ce5ae
call fcn.10034150
xor edx, edx
mov ecx, esi
call fcn.10079460
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [eax], str.main
mov eax, dword [esi + 0x10]
mov byte [eax + 8], 3
mov eax, dword [esi + 0x10]
mov dword [eax + 0x10], str.temp
mov eax, dword [esi + 0x10]
mov byte [eax + 0x18], 1
cmp byte [esi + 0x57], 0
mov byte [esi + 0x61], 0x76
jne 0x100ce8ba
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x100ce607
xor edx, edx
mov ecx, esi
call fcn.10022010
jmp 0x100ce60e
mov dword [esi + 0x44], 0xffffffff
push 2
push str.MATCH
push esi
call fcn.100ccc00
add esp, 0xc
cmp eax, 7
jne 0x100ce62a
mov ecx, esi
call fcn.1001eb60
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100ce679
cmp al, 0x76
je 0x100ce679
cmp al, 0x6d
je 0x100ce679
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021490
add esp, 0xc
push 0x10156d84
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021490
add esp, 0x14
mov dword [esp + 0x10], esi
mov edx, 0x15
jmp 0x100ce862
cmp byte [esi + 0x57], 0
mov ecx, esi
mov dword [esp + 0x10], ecx
jne 0x100ce85d
mov edx, dword [esi + 0x48]
and edx, dword [esi + 0x40]
jne 0x100ce862
mov eax, 0x1014ed54
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov edx, ecx
mov ecx, edi
cmp eax, 0x1014ed6c
jge 0x100ce6cd
mov eax, dword [eax]
push esi
call eax
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, esi
add eax, 4
mov dword [esp + 0x1c], eax
test edx, edx
je 0x100ce6a2
jmp 0x100ce862
cmp dword [0x10168928], 0
mov eax, edx
mov dword [esp + 0x10], eax
je 0x100ce7fc
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
lea ebx, [ecx + 1]
nop dword [eax]
cmp byte [0x10165afc], 0
jne 0x100ce6fd
xor edi, edi
jmp 0x100ce71c
push 2
call dword [0x10165b40]
mov edi, eax
add esp, 4
test edi, edi
je 0x100ce718
push edi
call dword [0x10165b48]
add esp, 4
mov ecx, dword [esp + 0x14]
cmp ecx, dword [0x10168928]
jb 0x100ce730
mov dword [esp + 0x1c], 0
xor ebx, ebx
jmp 0x100ce73c
mov eax, dword [0x1016892c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x100ce74a
push edi
call dword [0x10165b50]
add esp, 4
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x18], edi
test eax, eax
je 0x100ce785
push 0x101514d8
lea ecx, [esp + 0x1c]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x100ce781
push dword [esp + 0x18]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.100220c0
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100ce7e1
cmp dword [0x10165af8], 0
je 0x100ce7d7
mov eax, dword [0x10168b40]
test eax, eax
je 0x100ce7a5
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100ce7e1
push eax
call dword [0x10165b50]
jmp 0x100ce7de
push edi
call dword [0x10165b1c]
add esp, 4
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x100ce6f0
mov ebx, dword [esp + 0x24]
mov edi, esi
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, edi
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100ce843
cmp al, 0x76
je 0x100ce843
cmp al, 0x6d
je 0x100ce843
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021490
add esp, 0xc
push 0x10156d84
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021490
add esp, 0x14
jmp 0x100ce8ba
cmp byte [esi + 0x57], 0
mov edi, edx
mov dword [esp + 0x10], ecx
jne 0x100ce8ba
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x100ce8ba
mov dword [esp + 0x10], ecx
jmp 0x100ce86c
mov edx, 7
mov ecx, esi
mov dword [esi + 0x40], edx
call fcn.10022010
push dword [0x10165b10]
xor edx, edx
mov ecx, esi
push dword [0x10165b0c]
call fcn.100cb460
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x100ce895
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x100ccf10
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x100ce8ba
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100ce8cb
push eax
call dword [0x10165b50]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100ce917
cmp al, 0x76
je 0x100ce917
cmp al, 0x6d
je 0x100ce917
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021490
add esp, 0xc
push 0x10156d84
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021490
add esp, 0x14
mov byte [edi + 0x61], 0xba
mov esi, 0x15
jmp 0x100ce956
cmp byte [esi + 0x57], 0
jne 0x100ce940
mov ecx, dword [esi + 0x40]
and ecx, dword [esi + 0x48]
mov edi, dword [esp + 0x10]
mov edx, ecx
mov dword [esp + 0x24], ecx
cmp cl, 7
je 0x100ce947
mov esi, edx
test edx, edx
je 0x100ce956
mov byte [edi + 0x61], 0xba
jmp 0x100ce956
mov edi, esi
mov esi, 7
jmp 0x100ce94b
mov esi, dword [esp + 0x24]
xor edx, edx
mov ecx, edi
call fcn.100cbcc0
xor edi, edi
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
test ebx, ebx
je 0x100ce9eb
cmp byte [ebx - 1], 0
lea eax, [ebx - 1]
jne 0x100ce981
cmp byte [ebx - 2], 0
jne 0x100ce981
cmp byte [ebx - 3], 0
jne 0x100ce981
add ebx, 0xfffffffc
cmp byte [ebx], 0
je 0x100ce985
mov ebx, eax
jmp 0x100ce964
test ebx, ebx
je 0x100ce9eb
cmp dword [0x10165af8], 0
je 0x100ce9e1
mov eax, dword [0x10168b40]
test eax, eax
je 0x100ce9a5
push eax
call dword [0x10165b48]
add esp, 4
push ebx
call dword [0x10165b24]
sub dword [0x101689c8], eax
add esp, 4
dec dword [0x101689ec]
push ebx
call dword [0x10165b1c]
mov eax, dword [0x10168b40]
add esp, 4
test eax, eax
je 0x100ce9eb
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
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret