Function at 0x100ce220
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.100cad40
test eax, eax
jne 0x100ceaed
mov edi, dword [ebp + 8]
cmp byte [0x10165afc], bl
jne 0x100ce260
mov dword [esp + 0x14], ebx
jmp 0x100ce28b
test edi, 0x8000
je 0x100ce26e
mov dword [esp + 0x14], ebx
jmp 0x100ce28b
test edi, 0x10000
je 0x100ce280
mov dword [esp + 0x14], 1
jmp 0x100ce28b
movzx eax, byte [0x10165afd]
mov dword [esp + 0x14], eax
test edi, 0x40000
je 0x100ce29b
and edi, 0xfffdffff
jmp 0x100ce2a9
cmp dword [0x10165bc0], ebx
je 0x100ce2a9
or edi, 0x20000
and edi, 0xfff600e7
push 0
push 0x218
mov dword [esp + 0x2c], edi
mov dword [ebp + 8], edi
call fcn.1001e1a0
mov esi, eax
add esp, 8
test esi, esi
je 0x100cea3e
push 0x218
push 0
push esi
call fcn.1012aa20
add esp, 0xc
mov eax, esi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
je 0x100ce37a
cmp byte [0x10165afc], bl
jne 0x100ce2fc
mov dword [esi + 0xc], ebx
jmp 0x100ce30e
push 1
call dword [0x10165b40]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100ce37a
cmp dword [0x10165af8], ebx
je 0x100ce366
mov eax, dword [0x10168b40]
test eax, eax
je 0x100ce329
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 0x100ce370
push eax
call dword [0x10165b50]
add esp, 4
xor edi, edi
lea esi, [edi + 7]
jmp 0x100cea4b
push esi
call dword [0x10165b1c]
add esp, 4
xor edi, edi
lea esi, [edi + 7]
jmp 0x100cea4b
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100ce38b
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, 0x10151384
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 [0x10150da0]
push fcn.100cbb60
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x10150db0]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x10150dc0]
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.100cda20
push 0
push fcn.100cbb60
push 0
push 3
mov edx, 0x10151384
mov ecx, esi
call fcn.100cda20
push 0
push fcn.100cbb60
push 0
push 2
mov edx, 0x10151384
mov ecx, esi
call fcn.100cda20
push 0
push 0x100cbc30
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.100cda20
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x100cbbe0
push 0
push 1
call fcn.100cda20
add esp, 0x10
mov edi, esi
cmp byte [esi + 0x57], bl
jne 0x100ce9ba
mov ecx, dword [esp + 0x24]
mov eax, 1
mov dword [esi + 0x3c], ecx
and ecx, 7
shl eax, cl
test al, 0x46
jne 0x100ce518
push 0x10156dc4
push 0x2b4d1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021520
add esp, 0x14
mov ecx, 0x15
jmp 0x100ce556
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.100cdc40
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x100ce5dd
cmp eax, 7
jne 0x100ce54e
mov ecx, esi
call fcn.1001ebf0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xor edx, edx
test edi, edi
mov eax, 0x101586d8
push edi
cmove eax, edx
push eax
push ecx
push esi
call fcn.10022150
add esp, 0x10
test edi, edi
je 0x100ce5d6
cmp dword [0x10165af8], 0
je 0x100ce5cc
mov eax, dword [0x10168b40]
test eax, eax
je 0x100ce592
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 0x100ce5d6
push eax
call dword [0x10165b50]
add esp, 4
mov edi, esi
jmp 0x100ce9ba
push edi
call dword [0x10165b1c]
add esp, 4
mov edi, esi
jmp 0x100ce9ba
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.10036000
add esp, 0x10
test eax, eax
je 0x100ce627
cmp eax, 0xc0a
jne 0x100ce614
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.100220a0
jmp 0x100ce9ba
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x100ce641
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x100ce641
call fcn.100341d0
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.100794e0
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x100ce697
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x1b0]
push 0
mov edx, 0x10151384
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x13], al
mov byte [esi + 0x54], al
call fcn.10023aa0
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100ce694
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 0x100ce6ae
add dword [ecx + 0xc], 0xffffffff
jne 0x100ce6ae
call fcn.100341b0
xor edx, edx
mov ecx, esi
call fcn.100794e0
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 0x100ce9ba
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x100ce707
xor edx, edx
mov ecx, esi
call fcn.100220a0
jmp 0x100ce70e
mov dword [esi + 0x44], 0xffffffff
push 2
push str.MATCH
push esi
call fcn.100ccd00
add esp, 0xc
cmp eax, 7
jne 0x100ce72a
mov ecx, esi
call fcn.1001ebf0
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100ce779
cmp al, 0x76
je 0x100ce779
cmp al, 0x6d
je 0x100ce779
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021520
add esp, 0xc
push 0x10156dc4
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021520
add esp, 0x14
mov dword [esp + 0x10], esi
mov edx, 0x15
jmp 0x100ce962
cmp byte [esi + 0x57], 0
mov ecx, esi
mov dword [esp + 0x10], ecx
jne 0x100ce95d
mov edx, dword [esi + 0x48]
and edx, dword [esi + 0x40]
jne 0x100ce962
mov eax, 0x1014ed94
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov edx, ecx
mov ecx, edi
cmp eax, 0x1014edac
jge 0x100ce7cd
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 0x100ce7a2
jmp 0x100ce962
cmp dword [0x10168928], 0
mov eax, edx
mov dword [esp + 0x10], eax
je 0x100ce8fc
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 0x100ce7fd
xor edi, edi
jmp 0x100ce81c
push 2
call dword [0x10165b40]
mov edi, eax
add esp, 4
test edi, edi
je 0x100ce818
push edi
call dword [0x10165b48]
add esp, 4
mov ecx, dword [esp + 0x14]
cmp ecx, dword [0x10168928]
jb 0x100ce830
mov dword [esp + 0x1c], 0
xor ebx, ebx
jmp 0x100ce83c
mov eax, dword [0x1016892c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x100ce84a
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 0x100ce885
push 0x10151518
lea ecx, [esp + 0x1c]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x100ce881
push dword [esp + 0x18]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.10022150
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100ce8e1
cmp dword [0x10165af8], 0
je 0x100ce8d7
mov eax, dword [0x10168b40]
test eax, eax
je 0x100ce8a5
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 0x100ce8e1
push eax
call dword [0x10165b50]
jmp 0x100ce8de
push edi
call dword [0x10165b1c]
add esp, 4
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x100ce7f0
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 0x100ce943
cmp al, 0x76
je 0x100ce943
cmp al, 0x6d
je 0x100ce943
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021520
add esp, 0xc
push 0x10156dc4
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021520
add esp, 0x14
jmp 0x100ce9ba
cmp byte [esi + 0x57], 0
mov edi, edx
mov dword [esp + 0x10], ecx
jne 0x100ce9ba
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x100ce9ba
mov dword [esp + 0x10], ecx
jmp 0x100ce96c
mov edx, 7
mov ecx, esi
mov dword [esi + 0x40], edx
call fcn.100220a0
push dword [0x10165b10]
xor edx, edx
mov ecx, esi
push dword [0x10165b0c]
call fcn.100cb560
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x100ce995
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x100cd010
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x100ce9ba
push eax
call dword [0x10165b50]
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100ce9cb
push eax
call dword [0x10165b50]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100cea17
cmp al, 0x76
je 0x100cea17
cmp al, 0x6d
je 0x100cea17
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021520
add esp, 0xc
push 0x10156dc4
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021520
add esp, 0x14
mov byte [edi + 0x61], 0xba
mov esi, 0x15
jmp 0x100cea56
cmp byte [esi + 0x57], 0
jne 0x100cea40
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 0x100cea47
mov esi, edx
test edx, edx
je 0x100cea56
mov byte [edi + 0x61], 0xba
jmp 0x100cea56
mov edi, esi
mov esi, 7
jmp 0x100cea4b
mov esi, dword [esp + 0x24]
xor edx, edx
mov ecx, edi
call fcn.100cbdc0
xor edi, edi
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
test ebx, ebx
je 0x100ceaeb
cmp byte [ebx - 1], 0
lea eax, [ebx - 1]
jne 0x100cea81
cmp byte [ebx - 2], 0
jne 0x100cea81
cmp byte [ebx - 3], 0
jne 0x100cea81
add ebx, 0xfffffffc
cmp byte [ebx], 0
je 0x100cea85
mov ebx, eax
jmp 0x100cea64
test ebx, ebx
je 0x100ceaeb
cmp dword [0x10165af8], 0
je 0x100ceae1
mov eax, dword [0x10168b40]
test eax, eax
je 0x100ceaa5
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 0x100ceaeb
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