Function at 0x4c8420
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x403926
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403488
mov ecx, dword [0x4d109c]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], eax
movsx eax, word [ebp + 8]
or eax, ecx
je 0x4c88a8
mov ecx, dword [0x4d11bc]
mov edi, dword [fcn.004010cc]
push ecx
lea edx, [ebp - 0x3c]
push edx
call edi
push eax
lea eax, [ebp - 0x28]
push eax
push 0x42a0e0
call fcn.004c5320
mov ebx, dword [fcn.004012f8]
lea ecx, [ebp - 0x3c]
call ebx
mov ecx, dword [0x4d11bc]
push ecx
lea edx, [ebp - 0x3c]
push edx
call edi
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42a160
call fcn.004c5320
lea ecx, [ebp - 0x3c]
call ebx
mov edx, dword [ebp - 0x14]
mov esi, dword [fcn.00401034]
lea ecx, [ebp - 0x14]
push edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], 0x4008
call esi
xor ebx, ebx
test eax, eax
lea eax, [ebp - 0x5c]
push eax
setle bl
call dword [0x401148]
xor ecx, ecx
cmp ax, 0xffff
setne cl
or ebx, ecx
jne 0x4c857e
mov edx, dword [ebp - 0x14]
push edx
call dword [0x401300]
call dword [0x4010f0]
fcomp qword [0x403480]
fnstsw ax
test ah, 1
je 0x4c8533
mov edi, 1
jmp 0x4c8535
xor edi, edi
mov eax, dword [ebp - 0x14]
push eax
call dword [0x401300]
call dword [0x4010f0]
fcomp qword [0x403478]
fnstsw ax
test ah, 0x41
jne 0x4c8559
mov eax, 1
jmp 0x4c855b
xor eax, eax
or edi, eax
jne 0x4c857e
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x401300]
sub esp, 8
fstp qword [esp]
call fcn.0041ac5c
mov edi, dword [fcn.0040107c]
call edi
jmp 0x4c8584
mov edi, dword [fcn.0040107c]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
push eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x5c], 0x4008
call esi
xor ebx, ebx
lea ecx, [ebp - 0x5c]
test eax, eax
push ecx
setle bl
call dword [0x401148]
xor edx, edx
cmp ax, 0xffff
setne dl
or ebx, edx
jne 0x4c861c
mov eax, dword [ebp - 0x28]
push eax
call dword [0x401300]
call dword [0x4010f0]
fcomp qword [0x403480]
fnstsw ax
test ah, 1
je 0x4c85d9
mov ebx, 1
jmp 0x4c85db
xor ebx, ebx
mov ecx, dword [ebp - 0x28]
push ecx
call dword [0x401300]
call dword [0x4010f0]
fcomp qword [0x403478]
fnstsw ax
test ah, 0x41
jne 0x4c85ff
mov eax, 1
jmp 0x4c8601
xor eax, eax
or ebx, eax
jne 0x4c861c
mov edx, dword [ebp - 0x28]
push edx
call dword [0x401300]
sub esp, 8
fstp qword [esp]
call fcn.0041aca8
call edi
push 0
push 0x1014
call fcn.0041dfb0
mov ebx, eax
call edi
mov esi, dword [0x4d109c]
xor eax, eax
cmp esi, 1
sete al
movsx ecx, ax
neg ecx
test ebx, ecx
je 0x4c88a8
push 0
call fcn.00413a3c
mov ebx, eax
call edi
cmp ebx, 1
jne 0x4c88a8
push 0
push 0
push 0x1103
call fcn.0041dffc
fstp qword [ebp - 0x78]
call edi
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
push 0
push 0
push 0x1101
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call fcn.0041dffc
fstp qword [ebp - 0x78]
call edi
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x64], 0x42a1dc
mov dword [ebp - 0x6c], 8
call dword [fcn.00401294]
push ebx
push ebx
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x24]
push edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4005
call dword [0x4012d4]
mov esi, dword [fcn.004012c8]
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
mov eax, dword [0x4d11bc]
mov ebx, dword [ebp - 0x38]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x38], 0
call dword [fcn.004010cc]
push eax
push 0x41329c
mov edx, ebx
lea ecx, [ebp - 0x2c]
call esi
mov ebx, dword [fcn.0040106c]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
push 0x42a1e8
call ebx
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
call fcn.004c5b50
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 4
call dword [fcn.00401250]
add esp, 0x14
lea ecx, [ebp - 0x3c]
call dword [fcn.004012f8]
lea ecx, [ebp - 0x4c]
call dword [fcn.0040102c]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x64], 0x42a1dc
mov dword [ebp - 0x6c], 8
call dword [fcn.00401294]
push 1
push 1
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x1c]
push edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4005
call dword [0x4012d4]
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
mov ecx, dword [0x4d11bc]
mov eax, dword [ebp - 0x38]
push 0xffffffffffffffff
push ecx
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x38], 0
call dword [fcn.004010cc]
mov edx, dword [ebp - 0x88]
push eax
push 0x41329c
lea ecx, [ebp - 0x2c]
call esi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
push 0x42a228
call ebx
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
call fcn.004c5b50
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
push 4
call dword [fcn.00401250]
add esp, 0x14
lea ecx, [ebp - 0x3c]
call dword [fcn.004012f8]
lea ecx, [ebp - 0x4c]
call dword [fcn.0040102c]
mov dword [0x4d109c], 2
call fcn.0041b864
mov esi, eax
call edi
test esi, esi
jle 0x4c8845
cmp dword [0x4d1054], 1
jne 0x4c883c
push 1
jmp 0x4c883e
push 0
call fcn.0041b900
call edi
mov eax, dword [0x4d10dc]
dec eax
je 0x4c886c
sub eax, 0x17
je 0x4c885f
push 1
call fcn.0041a954
call edi
push 8
jmp 0x4c8877
push 2
call fcn.0041a954
call edi
push 8
jmp 0x4c8877
push 0
call fcn.0041a954
call edi
push 1
call fcn.0041a8bc
call edi
push 0
call fcn.0041a7b8
call edi
fild dword [0x4d1098]
fstp qword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
push ecx
push edx
call fcn.0041aacc
call edi
wait
push 0x4c88ef
jmp 0x4c88de
mov esi, dword [fcn.004012f4]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x28]
call esi
ret