Function at 0x4e6990
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58980c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5f8310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 1
push str.posinf.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], 0
jne 0x4e6a35
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x4c]
jmp 0x4e6e53
lea eax, [ebp - 0x44]
push eax
call fcn.00408a20
push str.bankall
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x34]
push edx
push 0x3ea
mov ecx, dword [ebp - 0x88]
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_4116
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atof]
add esp, 4
fmul qword [0x5b09b8]
call fcn.005795c0
mov dword [ebp - 0x38], eax
push 0xa0
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
push 0x10b
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x18], ecx
push 0x9f
push 0x20
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x10a
push 0x20
mov eax, dword [ebp - 0x18]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
push 3
push 0x5b09f8
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov ecx, 0x5f883c
call dword [sym.imp.mfc90.dll_Ordinal_3178]
cmp eax, 8
jle 0x4e6b2c
push 8
mov ecx, 0x5f883c
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 8
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp 0x4e6b53
mov ecx, 0x5f883c
call dword [sym.imp.mfc90.dll_Ordinal_3178]
push eax
mov ecx, 0x5f883c
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov edx, dword [ebp - 0x2c]
add edx, 8
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x5b09fc
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
push 2
push 0x5b0a04
mov edx, dword [ebp - 0x2c]
add edx, 0x10
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push 3
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov eax, dword [ebp - 0x2c]
add eax, 0x38
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push 0xc
push str.00000000000000
mov ecx, dword [ebp - 0x2c]
add ecx, 0x12
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
push 0x5b0a18
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
cmp eax, 0xd
jge 0x4e6d79
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
mov ecx, 0xc
sub ecx, eax
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 0x12]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
push 2
push 0x5b0a1c
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4e6c3d
jmp 0x4e6cb2
push 0
push 0
push 0x5b0a20
call sub.mfc90.dll_Ordinal_1183
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x60]
jmp 0x4e6e53
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x10a], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.B993
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.004b6980
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [ebp - 0x18]
push edx
fild dword [ebp - 0x38]
fdiv qword [0x5b09b8]
sub esp, 8
fstp qword [esp]
mov eax, dword [0x5f87cc]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 0x80]
push edx
mov eax, dword [ebp - 0x30]
push eax
push str.insert_into_usertabb993_relationid_inputdate_field_1_field_2_field_3_field_4_field_5__values__s_getdate____s_getdate____s__.2f__s_
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x20
push 0x80
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea edx, [ebp - 0x6c]
push edx
mov ecx, 0x5f87ac
call fcn.004022d0
lea ecx, [ebp - 0x6c]
call fcn.004047e0
jmp 0x4e6deb
push 0
push 0
push 0x5b0ac4
call sub.mfc90.dll_Ordinal_1183
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x78]
jmp 0x4e6e53
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
push eax
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret