Function at 0x47c6f0
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, 0x58
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402320
mov edx, dword [ebp + 8]
mov esi, dword [fcn.00401240]
xor edi, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call esi
cmp dword [0x4d1068], edi
jne 0x47c76d
push 0x4d1068
push 0x41f588
call dword [fcn.0040122c]
mov edx, dword [ebp - 0x14]
mov esi, dword [0x4d1068]
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
push edx
push esi
call dword [eax + 0x30]
fnclex
cmp eax, edi
jge 0x47c796
push 0x30
push 0x41f598
push esi
push eax
call dword [fcn.00401088]
mov edx, dword [ebp - 0x24]
mov esi, dword [fcn.004012c8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], edi
call esi
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 0x4008
call dword [fcn.00401034]
sub eax, 1
jo 0x47ca60
push eax
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [fcn.004012b0]
lea ecx, [ebp - 0x48]
push ecx
call dword [fcn.0040103c]
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x48]
call dword [fcn.0040102c]
cmp word [0x4d112a], di
je 0x47c8f5
mov edx, dword [0x4d11a8]
mov ebx, dword [fcn.004010cc]
push edx
lea eax, [ebp - 0x38]
push eax
call ebx
mov edx, dword [ebp - 0x1c]
mov edi, dword [fcn.0040106c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0x4224a8
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x422500
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
call fcn.004c5320
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 2
call dword [fcn.00401250]
add esp, 0xc
lea ecx, [ebp - 0x38]
call dword [fcn.004012f8]
mov edx, dword [ebp - 0x18]
push edx
call dword [fcn.00401034]
test eax, eax
jle 0x47c953
mov eax, dword [0x4d11a4]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x38]
push ecx
call ebx
mov edx, dword [0x4d1148]
push eax
push 0x422548
push edx
call dword [fcn.00401020]
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
push 0x422104
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
mov eax, dword [ebp - 0x18]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
push 0x412bc0
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
call fcn.004c5b50
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
push 5
call dword [fcn.00401250]
add esp, 0x18
jmp 0x47c94a
mov eax, dword [0x4d11a8]
mov ebx, dword [fcn.004010cc]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x38]
push ecx
call ebx
mov edx, dword [ebp - 0x1c]
mov edi, dword [fcn.0040106c]
push eax
push 0x4225cc
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x422648
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
call fcn.004c5b50
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 2
call dword [fcn.00401250]
add esp, 0xc
lea ecx, [ebp - 0x38]
call dword [fcn.004012f8]
mov edx, dword [0x4d11a8]
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x38]
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
push eax
push 0x422658
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x422648
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
call fcn.004c5b50
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
push 2
call dword [fcn.00401250]
add esp, 0xc
lea ecx, [ebp - 0x38]
call dword [fcn.004012f8]
cmp word [0x4d1128], 0
je 0x47c9f9
mov eax, dword [0x4d1320]
test eax, eax
jne 0x47c9c9
push 0x4d1320
push 0x40674c
call dword [fcn.0040122c]
mov esi, dword [0x4d1320]
mov ecx, dword [esi]
lea edx, [ebp - 0x20]
push edx
push 0x410198
push esi
call dword [ecx + 0x714]
fnclex
test eax, eax
jge 0x47c9f9
push 0x714
push 0x412118
push esi
push eax
call dword [fcn.00401088]
push 0x47ca4d
jmp 0x47ca32
mov esi, dword [fcn.004012f4]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
call esi
ret
call dword [fcn.0040121c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop