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

Disassembly:
push 0xffffffffffffffff
push 0x469d49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x2c], ebx
push ecx
lea eax, [esp + 0x1f4]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov dword [esp + 0x1e4], 3
call fcn.0045ca55
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.0040b1d0
mov edx, dword [esp + 0x18]
push 0x48fd70
push edx
call fcn.00446592
add esp, 8
test eax, eax
jne 0x40b8c1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1dc], 3
call fcn.0045cce0
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x1dc], 2
call fcn.0045cce0
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x1dc], 1
call fcn.0045cce0
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x1dc], 0
call fcn.0045cce0
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x1dc], 0xffffffff
call fcn.0045cce0
xor eax, eax
jmp 0x40bcf0
mov eax, dword [0x48b9d4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
push 0x104
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e0], 6
call fcn.0045d110
push eax
push 0x104
call dword [0x46f26c]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.0045d15f
mov eax, dword [0x48b9d4]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x1c]
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e0], 7
call fcn.0045d110
push eax
push 0
push 0x481d1c
push esi
call dword [0x46f268]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0045d15f
mov ecx, dword [esp + 0x1f4]
push ecx
push str..tmp
lea ecx, [esp + 0x1c]
call fcn.0045970b
test eax, eax
jg 0x40b968
mov edx, dword [esp + 0x1f4]
lea ecx, [esp + 0x14]
push edx
push str..TMP
call fcn.0045970b
mov eax, dword [0x48b9d4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push str.CREATE_DB__s_
push edx
mov byte [esp + 0x1e8], 8
call fcn.00459e14
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
push ecx
push 1
push 0
call fcn.00455911
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x2c]
push str.DRIVER_s_DSN_READONLYFALSE_DBQ_s
push ecx
call fcn.00459e14
add esp, 0x10
lea ecx, [esp + 0x74]
call fcn.0043e28a
mov edx, dword [esp + 0x24]
push 8
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1e4], 9
call fcn.0043e440
lea ecx, [esp + 0x34]
call fcn.0045b308
mov esi, dword [esp + 0x1ec]
mov byte [esp + 0x1dc], 0xa
mov ecx, esi
xor ebp, ebp
call fcn.0045aa20
mov eax, dword [eax + 0x1c]
mov edi, dword [0x46f6b8]
push ebp
push ebp
push 0x1200
push eax
call edi
test eax, eax
jle 0x40bb40
mov bl, 0xc
mov edx, dword [0x48b9d4]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x48], 2
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], 0x100
mov dword [esp + 0x10], edx
mov ecx, esi
mov byte [esp + 0x1dc], 0xb
call fcn.0045aa20
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x48]
push ecx
push ebp
push 0x1203
push edx
call edi
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x20]
push eax
call fcn.0045cd4e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e0], bl
call fcn.0045ce19
lea ecx, [esp + 0x20]
mov byte [esp + 0x1dc], 0xb
call fcn.0045cce0
lea ecx, [esp + 0x10]
call fcn.00459e73
lea ecx, [esp + 0x10]
call fcn.00459e27
push 0x5f
push 0x20
lea ecx, [esp + 0x18]
call fcn.004596ce
push 0x5f
push 0x2d
lea ecx, [esp + 0x18]
call fcn.004596ce
mov ecx, dword [esp + 0x10]
push str.Time
push ecx
call fcn.00446592
add esp, 8
test eax, eax
je 0x40baeb
mov edx, dword [esp + 0x10]
push str.Date
push edx
call fcn.00446592
add esp, 8
test eax, eax
jne 0x40baf9
push str.Date_Time
lea ecx, [esp + 0x14]
call fcn.0045ce69
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.0045b510
lea ecx, [esp + 0x10]
mov byte [esp + 0x1dc], 0xa
call fcn.0045cce0
mov ecx, esi
inc ebp
call fcn.0045aa20
mov edx, dword [eax + 0x1c]
push 0
push 0
push 0x1200
push edx
call edi
cmp ebp, eax
jl 0x40ba1e
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
lea edx, [esp + 0x1e4]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0045ca55
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0040b410
mov ecx, dword [esp + 0x30]
mov bl, 0xd
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e0], bl
call fcn.0043e4c1
mov edx, dword [esi + 0x1c]
xor ebp, ebp
push ebp
push ebp
push 0x1004
push edx
call edi
test eax, eax
jle 0x40bbf2
push ebp
lea eax, [esp + 0x38]
push esi
push eax
push ecx
lea edx, [esp + 0x1f4]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0045ca55
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x20]
push eax
call fcn.0040b560
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1dc], 0xe
push ecx
lea ecx, [esp + 0x78]
call fcn.0043e4c1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1dc], bl
call fcn.0045cce0
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x1004
push edx
inc ebp
call edi
cmp ebp, eax
jl 0x40bb8f
lea ecx, [esp + 0x74]
call fcn.0043e5d9
mov eax, dword [esp + 0x1e8]
mov ecx, dword [esp + 0x14]
push 0xb
push eax
push ecx
call dword [0x46f314]
lea ecx, [esp + 0x30]
mov byte [esp + 0x1dc], 0xa
call fcn.0045cce0
lea ecx, [esp + 0x34]
mov byte [esp + 0x1dc], 9
call fcn.0045b33b
lea ecx, [esp + 0x74]
mov byte [esp + 0x1dc], 8
call fcn.0043e307
lea ecx, [esp + 0x28]
mov byte [esp + 0x1dc], 7
call fcn.0045cce0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1dc], 6
call fcn.0045cce0
lea ecx, [esp + 0x24]
mov byte [esp + 0x1dc], 5
call fcn.0045cce0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1dc], 4
call fcn.0045cce0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1dc], 3
call fcn.0045cce0
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x1dc], 2
call fcn.0045cce0
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x1dc], 1
call fcn.0045cce0
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x1dc], 0
call fcn.0045cce0
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x1dc], 0xffffffff
call fcn.0045cce0
mov eax, 1
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d0
ret 0x14