Function at 0x100d9a40
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.100d6670
test eax, eax
jne 0x100da2ee
mov edi, dword [ebp + 8]
cmp byte [0x10177b4c], al
jne 0x100d9a82
xor ebx, ebx
jmp 0x100d9aa2
test edi, 0x8000
je 0x100d9a8e
xor ebx, ebx
jmp 0x100d9aa2
mov ebx, 1
test edi, 0x10000
jne 0x100d9aa2
movzx ebx, byte [0x10177b4d]
test edi, 0x40000
je 0x100d9ab2
and edi, 0xfffdffff
jmp 0x100d9ac1
cmp dword [0x10177c10], 0
je 0x100d9ac1
or edi, 0x20000
push 0
and edi, 0xfff600e7
push 0x218
mov dword [ebp + 8], edi
call fcn.100267c0
mov esi, eax
add esp, 8
test esi, esi
je 0x100da23c
push 0x218
push 0
push esi
call fcn.10138870
add esp, 0xc
test ebx, ebx
je 0x100d9b8c
cmp byte [0x10177b4c], 0
jne 0x100d9b0d
mov dword [esi + 0xc], 0
jmp 0x100d9b1f
push 1
call dword [0x10177b90]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100d9b8c
cmp dword [0x10177b48], 0
je 0x100d9b78
mov eax, dword [0x1017ad00]
test eax, eax
je 0x100d9b3b
push eax
call dword [0x10177b98]
add esp, 4
push esi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push esi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x100d9b82
push eax
call dword [0x10177ba0]
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x100da249
push esi
call dword [0x10177b6c]
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x100da249
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100d9b9d
push eax
call dword [0x10177b98]
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, 0x10161474
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 [0x10160e74]
push fcn.100d74a0
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x10160e84]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x10160e94]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x10177bf0]
mov ecx, dword [0x10177bf4]
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], 0x10179128
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.100d9240
push 0
push fcn.100d74a0
push 0
push 3
mov edx, 0x10161474
mov ecx, esi
call fcn.100d9240
push 0
push fcn.100d74a0
push 0
push 2
mov edx, 0x10161474
mov ecx, esi
call fcn.100d9240
push 0
push 0x100d7570
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.100d9240
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x100d7520
push 0
push 1
call fcn.100d9240
add esp, 0x10
mov ebx, esi
cmp byte [esi + 0x57], 0
jne 0x100d9e03
mov dword [esi + 0x3c], edi
mov eax, 1
and edi, 7
mov ecx, edi
shl eax, cl
test al, 0x46
jne 0x100d9d4d
push 0x10166fc4
push 0x2c337
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
mov edi, 0x15
jmp 0x100d9d89
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.100d9460
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100d9e71
cmp edi, 7
jne 0x100d9d81
mov ecx, esi
call fcn.10027200
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
mov eax, 0x101689bc
push ebx
cmove eax, ecx
push eax
push edi
push esi
call fcn.1002a460
add esp, 0x10
test ebx, ebx
je 0x100d9e01
cmp dword [0x10177b48], 0
je 0x100d9df7
mov eax, dword [0x1017ad00]
test eax, eax
je 0x100d9dc5
push eax
call dword [0x10177b98]
add esp, 4
push ebx
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebx
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x100d9e01
push eax
call dword [0x10177ba0]
jmp 0x100d9dfe
push ebx
call dword [0x10177b6c]
add esp, 4
mov ebx, esi
mov edi, esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100d9e16
push eax
call dword [0x10177ba0]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100da218
cmp al, 0x76
je 0x100da218
cmp al, 0x6d
je 0x100da218
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.100296a0
add esp, 0xc
push 0x10166fc4
push 0x2c05e
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
mov byte [ebx + 0x61], 0xba
mov edi, 0x15
jmp 0x100da254
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.10040940
add esp, 0x10
test eax, eax
je 0x100d9eb9
cmp eax, 0xc0a
jne 0x100d9ea6
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.1002a360
jmp 0x100d9e03
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x100d9ed3
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x100d9ed3
call fcn.1003e950
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.10083d40
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x100d9efc
mov eax, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [eax + 0xc]
mov dl, byte [edx + 0x4d]
call fcn.100835e0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x100d9f13
add dword [ecx + 0xc], 0xffffffff
jne 0x100d9f13
call fcn.1003e930
xor edx, edx
mov ecx, esi
call fcn.10083d40
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 0x100d9e03
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x100d9f6c
xor edx, edx
mov ecx, esi
call fcn.1002a360
jmp 0x100d9f73
mov dword [esi + 0x44], 0xffffffff
push 2
push str.MATCH
push esi
call fcn.100d86e0
add esp, 0xc
cmp eax, 7
jne 0x100d9f8f
mov ecx, esi
call fcn.10027200
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x100d9fdc
cmp al, 0x76
je 0x100d9fdc
cmp al, 0x6d
je 0x100d9fdc
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.100296a0
add esp, 0xc
push 0x10166fc4
push 0x2c05e
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
mov eax, 0x15
mov edi, esi
jmp 0x100da1b5
cmp byte [esi + 0x57], 0
jne 0x100da1ae
mov eax, dword [esi + 0x48]
mov ecx, ebx
mov edi, ebx
and eax, dword [esi + 0x40]
jne 0x100da1b5
mov edi, 0x1015ed84
nop dword [eax + eax]
mov eax, ecx
mov edx, ebx
cmp edi, 0x1015ed9c
jge 0x100da024
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
mov ecx, ebx
test eax, eax
je 0x100da000
mov edi, ecx
jmp 0x100da1b5
cmp dword [0x1017aae8], 0
mov edi, eax
je 0x100da148
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ebx, [ecx + 1]
cmp byte [0x10177b4c], 0
jne 0x100da04d
xor edi, edi
jmp 0x100da06c
push 2
call dword [0x10177b90]
mov edi, eax
add esp, 4
test edi, edi
je 0x100da068
push edi
call dword [0x10177b98]
add esp, 4
mov ecx, dword [esp + 0x10]
cmp ecx, dword [0x1017aae8]
jb 0x100da080
mov dword [esp + 0x1c], 0
xor ebx, ebx
jmp 0x100da08c
mov eax, dword [0x1017aaec]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x100da09a
push edi
call dword [0x10177ba0]
add esp, 4
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0xc], edi
test eax, eax
je 0x100da0d5
push 0x10161618
lea ecx, [esp + 0x10]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x100da0d1
push dword [esp + 0xc]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.1002a460
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0xc]
test edi, edi
je 0x100da131
cmp dword [0x10177b48], 0
je 0x100da127
mov eax, dword [0x1017ad00]
test eax, eax
je 0x100da0f5
push eax
call dword [0x10177b98]
add esp, 4
push edi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push edi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x100da131
push eax
call dword [0x10177ba0]
jmp 0x100da12e
push edi
call dword [0x10177b6c]
add esp, 4
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
test ebx, ebx
jne 0x100da040
mov edi, dword [esp + 0x14]
mov ebx, esi
mov al, byte [esi + 0x61]
mov ecx, edi
mov edx, ebx
cmp al, 0xba
je 0x100da192
cmp al, 0x76
je 0x100da192
cmp al, 0x6d
je 0x100da192
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.100296a0
add esp, 0xc
push 0x10166fc4
push 0x2c05e
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
jmp 0x100d9e05
cmp byte [esi + 0x57], 0
mov ebx, edx
mov edi, ecx
jne 0x100d9e05
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x100d9e05
jmp 0x100da1c1
mov eax, 7
mov edi, ebx
mov edx, eax
mov dword [esi + 0x40], eax
mov ecx, esi
call fcn.1002a360
push dword [0x10177b60]
xor edx, edx
mov ecx, esi
push dword [0x10177b5c]
call fcn.100d6ee0
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x100da1ea
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x100d89f0
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x100d9e05
push eax
call dword [0x10177ba0]
add esp, 4
jmp 0x100d9e05
cmp byte [esi + 0x57], 0
jne 0x100da23e
mov eax, dword [esi + 0x48]
mov ebx, edi
and eax, dword [esi + 0x40]
mov dword [esp + 0x1c], eax
mov ecx, eax
cmp al, 7
je 0x100da245
mov edi, ecx
test ecx, ecx
je 0x100da254
mov byte [ebx + 0x61], 0xba
jmp 0x100da254
mov ebx, esi
mov edi, 7
jmp 0x100da249
mov edi, dword [esp + 0x1c]
xor edx, edx
mov ecx, ebx
call fcn.100d7700
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [eax], ebx
test ecx, ecx
je 0x100da2ec
lea eax, [ecx]
cmp byte [eax - 1], 0
lea ecx, [eax - 1]
jne 0x100da266
cmp byte [eax - 2], 0
jne 0x100da266
cmp byte [eax - 3], 0
jne 0x100da266
cmp byte [eax - 4], 0
lea esi, [eax - 4]
jne 0x100da266
test esi, esi
je 0x100da2ec
cmp dword [0x10177b48], 0
je 0x100da2e2
mov eax, dword [0x1017ad00]
test eax, eax
je 0x100da2a6
push eax
call dword [0x10177b98]
add esp, 4
push esi
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push esi
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x100da2ec
push eax
call dword [0x10177ba0]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [0x10177b6c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret