Function at 0x403be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4131c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov ebp, dword [ebp]
push esi
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 4]
push edi
mov edi, dword [esi]
push ebp
push eax
mov ebx, ecx
mov ecx, dword [esi + 0xc]
push ecx
push edx
push edi
push str.CCheck::GetColumnList__d__s._s._s__s_
call fcn.004060c0
push 0x14
call fcn.00409ed9
add esp, 0x1c
mov dword [esp + 0x38], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x30], edi
je 0x403c4c
mov ecx, dword [ebx + 4]
push ecx
mov ecx, eax
call fcn.004081a0
mov dword [esp + 0x38], eax
jmp 0x403c50
mov dword [esp + 0x38], edi
or ebp, 0xffffffff
push 0x28
mov dword [esp + 0x34], ebp
call fcn.00409ed9
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov dword [esp + 0x30], 1
je 0x403c81
mov edx, dword [esp + 0x38]
push edx
mov ecx, eax
call fcn.00409990
mov ebx, eax
jmp 0x403c83
xor ebx, ebx
mov ecx, dword [esi + 0x14]
xor eax, eax
mov ax, word [esi + 0x18]
mov dword [esp + 0x30], ebp
xor ebp, ebp
push ebp
push ebp
xor edx, edx
mov dx, word [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
xor ecx, ecx
mov cx, word [esi + 8]
mov dword [esp + 0x2c], edi
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], edi
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ebp
call sub.ODBC32.dll_SQLColumnsW
mov ecx, ebx
call fcn.004090a0
mov ecx, ebx
call fcn.004087b0
test eax, eax
je 0x403cec
jmp 0x403ce0
mov ecx, ebx
inc edi
call fcn.004087b0
test eax, eax
jne 0x403ce0
mov ecx, ebx
call fcn.00409390
mov ecx, dword [esp + 0x38]
call fcn.00408560
test di, di
jne 0x403da0
push 0x4176e8
call fcn.00409eec
inc eax
lea edx, [eax + eax]
push edx
call fcn.00409ed9
mov esi, dword [esp + 0x44]
add esp, 8
test eax, eax
mov dword [esi], eax
je 0x403d3c
push 0x4176e8
push eax
call fcn.00409eb8
add esp, 8
mov dword [esp + 0x1c], 1
mov edi, dword [esp + 0x18]
test ebx, ebx
je 0x403d4c
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi]
test eax, eax
mov ebx, dword [esp + 0x1c]
je 0x403d6f
test ebx, ebx
jne 0x403d6f
push eax
call fcn.00409f07
add esp, 4
mov dword [esi], ebx
test ebp, ebp
je 0x403d7c
push ebp
call fcn.00409f07
add esp, 4
test edi, edi
je 0x403d89
push edi
call fcn.00409f07
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
movsx edi, di
imul edi, edi, 0x106
push edi
call fcn.00409ed9
push edi
mov ebp, eax
call fcn.00409ed9
add esp, 8
test ebp, ebp
mov edi, eax
mov dword [esp + 0x18], edi
je 0x404030
test edi, edi
je 0x404030
mov word [ebp], 0
mov word [edi], 0
mov ecx, dword [esi + 0x14]
xor eax, eax
mov ax, word [esi + 0x18]
push 0
push 0
xor edx, edx
mov dx, word [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push ecx
xor ecx, ecx
mov cx, word [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call sub.ODBC32.dll_SQLColumnsW
mov ecx, ebx
call fcn.004090a0
push 4
mov ecx, ebx
call fcn.00409030
push 6
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.00409030
push 0xe
mov ecx, ebx
call fcn.00409030
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.004087b0
test eax, eax
je 0x403f71
jmp 0x403e50
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xac]
or esi, 0xffffffff
cmp eax, esi
je 0x403f62
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0xac]
cmp ecx, esi
jne 0x403e77
xor eax, eax
jmp 0x403e7d
mov eax, dword [edx + 0xb0]
cmp word [eax], si
je 0x403f09
cmp ecx, esi
jne 0x403e8e
xor eax, eax
jmp 0x403e94
mov eax, dword [edx + 0xb0]
cmp word [eax], 0xfff6
je 0x403f09
cmp ecx, esi
jne 0x403ea2
xor eax, eax
jmp 0x403ea8
mov eax, dword [edx + 0xb0]
cmp word [eax], 0xfffc
je 0x403f09
cmp word [esp + 0x14], 0
jne 0x403ec3
push 0x4176e4
push ebp
call fcn.00409eb8
jmp 0x403ece
push 0x4176dc
push ebp
call fcn.00409e89
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xac]
add esp, 8
cmp ecx, esi
jne 0x403ee3
xor eax, eax
jmp 0x403ee9
mov eax, dword [eax + 0xb0]
push eax
push ebp
call fcn.00409e89
push 0x4176e4
push ebp
call fcn.00409e89
mov eax, dword [esp + 0x24]
add esp, 0x10
inc eax
mov dword [esp + 0x14], eax
jmp 0x403f62
cmp word [esp + 0x10], 0
jne 0x403f1e
push 0x4176e4
push edi
call fcn.00409eb8
jmp 0x403f29
push 0x4176dc
push edi
call fcn.00409e89
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xac]
add esp, 8
cmp ecx, esi
jne 0x403f3e
xor eax, eax
jmp 0x403f44
mov eax, dword [eax + 0xb0]
push eax
push edi
call fcn.00409e89
push 0x4176e4
push edi
call fcn.00409e89
mov eax, dword [esp + 0x20]
add esp, 0x10
inc eax
mov dword [esp + 0x10], eax
mov ecx, ebx
call fcn.004087b0
test eax, eax
jne 0x403e50
mov ecx, ebx
call fcn.00409390
mov ecx, dword [esp + 0x38]
call fcn.00408560
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
test eax, eax
je 0x403f94
push eax
call fcn.00409f07
add esp, 4
cmp word [esp + 0x10], 0
jne 0x403fac
push 0x4176e8
call fcn.00409eec
add esp, 4
inc eax
jmp 0x403fc5
push edi
call fcn.00409eec
push ebp
mov edi, eax
call fcn.00409eec
lea eax, [edi + eax + 2]
mov edi, dword [esp + 0x20]
add esp, 8
add eax, eax
push eax
call fcn.00409ed9
add esp, 4
test eax, eax
mov dword [esi], eax
je 0x403d40
cmp word [esp + 0x10], 0
je 0x404015
cmp word [esp + 0x14], 0
je 0x404015
push 0x4176d8
push ebp
call fcn.00409e89
push edi
push ebp
call fcn.00409e89
mov ecx, dword [esi]
push ebp
push ecx
call fcn.00409eb8
add esp, 0x18
mov dword [esp + 0x1c], 1
jmp 0x403d40
push 0x4176e8
push eax
call fcn.00409eb8
add esp, 8
mov dword [esp + 0x1c], 1
jmp 0x403d40
mov esi, dword [esp + 0x3c]
jmp 0x403d40