Function at 0x546de0
Capabilities:
Access peb ldr_data
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x546de8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [0x5785e4]
xor eax, eax
push ebp
push 0x5473f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x384]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, dword [0x57803c]
mov dword [edx], eax
mov eax, edi
mov edx, dword [0x57803c]
mov edx, dword [edx]
lea edx, [edx + edx*8]
mov ecx, dword [0x578574]
mov ecx, dword [ecx]
lea edx, [ecx + edx*8]
mov ecx, dword [0x4d0b78]
call fcn.0040578c
mov edx, dword [edi + 8]
mov eax, dword [ebx + 0x384]
call fcn.00469d18
mov edx, dword [edi + 0xc]
mov eax, dword [ebx + 0x388]
call fcn.00469d18
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x398]
call fcn.00469d18
mov edx, dword [edi + 0x14]
mov eax, dword [ebx + 0x38c]
call fcn.00469d18
push dword [edi + 0x3c]
push dword [edi + 0x38]
lea eax, [ebp - 0xc]
call fcn.0040b8b4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x390]
call fcn.00469d18
push dword [edi + 0x44]
push dword [edi + 0x40]
lea eax, [ebp - 0x10]
call fcn.0040b8b4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x394]
call fcn.00469d18
mov edx, dword [edi + 0x30]
mov eax, dword [ebx + 0x380]
call fcn.00469d18
mov eax, dword [0x5782ec]
mov eax, dword [eax]
mov edx, 0x547410
call fcn.00404bfc
jne 0x546edf
call fcn.0040c0e8
fstp qword [edi + 0x18]
wait
push dword [edi + 0x1c]
push dword [edi + 0x18]
lea eax, [ebp - 0x14]
call fcn.0040cdd8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x3a0]
call fcn.00469d18
push dword [edi + 0x24]
push dword [edi + 0x20]
lea eax, [ebp - 0x18]
call fcn.0040cdd8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x3a8]
call fcn.00469d18
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.0048bc18
fstp qword [ebp - 0x24]
wait
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.0048bc18
fsubr qword [ebp - 0x24]
call fcn.00402b90
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00409c08
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x3bc]
call fcn.00469d18
push dword [edi + 0x24]
push dword [edi + 0x20]
mov eax, dword [ebx + 0x3cc]
call fcn.0045213c
push dword [edi + 0x24]
push dword [edi + 0x20]
mov eax, dword [ebx + 0x3d0]
call fcn.0045213c
mov eax, dword [ebx + 0x474]
cmp byte [eax + 0x57], 0
je 0x546f9b
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.0045213c
push dword [edi + 0x1c]
push dword [edi + 0x18]
mov eax, dword [ebx + 0x478]
call fcn.0045213c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edi]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x54742c
call fcn.0040a928
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.00448e18
pop edx
call fcn.00448d74
mov eax, dword [0x5782ec]
mov eax, dword [eax]
mov edx, 0x547448
call fcn.00404bfc
jne 0x5471b8
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b04f4]
call fcn.004bcf8c
mov esi, eax
mov eax, esi
call fcn.004bd110
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x578948]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, esi
call fcn.004bd110
mov edx, 0x54745c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004bb454
mov edx, 0x5474cc
call fcn.004b35d8
push eax
lea eax, [ebp - 0x48]
mov edx, 0x5474d8
call fcn.00416390
lea edx, [ebp - 0x48]
pop eax
call fcn.004b485c
mov eax, esi
call fcn.004bb454
mov edx, 0x5474e4
call fcn.004b35d8
push eax
lea eax, [ebp - 0x58]
mov edx, dword [edi + 8]
call fcn.00416390
lea edx, [ebp - 0x58]
pop eax
call fcn.004b485c
mov eax, esi
call fcn.004bb454
mov edx, 0x5474ec
call fcn.004b35d8
push eax
lea eax, [ebp - 0x68]
mov edx, dword [edi + 0x14]
call fcn.00416390
lea edx, [ebp - 0x68]
pop eax
call fcn.004b485c
mov eax, esi
call fcn.004a50c4
mov eax, esi
call fcn.004a75f4
mov eax, dword [ebx + 0x3f8]
mov edx, dword [eax]
call dword [edx + 0xd8]
xor eax, eax
mov dword [0x57b008], eax
jmp 0x547117
mov edx, 0x5474f8
mov eax, esi
call fcn.004a61cc
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3f8]
mov edi, dword [eax]
call dword [edi + 0xd4]
mov edx, dword [ebp - 8]
mov eax, 5
call fcn.005696a8
add dword [0x57b008], eax
mov eax, esi
call fcn.004a790c
cmp byte [esi + 0xa1], 0
je 0x5470d5
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 4]
xor edx, edx
mov eax, dword [ebx + 0x3b4]
call fcn.00469d18
xor edx, edx
mov eax, dword [ebx + 0x418]
call fcn.00469d18
xor edx, edx
mov eax, dword [ebx + 0x41c]
call fcn.00469d18
lea edx, [ebp - 0x6c]
mov eax, dword [0x57b008]
call fcn.00409a38
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x410]
call fcn.00469d18
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x3f8]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x54750c
call fcn.0040a928
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00448e18
pop edx
call fcn.00448d74
jmp 0x547395
mov eax, dword [0x5782ec]
mov eax, dword [eax]
mov edx, 0x54752c
call fcn.00404bfc
je 0x5471e2
mov eax, dword [0x5782ec]
mov eax, dword [eax]
mov edx, 0x547410
call fcn.00404bfc
jne 0x547395
mov eax, dword [ebx + 0x3f4]
mov edx, dword [eax]
call dword [edx + 0xd8]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b04f4]
call fcn.004bcf8c
mov esi, eax
mov eax, esi
call fcn.004bd110
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x578948]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, esi
call fcn.004bd110
mov edx, 0x54745c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004bb454
mov edx, 0x5474cc
call fcn.004b35d8
push eax
lea eax, [ebp - 0x80]
mov edx, 0x54752c
call fcn.00416390
lea edx, [ebp - 0x80]
pop eax
call fcn.004b485c
mov eax, esi
call fcn.004bb454
mov edx, 0x5474e4
call fcn.004b35d8
push eax
lea eax, [ebp - 0x90]
mov edx, dword [edi + 8]
call fcn.00416390
lea edx, [ebp - 0x90]
pop eax
call fcn.004b485c
mov eax, esi
call fcn.004bb454
mov edx, 0x5474ec
call fcn.004b35d8
push eax
lea eax, [ebp - 0xa0]
mov edx, dword [edi + 0x14]
call fcn.00416390
lea edx, [ebp - 0xa0]
pop eax
call fcn.004b485c
mov eax, esi
call fcn.004a50c4
mov eax, esi
call fcn.004a75f4
mov eax, dword [ebx + 0x3f8]
mov edx, dword [eax]
call dword [edx + 0xd8]
jmp 0x5472fe
mov edx, 0x5474f8
mov eax, esi
call fcn.004a61cc
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3f8]
mov edi, dword [eax]
call dword [edi + 0xd4]
mov eax, esi
call fcn.004a790c
cmp byte [esi + 0xa1], 0
je 0x5472cf
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 4]
xor edx, edx
mov eax, dword [ebx + 0x3b4]
call fcn.00469d18
xor edx, edx
mov eax, dword [ebx + 0x418]
call fcn.00469d18
xor edx, edx
mov eax, dword [ebx + 0x41c]
call fcn.00469d18
mov edx, 0x547540
mov eax, dword [ebx + 0x410]
call fcn.00469d18
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebx + 0x3f8]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x54750c
call fcn.0040a928
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00448e18
pop edx
call fcn.00448d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547400
lea eax, [ebp - 0xa4]
call fcn.004047f0
lea eax, [ebp - 0xa0]
mov edx, dword [0x40112c]
mov ecx, 3
call fcn.00405574
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00404814
lea eax, [ebp - 0x68]
mov edx, dword [0x40112c]
mov ecx, 3
call fcn.00405574
lea eax, [ebp - 0x28]
call fcn.004047f0
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404814
ret