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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, edx
mov dword [esp + 4], ecx
push ebx
xor edx, edx
mov dword [esp + 0x1c], eax
push esi
push edi
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edx
mov dword [eax], edx
call fcn.100ca320
test eax, eax
jne 0x100ce0f6
mov edi, dword [ebp + 8]
cmp byte [0x10165b3c], al
jne 0x100cd862
xor ebx, ebx
jmp 0x100cd882
test edi, 0x8000
je 0x100cd86e
xor ebx, ebx
jmp 0x100cd882
mov ebx, 1
test edi, 0x10000
jne 0x100cd882
movzx ebx, byte [0x10165b3d]
test edi, 0x40000
je 0x100cd892
and edi, 0xfffdffff
jmp 0x100cd8a1
cmp dword [0x10165c00], 0
je 0x100cd8a1
or edi, 0x20000
push 0
and edi, 0xfff600e7
push 0x218
mov dword [ebp + 8], edi
call fcn.1001e500
mov esi, eax
add esp, 8
test esi, esi
je 0x100ce040
push 0x218
push 0
push esi
call fcn.10129b70
add esp, 0xc
test ebx, ebx
je 0x100cd96c
cmp byte [0x10165b3c], 0
jne 0x100cd8ed
mov dword [esi + 0xc], 0
jmp 0x100cd8ff
push 1
call dword [0x10165b80]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100cd96c
cmp dword [0x10165b38], 0
je 0x100cd958
mov eax, dword [0x10168b88]
test eax, eax
je 0x100cd91b
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x100cd962
push eax
call dword [0x10165b90]
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x100ce04d
push esi
call dword [0x10165b5c]
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x100ce04d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100cd97d
push eax
call dword [0x10165b88]
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, 0x1015042c
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 [0x1014fe34]
push fcn.100cb150
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x1014fe44]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x1014fe54]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x10165be0]
mov ecx, dword [0x10165be4]
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], 0
mov dword [esi + 0xb8], 0x10166fd8
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x190], 0
call fcn.100cd020
push 0
push fcn.100cb150
push 0
push 3
mov edx, 0x1015042c
mov ecx, esi
call fcn.100cd020
push 0
push fcn.100cb150
push 0
push 2
mov edx, 0x1015042c
mov ecx, esi
call fcn.100cd020
push 0
push 0x100cb220
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.100cd020
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x100cb1d0
push 0
push 1
call fcn.100cd020
add esp, 0x10
mov ebx, esi
cmp byte [esi + 0x57], 0
jne 0x100cdbe3
mov dword [esi + 0x3c], edi
mov eax, 1
and edi, 7
mov ecx, edi
shl eax, cl
test al, 0x46
jne 0x100cdb2d
push 0x10155e9c
push 0x2b4d1
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
mov edi, 0x15
jmp 0x100cdb69
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.100cd240
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100cdc51
cmp edi, 7
jne 0x100cdb61
mov ecx, esi
call fcn.1001ef40
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
mov eax, 0x101577c0
push ebx
cmove eax, ecx
push eax
push edi
push esi
call fcn.10022430
add esp, 0x10
test ebx, ebx
je 0x100cdbe1
cmp dword [0x10165b38], 0
je 0x100cdbd7
mov eax, dword [0x10168b88]
test eax, eax
je 0x100cdba5
push eax
call dword [0x10165b88]
add esp, 4
push ebx
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push ebx
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x100cdbe1
push eax
call dword [0x10165b90]
jmp 0x100cdbde
push ebx
call dword [0x10165b5c]
add esp, 4
mov ebx, esi
mov edi, esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100cdbf6
push eax
call dword [0x10165b90]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100ce01c
cmp al, 0x76
je 0x100ce01c
cmp al, 0x6d
je 0x100ce01c
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021710
add esp, 0xc
push 0x10155e9c
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
mov byte [ebx + 0x61], 0xba
mov edi, 0x15
jmp 0x100ce058
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0xc]
or eax, 0x100
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 0x10]
push 0
add eax, 4
mov dword [esp + 0x20], edx
push eax
push esi
call fcn.100363e0
add esp, 0x10
test eax, eax
je 0x100cdc99
cmp eax, 0xc0a
jne 0x100cdc86
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.10022380
jmp 0x100cdbe3
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x100cdcb3
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x100cdcb3
call fcn.10034460
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.10079560
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x100cdd03
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x1b0]
push 0
mov edx, 0x1015042c
mov eax, dword [eax + 0xc]
mov bl, byte [eax + 0x4d]
mov byte [esi + 0x54], bl
call fcn.10023d90
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100cdd00
movzx eax, bl
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 0x100cdd1a
add dword [ecx + 0xc], 0xffffffff
jne 0x100cdd1a
call fcn.10034440
xor edx, edx
mov ecx, esi
call fcn.10079560
mov ecx, dword [esi + 0x10]
mov ebx, esi
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 0x100cdbe3
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x100cdd75
xor edx, edx
mov ecx, esi
call fcn.10022380
jmp 0x100cdd7c
mov dword [esi + 0x44], 0xffffffff
push 2
push str.MATCH
push esi
call fcn.100cc300
add esp, 0xc
cmp eax, 7
jne 0x100cdd98
mov ecx, esi
call fcn.1001ef40
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100cdde5
cmp al, 0x76
je 0x100cdde5
cmp al, 0x6d
je 0x100cdde5
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021710
add esp, 0xc
push 0x10155e9c
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
mov eax, 0x15
mov edi, esi
jmp 0x100cdfb9
cmp byte [esi + 0x57], 0
jne 0x100cdfb2
mov eax, dword [esi + 0x48]
mov ecx, ebx
mov edi, ebx
and eax, dword [esi + 0x40]
jne 0x100cdfb9
mov edi, 0x1014ddcc
mov eax, ecx
mov edx, ebx
cmp edi, 0x1014dde4
jge 0x100cde28
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
mov ecx, ebx
test eax, eax
je 0x100cde04
mov edi, ecx
jmp 0x100cdfb9
cmp dword [0x10168970], 0
mov edi, eax
je 0x100cdf4c
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ebx, [ecx + 1]
cmp byte [0x10165b3c], 0
jne 0x100cde51
xor edi, edi
jmp 0x100cde70
push 2
call dword [0x10165b80]
mov edi, eax
add esp, 4
test edi, edi
je 0x100cde6c
push edi
call dword [0x10165b88]
add esp, 4
mov ecx, dword [esp + 0x10]
cmp ecx, dword [0x10168970]
jb 0x100cde84
mov dword [esp + 0x1c], 0
xor ebx, ebx
jmp 0x100cde90
mov eax, dword [0x10168974]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x100cde9e
push edi
call dword [0x10165b90]
add esp, 4
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0xc], edi
test eax, eax
je 0x100cded9
push 0x101505c8
lea ecx, [esp + 0x10]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x100cded5
push dword [esp + 0xc]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.10022430
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0xc]
test edi, edi
je 0x100cdf35
cmp dword [0x10165b38], 0
je 0x100cdf2b
mov eax, dword [0x10168b88]
test eax, eax
je 0x100cdef9
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x100cdf35
push eax
call dword [0x10165b90]
jmp 0x100cdf32
push edi
call dword [0x10165b5c]
add esp, 4
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
test ebx, ebx
jne 0x100cde44
mov edi, dword [esp + 0x14]
mov ebx, esi
mov al, byte [esi + 0x61]
mov ecx, edi
mov edx, ebx
cmp al, 0xba
je 0x100cdf96
cmp al, 0x76
je 0x100cdf96
cmp al, 0x6d
je 0x100cdf96
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.10021710
add esp, 0xc
push 0x10155e9c
push 0x2b1fb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.10021710
add esp, 0x14
jmp 0x100cdbe5
cmp byte [esi + 0x57], 0
mov ebx, edx
mov edi, ecx
jne 0x100cdbe5
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x100cdbe5
jmp 0x100cdfc5
mov eax, 7
mov edi, ebx
mov edx, eax
mov dword [esi + 0x40], eax
mov ecx, esi
call fcn.10022380
push dword [0x10165b50]
xor edx, edx
mov ecx, esi
push dword [0x10165b4c]
call fcn.100cab40
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x100cdfee
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x100cc610
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x100cdbe5
push eax
call dword [0x10165b90]
add esp, 4
jmp 0x100cdbe5
cmp byte [esi + 0x57], 0
jne 0x100ce042
mov eax, dword [esi + 0x48]
mov ebx, edi
and eax, dword [esi + 0x40]
mov dword [esp + 0x14], eax
mov ecx, eax
cmp al, 7
je 0x100ce049
mov edi, ecx
test ecx, ecx
je 0x100ce058
mov byte [ebx + 0x61], 0xba
jmp 0x100ce058
mov ebx, esi
mov edi, 7
jmp 0x100ce04d
mov edi, dword [esp + 0x14]
xor edx, edx
mov ecx, ebx
call fcn.100cb3b0
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov dword [eax], ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100ce0f4
nop word [eax + eax]
cmp byte [eax - 1], 0
jne 0x100ce08b
cmp byte [eax - 2], 0
jne 0x100ce08b
cmp byte [eax - 3], 0
jne 0x100ce08b
cmp byte [eax - 4], 0
lea esi, [eax - 4]
je 0x100ce08e
dec eax
jmp 0x100ce070
test esi, esi
je 0x100ce0f4
cmp dword [0x10165b38], 0
je 0x100ce0ea
mov eax, dword [0x10168b88]
test eax, eax
je 0x100ce0ae
push eax
call dword [0x10165b88]
add esp, 4
push esi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push esi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x100ce0f4
push eax
call dword [0x10165b90]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [0x10165b5c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret