Function at 0x403540
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41b5f0]
mov dword [ebp - 8], eax
mov byte [ebp - 0x109], 0
movzx eax, byte [ebp - 0x109]
test eax, eax
jne 0x40397d
push 0x100
lea ecx, [ebp - 0x210]
push ecx
push 0x26
mov edx, dword [0x41ca14]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_CharToOemA]
mov edx, dword [ebp + 0x14]
push edx
call sub.odbcbcp.dll_Ordinal_1
push eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004069ae
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push 0xff
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040773b
add esp, 0xc
test eax, eax
jne 0x4035f1
mov edx, dword [0x41ca48]
push edx
mov eax, dword [0x41ca18]
push eax
call fcn.004057f0
add esp, 8
push 1
call fcn.00407067
movsx ecx, byte [ebp - 0x108]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
sub edx, 0xa
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0x6e
ja case.0x403627.1
mov eax, dword [ebp - 0x214]
movzx ecx, byte [eax + 0x4039e0]
jmp dword [ecx*4 + 0x40398c]
mov dl, byte [ebp + 0x14]
mov byte [ebp - 1], dl
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x2f
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x23
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x38
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x34
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x30
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x3e
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x3c
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x32
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x3d
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x2d
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x22
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x3a
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x3b
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x7a
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x6c
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x6a
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0xef
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x63
mov byte [ebp - 0x109], 1
jmp 0x403978
mov byte [ebp - 1], 0x24
mov byte [ebp - 0x109], 1
jmp 0x403978
push 0x27
mov eax, dword [ebp + 0xc]
push eax
call fcn.004055c0
add esp, 8
push 0x28
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004055c0
add esp, 8
push 0x2f
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tc_:__s_n
mov edx, dword [ebp + 0xc]
push edx
call fcn.004069ae
add esp, 0xc
push 0x23
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tT_:__s_n
mov eax, dword [ebp + 0xc]
push eax
call fcn.004069ae
add esp, 0xc
push 0x38
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._ti_:__s_n
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004069ae
add esp, 0xc
push 0x34
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._ts_:__s_n
mov edx, dword [ebp + 0xc]
push edx
call fcn.004069ae
add esp, 0xc
push 0x30
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tt_:__s_n
mov eax, dword [ebp + 0xc]
push eax
call fcn.004069ae
add esp, 0xc
push 0x3e
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tf_:__s_n
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004069ae
add esp, 0xc
push 0x3c
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tm_:__s_n
mov edx, dword [ebp + 0xc]
push edx
call fcn.004069ae
add esp, 0xc
push 0x32
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tb_:__s_n
mov eax, dword [ebp + 0xc]
push eax
call fcn.004069ae
add esp, 0xc
push 0x3d
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._td_:__s_n
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004069ae
add esp, 0xc
push 0x2d
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tx_:__s_n
mov edx, dword [ebp + 0xc]
push edx
call fcn.004069ae
add esp, 0xc
push 0x22
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tI_:__s_n
mov eax, dword [ebp + 0xc]
push eax
call fcn.004069ae
add esp, 0xc
push 0x3a
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tD_:__s_n
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004069ae
add esp, 0xc
push 0x3b
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tr_:__s_n
mov edx, dword [ebp + 0xc]
push edx
call fcn.004069ae
add esp, 0xc
push 0x7a
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tM_:__s_n
mov eax, dword [ebp + 0xc]
push eax
call fcn.004069ae
add esp, 0xc
push 0x6c
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tn_:__s_n
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004069ae
add esp, 0xc
push 0x6a
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._te_:__s_n
mov edx, dword [ebp + 0xc]
push edx
call fcn.004069ae
add esp, 0xc
push 0xef
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tw_:__s_n
mov eax, dword [ebp + 0xc]
push eax
call fcn.004069ae
add esp, 0xc
push 0x63
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tW_:__s_n
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004069ae
add esp, 0xc
push 0x24
call sub.odbcbcp.dll_Ordinal_1
push eax
push str._tu_:__s_n
mov edx, dword [ebp + 0xc]
push edx
call fcn.004069ae
add esp, 0xc
push 0x29
mov eax, dword [ebp + 0xc]
push eax
call fcn.004055c0
add esp, 8
jmp 0x40355a
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
call fcn.004073a0
mov esp, ebp
pop ebp
ret