Function at 0x4030c0
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x41b5f0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
movzx ecx, word [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.odbcbcp.dll_Ordinal_8
mov dword [ebp - 0x18], 1
jmp 0x403105
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x20]
add ecx, 0x9f
mov dword [ebp + 0x20], ecx
movzx edx, word [ebp + 0x14]
cmp dword [ebp - 0x18], edx
jg 0x403322
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 0x82]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x1fc]
sub edx, 0x25
mov dword [ebp - 0x1fc], edx
cmp dword [ebp - 0x1fc], 0x82
ja case.0x403149.1
mov eax, dword [ebp - 0x1fc]
movzx ecx, byte [eax + 0x4034b1]
jmp dword [ecx*4 + 0x4034a5]
mov dword [ebp - 4], 0x2d
jmp 0x40316e
mov dword [ebp - 4], 0x2f
jmp 0x40316e
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0x82]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00403540
add esp, 0x10
movzx edx, al
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x8b], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 0x82]
push ecx
mov edx, dword [ebp + 0x20]
mov al, byte [edx + 0x8a]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004041d0
add esp, 0x18
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x8f], edx
cmp dword [ebp - 0xc], 0
jle 0x4031f7
mov dword [ebp - 0xa4], 0xffffffff
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx + 0x86]
mov dword [eax + 0x93], edx
jmp 0x403238
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx + 0x82]
push edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + 0x86]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00403a60
add esp, 0x18
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0xa4]
mov dword [edx + 0x93], eax
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x10], 0
movzx ecx, word [ebp + 0x14]
cmp dword [ebp - 0x18], ecx
jne 0x403257
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x200], edx
jmp 0x403260
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp + 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x200]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403ea0
add esp, 0x18
cmp dword [ebp - 0x10], 0xffffffff
jne 0x403298
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x97], 0
jmp 0x4032da
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
call fcn.00406dd6
add esp, 4
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x97], eax
mov edx, dword [ebp + 0x20]
cmp dword [edx + 0x97], 0
jne 0x4032c4
xor ax, ax
jmp 0x403499
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx + 0x97]
push edx
call fcn.00406300
add esp, 8
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x9b], ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov cl, byte [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.odbcbcp.dll_Ordinal_4
movsx ecx, ax
test ecx, ecx
jne 0x40331d
xor ax, ax
jmp 0x403499
jmp 0x4030f0
cmp dword [0x41c4e8], 0
jne 0x403495
push 0x24
mov edx, dword [ebp + 0x10]
push edx
call fcn.004055c0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
push 0x50
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040773b
add esp, 0xc
movsx edx, byte [ebp - 0xa0]
cmp edx, 0x59
je 0x40337a
movsx eax, byte [ebp - 0xa0]
cmp eax, 0x79
je 0x40337a
movsx ecx, byte [ebp - 0xa0]
cmp ecx, 0xa
jne 0x40346f
push 0x100
lea edx, [ebp - 0x1a8]
push edx
push 0x25
mov eax, dword [0x41ca14]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call dword [sym.imp.USER32.dll_CharToOemA]
push 0x41b0b8
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004069ae
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0x50
lea eax, [ebp - 0xa0]
push eax
call fcn.0040773b
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00406c30
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
movsx eax, byte [ebp + edx - 0xa1]
cmp eax, 0xa
jne 0x403402
mov ecx, dword [ebp - 0x14]
mov byte [ebp + ecx - 0xa1], 0
movsx edx, byte [ebp - 0xa0]
test edx, edx
jne 0x403421
push str.bcp.fmt
lea eax, [ebp - 0xa0]
push eax
call fcn.00406300
add esp, 8
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.odbcbcp.dll_Ordinal_16
movsx eax, ax
test eax, eax
jne 0x40346d
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp + 0x24]
push edx
push str._s:__s
lea eax, [ebp - 0x1f8]
push eax
call fcn.0040714d
add esp, 0x10
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.00406ded
add esp, 4
push 1
call fcn.00407067
jmp 0x403495
movsx edx, byte [ebp - 0xa0]
cmp edx, 0xffffff94
jne 0x403495
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x41ca18]
push ecx
call fcn.004057f0
add esp, 8
push 1
call fcn.00407067
mov ax, 1
mov ecx, dword [ebp - 0x1c]
call fcn.004073a0
mov esp, ebp
pop ebp
ret