Function at 0x50936c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x37
push 0
push 0
dec ecx
jne 0x509374
push ecx
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [0x5168f4]
xor eax, eax
push ebp
push 0x50a47e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x50a498
call fcn.0040479c
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
mov eax, esi
call fcn.004ae954
mov eax, esi
call fcn.004c6240
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004c4674
mov edx, 0x50a69c
call fcn.004bc77c
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 0x714]
call fcn.0040578c
lea edx, [ebp - 0x14]
pop eax
call fcn.004bda24
mov eax, esi
call fcn.004ae948
lea eax, [ebp - 0x18]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebx + 0x714]
call fcn.00404c14
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x340]
call fcn.00440bbc
mov edx, 0x50a6b4
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x344]
call fcn.00440bbc
mov edx, 0x50a6d0
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x718]
call fcn.00404758
mov edx, 0x50a6e0
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x3f4]
call fcn.00440bbc
mov edx, 0x50a6f4
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x34c]
call fcn.00440bbc
mov edx, 0x50a704
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x348]
call fcn.00440bbc
mov edx, 0x50a714
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x350]
call fcn.00440bbc
mov edx, 0x50a724
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x54]
fcomp dword [0x50a72c]
fnstsw ax
sahf
jne 0x509513
mov edx, 0x50a738
mov eax, dword [ebx + 0x354]
call fcn.00440bbc
jmp 0x509523
mov edx, 0x50a744
mov eax, dword [ebx + 0x354]
call fcn.00440bbc
mov edx, 0x50a6f4
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x71c]
call fcn.00404758
mov edx, 0x50a750
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x360]
call fcn.00440bbc
mov edx, 0x50a760
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x364]
call fcn.00440bbc
mov edx, 0x50a770
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x40]
mov eax, 0x50a784
call fcn.0040aa7c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x3c0]
call fcn.00440bbc
mov edx, 0x50a794
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x48]
mov eax, 0x50a784
call fcn.0040aa7c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x3dc]
call fcn.00440bbc
mov edx, 0x50a7a8
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x388]
call fcn.00440bbc
mov edx, 0x50a7bc
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x70c]
call fcn.00404758
mov edx, 0x50a7d4
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x724]
call fcn.00404758
mov edx, 0x50a7e8
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x728]
call fcn.00404758
mov edx, 0x50a7fc
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x72c]
call fcn.00404758
mov edx, 0x50a810
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x60]
mov edx, 0x50a820
call fcn.00404b00
jne 0x5096ea
mov eax, dword [ebx + 0x390]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.00424f98
mov edx, 0x50a82c
mov eax, dword [ebx + 0x38c]
call fcn.00440bbc
jmp 0x50970d
mov eax, dword [ebx + 0x390]
mov eax, dword [eax + 0x68]
mov edx, 0xff
call fcn.00424f98
mov edx, 0x50a840
mov eax, dword [ebx + 0x38c]
call fcn.00440bbc
mov edx, 0x50a854
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x64]
mov edx, 0x50a738
call fcn.00404b00
jne 0x509755
mov eax, dword [ebx + 0x390]
mov eax, dword [eax + 0x68]
mov edx, 0xff
call fcn.00424f98
mov edx, 0x50a864
mov eax, dword [ebx + 0x390]
call fcn.00440bbc
jmp 0x509775
mov eax, dword [ebx + 0x390]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.00424f98
mov edx, 0x50a878
mov eax, dword [ebx + 0x390]
call fcn.00440bbc
mov edx, 0x50a88c
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408fd4
cmp dword [ebp - 0x68], 0
je 0x5097cc
mov edx, 0x50a88c
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0x50a89c
call fcn.00404a08
mov edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x394]
call fcn.00440bbc
mov edx, 0x50a8ac
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0x730]
call fcn.00404758
mov edx, 0x50a8c0
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x7c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x7c]
lea eax, [ebx + 0x734]
call fcn.00404758
mov edx, 0x50a8d4
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x80]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x80]
lea eax, [ebx + 0x738]
call fcn.00404758
mov edx, 0x50a8e8
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x84]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x84]
lea eax, [ebx + 0x73c]
call fcn.00404758
mov edx, 0x50a8fc
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x88]
lea eax, [ebx + 0x740]
call fcn.00404758
mov edx, 0x50a910
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x8c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x8c]
lea eax, [ebx + 0x744]
call fcn.00404758
lea eax, [ebp - 0x90]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x744]
call fcn.00404c14
mov eax, dword [ebp - 0x90]
mov edx, 0x50a920
call fcn.00404b00
jne 0x509b95
mov eax, dword [ebx + 0x44c]
mov edx, dword [eax]
call dword [edx + 0x3c]
lea eax, [ebp - 0x94]
call fcn.004066c4
push eax
mov eax, dword [ebx + 0x6b4]
push eax
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
push 0x50a92c
push dword [ebx + 0x744]
push 0x50a940
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00404a7c
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
call fcn.00404f9c
mov eax, dword [ebp - 0x98]
push eax
lea edx, [ebp - 0xa0]
mov eax, dword [ebx + 0x44c]
call fcn.00491800
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
call fcn.004067d0
mov edx, dword [ebp - 0x94]
lea eax, [ebx + 0x6d8]
call fcn.004066dc
mov edx, dword [ebx + 0x6d8]
mov eax, dword [ebx + 0x450]
call fcn.00491be4
lea eax, [ebp - 0xa8]
call fcn.004066c4
push eax
lea eax, [ebp - 0xb8]
mov edx, 0x50a950
call fcn.004057ac
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea edx, [ebp - 0xbc]
mov eax, dword [ebx + 0x450]
call fcn.00492090
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
call fcn.004067d0
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
mov ecx, 0x50a958
call fcn.00406708
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebx + 0x454]
call fcn.00491938
lea eax, [ebp - 0xc0]
call fcn.004066c4
push eax
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0xd4]
mov eax, dword [ebx + 0x450]
call fcn.00492090
mov eax, dword [ebp - 0xd4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004067d0
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0xd0]
mov cl, 0xfc
call fcn.004057bc
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
lea eax, [ebp - 0xd8]
call fcn.004066c4
push eax
lea eax, [ebp - 0xdc]
call fcn.004066c4
push eax
lea eax, [ebp - 0xf0]
push eax
lea edx, [ebp - 0xf4]
mov eax, dword [ebx + 0x44c]
call fcn.00491800
mov eax, dword [ebp - 0xf4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004067d0
mov edx, dword [ebp - 0xf0]
lea eax, [ebp - 0xec]
mov cl, 0xfc
call fcn.004057bc
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
lea edx, [ebp - 0xf8]
mov eax, dword [ebx + 0x44c]
call fcn.00491800
mov eax, dword [ebp - 0xf8]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
call fcn.004067d0
mov eax, dword [ebp - 0xdc]
push eax
mov eax, dword [eax]
call dword [eax + 0x20c]
call fcn.004067d0
mov eax, dword [ebp - 0xd8]
push eax
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.004067d0
mov edx, dword [ebp - 0xc0]
lea eax, [ebx + 0x6e0]
call fcn.004057a4
mov edx, 0x50a970
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebx + 0x750], eax
mov edx, 0x50a984
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0xfc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0xfc]
lea eax, [ebx + 0x748]
call fcn.00404758
mov edx, 0x50a994
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebx + 0x754], eax
mov edx, 0x50a9a8
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x100]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x100]
lea eax, [ebx + 0x74c]
call fcn.00404758
mov edx, 0x50a9b8
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebx + 0x758], eax
mov edx, 0x50a9b8
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebx + 0x758], eax
mov edx, 0x50a9cc
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x104]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x104]
lea eax, [ebx + 0x704]
call fcn.00404758
mov edx, 0x50a9dc
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x108]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x108]
lea eax, [ebx + 0x708]
call fcn.00404758
mov edx, 0x50a9ec
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x10c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x10c]
lea eax, [ebx + 0x788]
call fcn.00404758
mov eax, dword [ebx + 0x704]
mov edx, 0x50aa04
call fcn.00404b00
je 0x509cdd
mov eax, dword [ebx + 0x704]
mov edx, 0x50aa10
call fcn.00404b00
jne 0x509d06
xor edx, edx
mov eax, dword [ebx + 0x3b4]
call fcn.00440aac
xor edx, edx
mov eax, dword [ebx + 0x3d8]
call fcn.00440aac
xor edx, edx
mov eax, dword [ebx + 0x3c4]
call fcn.00440aac
jmp 0x509d2d
mov dl, 1
mov eax, dword [ebx + 0x3b4]
call fcn.00440aac
mov dl, 1
mov eax, dword [ebx + 0x3d8]
call fcn.00440aac
mov dl, 1
mov eax, dword [ebx + 0x3c4]
call fcn.00440aac
mov eax, dword [ebx + 0x704]
mov edx, 0x50aa04
call fcn.00404b00
je 0x509d51
mov eax, dword [ebx + 0x704]
mov edx, 0x50aa1c
call fcn.00404b00
jne 0x509d80
xor edx, edx
mov eax, dword [ebx + 0x43c]
call fcn.004402d4
mov edx, 0x22
mov eax, dword [ebx + 0x440]
call fcn.004402d4
mov edx, 0x33b
mov eax, dword [ebx + 0x440]
call fcn.00440320
jmp 0x509db0
mov edx, 0x3d
mov eax, dword [ebx + 0x43c]
call fcn.004402d4
mov edx, 0x5e
mov eax, dword [ebx + 0x440]
call fcn.004402d4
mov edx, 0x300
mov eax, dword [ebx + 0x440]
call fcn.00440320
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
mov eax, dword [ebx + 0x704]
mov edx, 0x50aa1c
call fcn.00404b00
je 0x509de2
mov eax, dword [ebx + 0x704]
mov edx, 0x50aa28
call fcn.00404b00
jne 0x509f47
lea eax, [ebp - 4]
mov edx, 0x50aa34
call fcn.0040479c
mov eax, esi
call fcn.004ae954
mov eax, esi
call fcn.004c6240
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004c4674
mov edx, 0x50a69c
call fcn.004bc77c
push eax
lea eax, [ebp - 0x11c]
mov edx, dword [ebx + 0x714]
call fcn.0040578c
lea edx, [ebp - 0x11c]
pop eax
call fcn.004bda24
lea edx, [ebp - 0x130]
mov eax, dword [ebx + 0x358]
call fcn.00440b8c
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x12c]
call fcn.0040578c
lea eax, [ebp - 0x12c]
push eax
mov eax, esi
call fcn.004c4674
mov edx, 0x50aa98
call fcn.004bc77c
pop edx
call fcn.004bda24
mov eax, esi
call fcn.004ae948
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x509eb6
mov edx, 0x50a714
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x134]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x720]
call fcn.00404758
jmp 0x50a08f
lea eax, [ebp - 4]
mov edx, 0x50aaac
call fcn.0040479c
mov eax, esi
call fcn.004ae954
mov eax, esi
call fcn.004c6240
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004c4674
mov edx, 0x50a69c
call fcn.004bc77c
push eax
lea eax, [ebp - 0x144]
mov edx, dword [ebx + 0x714]
call fcn.0040578c
lea edx, [ebp - 0x144]
pop eax
call fcn.004bda24
mov eax, esi
call fcn.004ae948
lea eax, [ebx + 0x720]
push eax
mov edx, 0x50a714
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x148]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x148]
mov ecx, 2
mov edx, 1
call fcn.00404c14
jmp 0x50a08f
lea eax, [ebp - 4]
mov edx, 0x50aaec
call fcn.0040479c
mov eax, esi
call fcn.004ae954
mov eax, esi
call fcn.004c6240
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004c4674
mov edx, 0x50a69c
call fcn.004bc77c
push eax
lea eax, [ebp - 0x158]
mov edx, dword [ebx + 0x714]
call fcn.0040578c
lea edx, [ebp - 0x158]
pop eax
call fcn.004bda24
mov eax, esi
call fcn.004ae948
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x50a003
mov edx, 0x50ab4c
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x15c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebx + 0x358]
call fcn.00440bbc
mov edx, 0x50a714
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x160]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x160]
lea eax, [ebx + 0x720]
call fcn.00404758
jmp 0x50a08f
lea eax, [ebp - 4]
mov edx, 0x50aaac
call fcn.0040479c
mov eax, esi
call fcn.004ae954
mov eax, esi
call fcn.004c6240
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004c4674
mov edx, 0x50a69c
call fcn.004bc77c
push eax
lea eax, [ebp - 0x170]
mov edx, dword [ebx + 0x714]
call fcn.0040578c
lea edx, [ebp - 0x170]
pop eax
call fcn.004bda24
mov eax, esi
call fcn.004ae948
lea eax, [ebx + 0x720]
push eax
mov edx, 0x50a714
mov eax, esi
call fcn.004af95c
lea edx, [ebp - 0x174]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x174]
mov ecx, 2
mov edx, 1
call fcn.00404c14
lea eax, [ebp - 4]
mov edx, 0x50ab5c
call fcn.0040479c
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
mov eax, esi
call fcn.004ae954
mov eax, esi
call fcn.004c6240
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004c4674
mov edx, 0x50a69c
call fcn.004bc77c
push eax
lea eax, [ebp - 0x184]
mov edx, dword [ebx + 0x714]
call fcn.0040578c
lea edx, [ebp - 0x184]
pop eax
call fcn.004bda24
mov eax, esi
call fcn.004ae948
mov edx, 0x50abf4
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x188]
mov eax, 0x50ac08
call fcn.0040aa7c
mov edx, dword [ebp - 0x188]
mov eax, dword [ebx + 0x3e8]
call fcn.00440bbc
mov edx, 0x50ac18
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x18c]
mov eax, 0x50ac08
call fcn.0040aa7c
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebx + 0x3e4]
call fcn.00440bbc
mov eax, ebx
call fcn.0050853c
lea eax, [ebp - 4]
mov edx, 0x50ac2c
call fcn.0040479c
mov eax, dword [0x516dac]
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
mov eax, esi
call fcn.004ae954
mov eax, esi
call fcn.004c6240
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004c4674
mov edx, 0x50ac68
call fcn.004bc77c
push eax
lea eax, [ebp - 0x19c]
mov edx, dword [ebx + 0x6f4]
call fcn.0040578c
lea edx, [ebp - 0x19c]
pop eax
call fcn.004bda24
mov eax, esi
call fcn.004ae948
mov edx, 0x50ac80
mov eax, esi
call fcn.004af95c
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
jne 0x50a1f2
lea eax, [ebp - 4]
mov edx, 0x50ac8c
call fcn.0040479c
jmp 0x50a1ff
lea eax, [ebp - 4]
mov edx, 0x50acd8
call fcn.0040479c
mov eax, esi
call fcn.004c6240
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004c4674
mov edx, 0x50ac68
call fcn.004bc77c
push eax
lea eax, [ebp - 0x1ac]
mov edx, dword [ebx + 0x6f4]
call fcn.0040578c
lea edx, [ebp - 0x1ac]
pop eax
call fcn.004bda24
mov eax, esi
call fcn.004c4674
mov edx, 0x50a69c
call fcn.004bc77c
push eax
lea eax, [ebp - 0x1bc]
mov edx, dword [ebx + 0x714]
call fcn.0040578c
lea edx, [ebp - 0x1bc]
pop eax
call fcn.004bda24
mov eax, esi
call fcn.004c6168
mov dl, 1
mov eax, dword [ebx + 0x418]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x3f8]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x400]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x2fc]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov esi, 1
cmp dword [ebx + esi*4 + 0x534], 0
je 0x50a2d1
mov eax, dword [ebx + esi*4 + 0x474]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
inc esi
cmp esi, 0x31
jne 0x50a2b9
xor eax, eax
mov dword [ebx + 0x780], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a488
lea eax, [ebp - 0x1bc]
mov edx, dword [0x40113c]
mov ecx, 3
call fcn.004052f8
lea eax, [ebp - 0x18c]
mov edx, 2
call fcn.00404728
lea eax, [ebp - 0x184]
call fcn.00405800
lea eax, [ebp - 0x174]
call fcn.00404704
lea eax, [ebp - 0x170]
call fcn.00405800
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00404728
lea eax, [ebp - 0x158]
call fcn.00405800
lea eax, [ebp - 0x148]
call fcn.00404704
lea eax, [ebp - 0x144]
call fcn.00405800
lea eax, [ebp - 0x134]
call fcn.00404704
lea eax, [ebp - 0x130]
call fcn.00404704
lea eax, [ebp - 0x12c]
mov edx, dword [0x40113c]
mov ecx, 2
call fcn.004052f8
lea eax, [ebp - 0x10c]
mov edx, 5
call fcn.00404728
lea eax, [ebp - 0xf8]
mov edx, dword [0x48fa20]
mov ecx, 2
call fcn.004052f8
lea eax, [ebp - 0xec]
call fcn.00405800
lea eax, [ebp - 0xdc]
call fcn.004066c4
lea eax, [ebp - 0xd8]
mov edx, dword [0x48f988]
mov ecx, 2
call fcn.004052f8
lea eax, [ebp - 0xd0]
call fcn.00405800
lea eax, [ebp - 0xc0]
call fcn.004066c4
lea eax, [ebp - 0xbc]
call fcn.004066c4
lea eax, [ebp - 0xb8]
call fcn.00405800
lea eax, [ebp - 0xa8]
call fcn.004066c4
lea eax, [ebp - 0xa4]
call fcn.004066c4
lea eax, [ebp - 0xa0]
call fcn.004066c4
lea eax, [ebp - 0x9c]
call fcn.00404704
lea eax, [ebp - 0x98]
call fcn.00404e20
lea eax, [ebp - 0x94]
call fcn.004066c4
lea eax, [ebp - 0x90]
mov edx, 0x13
call fcn.00404728
lea eax, [ebp - 0x40]
mov edx, 0xb
call fcn.00404728
lea eax, [ebp - 0x14]
call fcn.00405800
lea eax, [ebp - 4]
call fcn.00404704
ret