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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, edx
mov dword [esp + 0x1c], ecx
push ebx
xor edx, edx
mov dword [esp + 0x24], eax
push esi
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edx
mov dword [eax], edx
call fcn.006fd220
test eax, eax
jne 0x700c76
mov esi, dword [ebp + 8]
cmp byte [0x8bbcbc], al
jne 0x700382
xor edi, edi
jmp 0x7003a2
test esi, 0x8000
je 0x70038e
xor edi, edi
jmp 0x7003a2
mov edi, 1
test esi, 0x10000
jne 0x7003a2
movzx edi, byte [0x8bbcbd]
test esi, 0x40000
je 0x7003b2
and esi, 0xfffdffff
jmp 0x7003c1
cmp dword [0x8bbd80], 0
je 0x7003c1
or esi, 0x20000
and esi, 0xfff600e7
push 0
push 0x218
mov dword [esp + 0x20], esi
mov dword [ebp + 8], esi
call fcn.00654640
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x700bc2
push 0x218
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x700490
cmp byte [0x8bbcbc], 0
jne 0x700411
mov dword [ebx + 0xc], 0
jmp 0x700423
push 1
call dword [0x8bbd00]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x700490
cmp dword [0x8bbcb8], 0
je 0x70047c
mov eax, dword [0x96e500]
test eax, eax
je 0x70043f
push eax
call dword [0x8bbd08]
add esp, 4
push ebx
call dword [0x8bbce4]
sub dword [0x96e390], eax
add esp, 4
dec dword [0x96e3b4]
push ebx
call dword [0x8bbcdc]
mov eax, dword [0x96e500]
add esp, 4
test eax, eax
je 0x700486
push eax
call dword [0x8bbd10]
add esp, 4
xor edi, edi
lea ebx, [edi + 7]
jmp 0x700bcf
push ebx
call dword [0x8bbcdc]
add esp, 4
xor edi, edi
lea ebx, [edi + 7]
jmp 0x700bcf
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x7004a1
push eax
call dword [0x8bbd08]
add esp, 4
and esi, 0x2000000
mov dword [ebx + 0x14], 2
neg esi
mov byte [ebx + 0x61], 0x6d
mov dword [ebx + 0x130], 1
lea edi, [ebx + 0x78]
sbb eax, eax
mov ecx, 0xc
and eax, 0xffffff00
mov esi, 0x7fbb64
add eax, 0xff
mov edx, 0x7fc3dc
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x1cc]
mov dword [ebx + 0x10], eax
xor eax, eax
mov word [ebx + 0x134], ax
rep movsd dword es:[edi], dword [esi]
push 0
mov dword [ebx + 0xa4], eax
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x5a], 0xff
mov eax, dword [0x8bbd60]
mov ecx, dword [0x8bbd64]
or dword [ebx + 0x20], 0xe00480e0
push fcn.006fdff0
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x34], ecx
mov ecx, ebx
push 0
push 1
mov dword [ebx + 0x64], 0
mov dword [ebx + 0xb8], 0x8d21a8
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1b4], 0
mov dword [ebx + 0x1b0], 0
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x188], 0
mov dword [ebx + 0x184], 0
mov dword [ebx + 0x190], 0
call fcn.006ffb60
push 0
push fcn.006fdff0
push 0
push 3
mov edx, 0x7fc3dc
mov ecx, ebx
call fcn.006ffb60
push 0
push fcn.006fdff0
push 0
push 2
mov edx, 0x7fc3dc
mov ecx, ebx
call fcn.006ffb60
push 0
push 0x6fe0c0
push 0
push 1
mov edx, str.NOCASE
mov ecx, ebx
call fcn.006ffb60
add esp, 0x40
mov edx, str.RTRIM
mov ecx, ebx
push 0
push 0x6fe070
push 0
push 1
call fcn.006ffb60
add esp, 0x10
mov edi, ebx
cmp byte [ebx + 0x57], 0
jne 0x7006f0
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword [ebx + 0x3c], ecx
and ecx, 7
shl eax, cl
test al, 0x46
jne 0x70063a
push 0x88c2c4
push 0x2be5c
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.006575b0
add esp, 0x14
mov edi, 0x15
jmp 0x700676
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [ebp + 8]
push ebx
push eax
call fcn.006ffd60
mov edi, eax
add esp, 0x10
test edi, edi
je 0x70075e
cmp edi, 7
jne 0x70066e
mov ecx, ebx
call fcn.00655080
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
mov eax, 0x88d508
push esi
cmove eax, ecx
push eax
push edi
push ebx
call fcn.00658380
add esp, 0x10
test esi, esi
je 0x7006ee
cmp dword [0x8bbcb8], 0
je 0x7006e4
mov eax, dword [0x96e500]
test eax, eax
je 0x7006b2
push eax
call dword [0x8bbd08]
add esp, 4
push esi
call dword [0x8bbce4]
sub dword [0x96e390], eax
add esp, 4
dec dword [0x96e3b4]
push esi
call dword [0x8bbcdc]
mov eax, dword [0x96e500]
add esp, 4
test eax, eax
je 0x7006ee
push eax
call dword [0x8bbd10]
jmp 0x7006eb
push esi
call dword [0x8bbcdc]
add esp, 4
mov edi, ebx
mov esi, ebx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x700703
push eax
call dword [0x8bbd10]
add esp, 4
mov al, byte [ebx + 0x61]
cmp al, 0xba
je 0x700b9e
cmp al, 0x76
je 0x700b9e
cmp al, 0x6d
je 0x700b9e
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.006575b0
add esp, 0xc
push 0x88c2c4
push 0x2bb83
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.006575b0
add esp, 0x14
mov byte [edi + 0x61], 0xba
mov ebx, 0x15
jmp 0x700bda
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x14]
or eax, 0x100
mov ecx, dword [ebx]
push eax
mov eax, dword [ebx + 0x10]
push 0
add eax, 4
mov dword [esp + 0x28], edx
push eax
push ebx
call fcn.0066c800
add esp, 0x10
test eax, eax
je 0x7007a6
cmp eax, 0xc0a
jne 0x700793
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [ebx + 0x40], ecx
mov ecx, ebx
call fcn.006582d0
jmp 0x7006ee
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x7007c0
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x7007c0
call fcn.0066a790
mov edx, dword [ebx + 0x10]
mov ecx, ebx
mov edx, dword [edx + 4]
call fcn.006ae740
mov ecx, dword [ebx + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [ebx + 0x57], 0
jne 0x700822
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x1b0]
push 0
mov edx, 0x7fc3dc
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x17], al
mov byte [ebx + 0x54], al
call fcn.0065a860
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x700813
movzx eax, byte [esp + 0x13]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
mov dword [ebx + 8], ecx
mov edx, 1
mov ecx, ebx
call fcn.0067f8f0
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x700839
add dword [ecx + 0xc], 0xffffffff
jne 0x700839
call fcn.0066a770
xor edx, edx
mov ecx, ebx
call fcn.006ae740
mov ecx, dword [ebx + 0x10]
mov edi, ebx
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [eax], str.main
mov eax, dword [ebx + 0x10]
mov byte [eax + 8], 3
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x10], str.temp
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x18], 1
cmp byte [ebx + 0x57], 0
mov byte [ebx + 0x61], 0x76
jne 0x7006f0
cmp dword [ebx + 0x124], 0
mov dword [ebx + 0x40], 0
je 0x700894
xor edx, edx
mov ecx, ebx
call fcn.006582d0
jmp 0x70089b
mov dword [ebx + 0x44], 0xffffffff
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x7008ac
push eax
call dword [0x8bbd08]
add esp, 4
push 0
push 1
push 2
mov edx, str.MATCH
mov ecx, ebx
call fcn.006ae370
mov ecx, dword [ebx + 0xc]
add esp, 0xc
mov esi, eax
test ecx, ecx
je 0x7008d4
push ecx
call dword [0x8bbd10]
add esp, 4
test esi, esi
jne 0x70091c
push str.MATCH
push 0x88d508
call fcn.00657330
add esp, 8
test eax, eax
je 0x700915
push fcn.00654850
push esi
push esi
push esi
push esi
push 0x6ff030
push eax
push 1
push 2
mov edx, str.MATCH
mov ecx, ebx
call fcn.006fedc0
add esp, 0x24
cmp eax, 7
jne 0x70091c
mov ecx, ebx
call fcn.00655080
mov al, byte [ebx + 0x61]
cmp al, 0xba
je 0x700967
cmp al, 0x76
je 0x700967
cmp al, 0x6d
je 0x700967
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.006575b0
add esp, 0xc
push 0x88c2c4
push 0x2bb83
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.006575b0
add esp, 0x14
mov eax, 0x15
jmp 0x700b39
cmp byte [ebx + 0x57], 0
jne 0x700b34
mov eax, dword [ebx + 0x48]
mov ecx, ebx
mov esi, ebx
and eax, dword [ebx + 0x40]
jne 0x700b3b
mov esi, 0x7fac34
mov eax, ecx
mov edx, edi
cmp esi, 0x7fac3c
jge 0x7009aa
mov eax, dword [esi]
push ebx
call eax
add esp, 4
add esi, 4
mov ecx, ebx
test eax, eax
je 0x700986
mov esi, ecx
jmp 0x700b3b
cmp dword [0x96e2ec], 0
mov esi, eax
je 0x700ace
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
lea edi, [ecx + 1]
cmp byte [0x8bbcbc], 0
jne 0x7009d3
xor esi, esi
jmp 0x7009f2
push 2
call dword [0x8bbd00]
mov esi, eax
add esp, 4
test esi, esi
je 0x7009ee
push esi
call dword [0x8bbd08]
add esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, dword [0x96e2ec]
jb 0x700a06
mov dword [esp + 0x24], 0
xor edi, edi
jmp 0x700a12
mov eax, dword [0x96e2f0]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x24], eax
test esi, esi
je 0x700a20
push esi
call dword [0x8bbd10]
add esp, 4
mov eax, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x14], esi
test eax, eax
je 0x700a5b
push 0x7fc480
lea ecx, [esp + 0x18]
push ecx
push ebx
call eax
add esp, 0xc
test eax, eax
je 0x700a57
push dword [esp + 0x14]
push str.automatic_extension_loading_failed:__s
push eax
push ebx
call fcn.00658380
add esp, 0x10
xor edi, edi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x700ab7
cmp dword [0x8bbcb8], 0
je 0x700aad
mov eax, dword [0x96e500]
test eax, eax
je 0x700a7b
push eax
call dword [0x8bbd08]
add esp, 4
push esi
call dword [0x8bbce4]
sub dword [0x96e390], eax
add esp, 4
dec dword [0x96e3b4]
push esi
call dword [0x8bbcdc]
mov eax, dword [0x96e500]
add esp, 4
test eax, eax
je 0x700ab7
push eax
call dword [0x8bbd10]
jmp 0x700ab4
push esi
call dword [0x8bbcdc]
add esp, 4
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x7009c6
mov esi, dword [esp + 0x1c]
mov edi, ebx
mov al, byte [ebx + 0x61]
mov ecx, esi
mov edx, edi
cmp al, 0xba
je 0x700b18
cmp al, 0x76
je 0x700b18
cmp al, 0x6d
je 0x700b18
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.006575b0
add esp, 0xc
push 0x88c2c4
push 0x2bb83
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.006575b0
add esp, 0x14
jmp 0x7006f2
cmp byte [ebx + 0x57], 0
mov edi, edx
mov esi, ecx
jne 0x7006f2
mov eax, dword [ebx + 0x48]
and eax, dword [ebx + 0x40]
jne 0x7006f2
jmp 0x700b47
mov eax, 7
mov esi, ebx
mov edx, eax
mov dword [ebx + 0x40], eax
mov ecx, ebx
call fcn.006582d0
push dword [0x8bbcd0]
xor edx, edx
mov ecx, ebx
push dword [0x8bbccc]
call fcn.006fda30
mov eax, dword [ebx + 0xc]
add esp, 8
test eax, eax
je 0x700b70
push eax
call dword [0x8bbd08]
add esp, 4
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x110], 0x6ff3f0
mov dword [ebx + 0x114], 0x3e8
test eax, eax
je 0x7006f2
push eax
call dword [0x8bbd10]
add esp, 4
jmp 0x7006f2
cmp byte [ebx + 0x57], 0
jne 0x700bc4
mov eax, dword [ebx + 0x48]
mov edi, esi
and eax, dword [ebx + 0x40]
mov dword [esp + 0x1c], eax
mov ecx, eax
cmp al, 7
je 0x700bcb
mov ebx, ecx
test ecx, ecx
je 0x700bda
mov byte [edi + 0x61], 0xba
jmp 0x700bda
mov edi, ebx
mov ebx, 7
jmp 0x700bcf
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov ecx, edi
call fcn.006fe250
xor edi, edi
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x700c74
lea esp, [esp]
cmp byte [eax - 1], 0
jne 0x700c0b
cmp byte [eax - 2], 0
jne 0x700c0b
cmp byte [eax - 3], 0
jne 0x700c0b
cmp byte [eax - 4], 0
lea esi, [eax - 4]
je 0x700c0e
dec eax
jmp 0x700bf0
test esi, esi
je 0x700c74
cmp dword [0x8bbcb8], 0
je 0x700c6a
mov eax, dword [0x96e500]
test eax, eax
je 0x700c2e
push eax
call dword [0x8bbd08]
add esp, 4
push esi
call dword [0x8bbce4]
sub dword [0x96e390], eax
add esp, 4
dec dword [0x96e3b4]
push esi
call dword [0x8bbcdc]
mov eax, dword [0x96e500]
add esp, 4
test eax, eax
je 0x700c74
push eax
call dword [0x8bbd10]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [0x8bbcdc]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret