Function at 0x5231b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov ecx, 4
push ebx
push esi
push edi
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov eax, edx
lea edi, [0x5978d4]
mov esi, dword [ebp + 0x1c]
call fcn.00534b34
lea edx, [0x5978d4]
mov eax, 0x20
call fcn.00534c4d
push 4
push edx
call fcn.0050b67a
xor eax, eax
mov esi, dword [0x5978d4]
cmp esi, 0x4c4c494e
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], 2
lea ebx, [0x59782c]
setne al
add edi, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x30]
lea ecx, [0x597928]
lea eax, [0x597924]
lea esi, [ebp - 4]
mov edx, dword [edi]
mov dword [ebp - 4], edx
sub esp, 4
push ecx
push eax
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050d0c4
mov edi, dword [0x597924]
mov eax, dword [0x597928]
shl edi, 2
lea edx, [ebx + 0x10]
add edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea ecx, [0x57ccc4]
push edx
add edi, 0xfffffffc
push 2
shl eax, 2
push ecx
lea esi, [esi + eax - 4]
push esi
push edi
call fcn.0050dc90
lea eax, [0x57ccc0]
push ebx
push 2
push eax
push esi
push edi
call fcn.0050dc90
lea eax, [ebx + 8]
lea edx, [0x57ccbc]
push eax
push 2
push edx
push esi
push edi
call fcn.0050dc90
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 0x24]
push edx
push eax
push dword [ebp + 0x14]
push esi
push edi
call fcn.0050dc90
add esp, 4
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], 0
je 0x5232f5
sub esp, 4
lea edx, [ebx + 0x60]
push edx
push eax
push dword [ebp + 0x1c]
push esi
push edi
call fcn.0050dc90
lea eax, [ebx + 0x68]
lea edx, str.IPRES6
push eax
push 6
push edx
push esi
push edi
call fcn.0050dc90
add esp, 4
lea eax, [ebx + 0x80]
sub esp, 4
lea edx, str.IPDBFI
push eax
push 6
push edx
push esi
push edi
call fcn.0050dc90
lea eax, [ebx + 0x78]
lea edx, str.IPDBFJ
push eax
push 6
push edx
push esi
push edi
call fcn.0050dc90
lea eax, [ebx + 0x70]
lea edx, str.IPDBFK
push eax
push 6
push edx
push esi
push edi
call fcn.0050dc90
lea eax, [ebx + 0x58]
lea edx, str.IPVOL
push eax
push 5
push edx
push esi
push edi
call fcn.0050dc90
lea eax, [ebx + 0xa0]
lea edx, str.IPSI
push eax
push 4
push edx
push esi
push edi
call fcn.0050dc90
lea eax, [ebx + 0x98]
lea edx, str.IPSJ
push eax
push 4
push edx
push esi
push edi
call fcn.0050dc90
lea eax, [ebx + 0x90]
lea edx, str.IPSK
push eax
push 4
push edx
push esi
push edi
call fcn.0050dc90
add esp, 4
mov esi, dword [0x597924]
add esi, dword [ebx + 0x18]
mov edi, dword [0x597924]
mov eax, dword [0x597924]
mov edx, dword [0x597924]
dec esi
add edi, dword [ebx + 0x60]
mov ecx, dword [0x597924]
mov dword [ebx + 0x18], esi
dec edi
add eax, dword [ebx + 0x68]
mov esi, dword [0x597924]
mov dword [ebx + 0x60], edi
dec eax
add edx, dword [ebx + 0x80]
mov edi, dword [0x597924]
mov dword [ebx + 0x68], eax
dec edx
add ecx, dword [ebx + 0x78]
mov eax, dword [0x597924]
mov dword [ebx + 0x80], edx
dec ecx
add esi, dword [ebx + 0x70]
mov edx, dword [0x597924]
mov dword [ebx + 0x78], ecx
dec esi
add edi, dword [ebx + 0xa0]
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x70], esi
dec edi
add eax, dword [ebx + 0x98]
mov ecx, dword [ecx + 4]
mov esi, dword [ebp - 0x30]
dec eax
add edx, dword [ebx + 0x90]
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0x98], eax
dec edx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x90], edx
mov esi, dword [esi + 8]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0x40], esi
mov edi, dword [edi + 0xc]
mov eax, dword [eax + 0x10]
mov edx, dword [edx + 0x14]
mov ecx, dword [ecx + 0x18]
mov esi, dword [ebp - 0x30]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x20], ecx
add esi, 0x1c
mov edi, dword [ebp - 0x2c]
add ebx, 4
dec edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
test edi, edi
jg 0x523222
sub esp, 4
lea edx, [0x597928]
lea ecx, [0x597924]
lea esi, [0x57cc78]
push edx
push ecx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050d0c4
mov edi, dword [ebp + 0x10]
mov edi, dword [edi + 0x44]
shl edi, 2
add edi, dword [ebp + 0xc]
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov dword [ebp - 0x24], ebx
mov ebx, dword [edi + 8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ebx
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 0x24]
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ecx
mov eax, dword [edi + 0x34]
mov esi, dword [edi + 0x28]
mov ebx, dword [edi + 0x2c]
mov edx, dword [edi + 0x38]
lea ecx, [0x597910]
mov dword [ebp - 0x44], eax
mov edi, dword [edi + 0x3c]
lea eax, str.IVUVW
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edi
push ecx
push 6
push eax
lea edi, [0x59792c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050dc90
lea eax, [0x59790c]
lea edx, str.IVEFFD
push eax
push 6
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050dc90
lea eax, [0x597908]
lea edx, str.IVVDIV
push eax
push 6
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050dc90
lea eax, [0x597904]
lea edx, str.IVREZ
push eax
push 6
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050dc90
add esp, 4
mov eax, dword [ebp - 0x2c]
shl eax, 2
mov edx, dword [ebp - 0x30]
add eax, dword [ebp + 0xc]
lea ecx, [0x59794c]
add eax, 0xfffffffc
shl edx, 2
mov dword [ebp - 0x50], eax
add edx, dword [ebp + 0xc]
lea eax, [0x5978d8]
add edx, 0xfffffffc
mov dword [ebp - 0x54], edx
lea edx, [0x5978dc]
push ecx
push eax
lea ecx, [0x59792c]
push edx
lea eax, [0x597914]
lea edx, [0x5978b4]
push ecx
lea ecx, [0x59787c]
push eax
push edx
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
lea ecx, [0x597834]
push eax
push edx
lea eax, [0x59782c]
lea edx, [0x59783c]
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push ecx
push eax
lea ecx, [0x59784c]
push edx
lea eax, [0x597854]
lea edx, [0x59785c]
push ecx
lea ecx, [0x597864]
push eax
push edx
lea eax, [0x59786c]
lea edx, [0x597874]
push ecx
push eax
push edx
call fcn.00533d92
mov edx, dword [0x597910]
mov dword [ebp - 0x64], edi
shl edx, 2
lea edi, [0x59782c]
add edx, dword [ebp + 8]
lea eax, [0x59794c]
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x68], edi
add edx, 0xfffffffc
mov dword [ebp - 0x6c], eax
shl esi, 2
mov dword [ebp - 0x74], edx
add esi, dword [ebp + 8]
mov dword [ebp - 0x5c], 1
add esi, 0xfffffffc
shl ebx, 2
mov dword [ebp - 0x78], esi
add ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x60], 0xffffffff
add ebx, 0xfffffffc
shl esi, 2
mov dword [ebp - 0x7c], ebx
add esi, dword [ebp + 8]
mov dword [ebp - 0x70], 2
add esi, 0xfffffffc
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x68]
lea ecx, [0x59791c]
lea eax, [0x597920]
lea esi, [esi + 0x50]
mov dword [ebp - 0x80], esi
sub esp, 4
push ecx
push eax
mov edx, dword [ebp - 0x68]
add edx, 0x70
push edx
mov ecx, dword [ebp - 0x68]
add ecx, 0x78
push ecx
mov eax, dword [ebp - 0x68]
add eax, 0x80
push eax
mov edx, dword [ebp - 0x68]
add edx, 0x88
push edx
push dword [ebp - 0x80]
call fcn.00534150
mov eax, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
add ebx, 0x48
mov eax, dword [ebp - 0x68]
add ecx, 0x38
mov dword [ebp - 0x88], edx
add eax, 0x28
mov dword [ebp - 0x90], ecx
lea edx, [0x5978ec]
mov dword [ebp - 0x94], eax
lea ecx, [0x5978f0]
lea eax, [0x5978f4]
mov dword [ebp - 0x8c], ebx
push edx
push ecx
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x94]
push dword [ebp - 0x90]
push dword [ebp - 0x8c]
call fcn.0051a508
add esp, 4
xor eax, eax
cmp dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
setne al
mov dword [ebp - 0x98], eax
test eax, eax
mov eax, dword [ebp - 0x30]
jne 0x52375e
add edx, dword [ebp - 0x24]
add ebx, dword [ebp - 0x28]
jmp 0x523772
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
add ebx, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov ecx, ebx
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x68]
mov esi, dword [edi + 0x18]
shl esi, 2
add esi, dword [ebp + 8]
add esi, 0xfffffffc
mov dword [ebp - 0x9c], esi
mov esi, dword [ebp - 0x68]
add esi, 0x10
mov dword [ebp - 0xa0], esi
mov esi, dword [ebp - 0x68]
add esi, 8
mov dword [ebp - 0xa4], esi
mov esi, dword [0x597920]
shl esi, 2
add esi, dword [ebp + 8]
add esi, 0xfffffffc
mov dword [ebp - 0xa8], esi
mov esi, dword [0x59791c]
shl esi, 2
add esi, dword [ebp + 8]
add esi, 0xfffffffc
mov dword [ebp - 0xac], esi
mov esi, dword [edi + 0x58]
shl esi, 2
mov edi, dword [ebp + 0xc]
add esi, dword [ebp + 8]
lea edi, [edi + ecx*4 - 4]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xb4], edi
add esi, 0xfffffffc
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xb0], esi
mov esi, dword [ebp + 0xc]
lea edi, [edi + eax*4 - 4]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xbc], edi
lea esi, [esi + edx*4 - 4]
lea edi, [ebp - 0x88]
mov dword [ebp - 0xb8], esi
shl ebx, 2
mov edx, dword [ebp - 0x78]
add ebx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x3c]
push edi
lea edi, [ebp - 0x84]
add ebx, 0xfffffffc
push edi
lea edi, [0x5978ec]
push dword [ebp - 0x6c]
push edi
lea edi, [0x5978f0]
push edi
lea edi, [0x5978f4]
push edi
lea edi, [ebp - 0x28]
push edi
lea edi, [ebp - 0x24]
push ebx
push dword [ebp - 0xbc]
push edi
lea edi, [0x57cc54]
push dword [ebp - 0xb8]
push dword [ebp - 0xb4]
push esi
push eax
push edx
lea esi, [ebp - 0x38]
push dword [ebp - 0xb0]
push dword [ebp - 0xac]
lea eax, [ebp - 0x34]
push dword [ebp - 0xa8]
push edi
push esi
push eax
push ecx
push dword [ebp - 0xa4]
push dword [ebp - 0x68]
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
call fcn.005186b0
cmp dword [ebp - 0x20], 0
lea ecx, [ebp - 0x88]
mov edi, dword [ebp - 0x68]
je 0x5239e7
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov edi, dword [edi + 0x68]
mov edx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [0x5978ec]
push dword [ebp - 0x6c]
push ecx
lea ecx, [0x5978f0]
push ecx
lea ecx, [0x5978f4]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
push ebx
push dword [ebp - 0xbc]
push ecx
lea ecx, [0x57cc50]
push dword [ebp - 0xb8]
push dword [ebp - 0xb4]
push edx
push eax
push esi
lea edx, [ebp - 0x38]
push dword [ebp - 0xb0]
push dword [ebp - 0xac]
lea eax, [ebp - 0x34]
push dword [ebp - 0xa8]
push ecx
push edx
push eax
mov esi, dword [0x597908]
shl esi, 2
add esi, dword [ebp + 8]
add esi, 0xfffffffc
shl edi, 2
push esi
push dword [ebp - 0xa4]
push dword [ebp - 0x68]
push dword [ebp - 0xa0]
add edi, dword [ebp + 8]
add edi, 0xfffffffc
push edi
call fcn.005186b0
lea ecx, [ebp - 0x88]
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov esi, dword [esi + 0x60]
mov edx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [0x5978ec]
push dword [ebp - 0x6c]
push ecx
lea ecx, [0x5978f0]
push ecx
lea ecx, [0x5978f4]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
push ebx
lea ebx, [0x57cc50]
push dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x38]
push dword [ebp - 0xb8]
push dword [ebp - 0xb4]
push edx
push eax
push edi
lea edx, [ebp - 0x34]
push dword [ebp - 0xb0]
push dword [ebp - 0xac]
push dword [ebp - 0xa8]
push ebx
push ecx
push edx
mov eax, dword [0x59790c]
shl eax, 2
add eax, dword [ebp + 8]
add eax, 0xfffffffc
shl esi, 2
push eax
push dword [ebp - 0xa4]
push dword [ebp - 0x68]
push dword [ebp - 0xa0]
add esi, dword [ebp + 8]
add esi, 0xfffffffc
push esi
call fcn.005186b0
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x98], 0
mov dword [ebp - 0xb0], edi
mov ebx, dword [ebp - 0x30]
jne 0x523a10
add esi, dword [ebp - 0x28]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb8], esi
jmp 0x523a25
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], eax
mov edi, 2
mov dword [ebp - 0xbc], 0
mov ebx, 1
mov dword [ebp - 0xc0], 1
cmp ebx, 1
jne 0x523a59
mov edx, dword [ebp - 0x64]
mov ecx, 0xb
mov eax, 0
mov esi, dword [edx]
jmp 0x523a67
mov esi, dword [ebp - 0x64]
mov ecx, 0xc
mov eax, dword [ebp - 0x34]
mov esi, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], 1
sub esp, 4
lea edx, [0x5978ec]
lea esi, [0x5978f0]
lea eax, [0x5978f4]
lea ecx, [0x5978e0]
push edx
push esi
lea edx, [0x5978e4]
lea esi, [0x5978e8]
push eax
push ecx
push edx
push esi
push dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
lea esi, [ebp - 0x10]
add eax, 0x20
push eax
push dword [ebp - 0x94]
mov ecx, dword [ebp - 0x68]
add ecx, 0x30
push ecx
push dword [ebp - 0x90]
mov edx, dword [ebp - 0x68]
add edx, 0x40
push edx
push dword [ebp - 0x8c]
push dword [ebp - 0x80]
push esi
call fcn.0051b3cc
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x88]
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x7c]
push edx
push ecx
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0xbc]
push edx
push ecx
mov edx, dword [ebp - 0x6c]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x14
push ecx
mov edx, dword [ebp - 0x6c]
add edx, 8
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x6c]
add edx, 0x10
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 4
lea edx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x18]
push ecx
lea ecx, [0x5978ec]
push edx
lea edx, [0x5978f0]
push ecx
lea ecx, [0x5978f4]
push edx
lea edx, [0x5978e0]
push ecx
lea ecx, [0x5978e4]
push edx
lea edx, [0x5978e8]
push ecx
lea ecx, [ebp - 0xb0]
push edx
push ecx
mov edx, dword [ebp - 0xb8]
shl edx, 2
add edx, dword [ebp + 0xc]
add edx, 0xfffffffc
push edx
mov ecx, dword [ebp - 0xb4]
shl ecx, 2
lea edx, [0x57cc54]
add ecx, dword [ebp + 0xc]
add ecx, 0xfffffffc
push ecx
push eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x34]
push dword [ebp - 0xac]
push dword [ebp - 0xa8]
push edx
push ecx
push eax
push esi
push dword [ebp - 0xa4]
push dword [ebp - 0x68]
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
call fcn.0051a570
add esp, 4
inc ebx
dec edi
mov esi, dword [ebp - 0x24]
test edi, edi
jg 0x523a43
cmp dword [ebp - 0x98], 0
mov dword [ebp - 0xb0], esi
mov eax, dword [ebp - 0x2c]
jne 0x523bec
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
add edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
jmp 0x523bfb
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ecx
xor edx, edx
mov dword [ebp - 0xbc], 1
mov esi, 2
mov ebx, 1
mov dword [ebp - 0xc0], edx
cmp ebx, 1
jne 0x523c2e
mov eax, dword [ebp - 0x64]
mov ecx, 0x15
mov edx, 0
mov edi, dword [eax + 4]
jmp 0x523c3c
mov edi, dword [ebp - 0x64]
mov ecx, 0x16
mov edx, dword [ebp - 0x38]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 1
sub esp, 4
lea edi, [0x5978ec]
lea edx, [0x5978f0]
lea eax, [0x5978f4]
lea ecx, [0x5978e0]
push edi
push edx
lea edi, [0x5978e4]
lea edx, [0x5978e8]
push eax
push ecx
push edi
push edx
push dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x10]
add eax, 0x20
push eax
push dword [ebp - 0x94]
mov ecx, dword [ebp - 0x68]
add ecx, 0x30
push ecx
push dword [ebp - 0x90]
mov edi, dword [ebp - 0x68]
add edi, 0x40
push edi
push dword [ebp - 0x8c]
push dword [ebp - 0x80]
push edx
call fcn.0051b3cc
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x88]
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
push edx
push ecx
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0xbc]
push edx
push ecx
mov edx, dword [ebp - 0x6c]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x14
push ecx
mov edx, dword [ebp - 0x6c]
add edx, 8
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x18
push ecx
mov edx, dword [ebp - 0x6c]
add edx, 0xc
lea ecx, [ebp - 0x84]
push edx
lea edx, [ebp - 0x1c]
push dword [ebp - 0x6c]
push ecx
push edx
lea ecx, [ebp - 0x18]
lea edx, [0x5978ec]
push ecx
push edx
lea ecx, [0x5978f0]
lea edx, [0x5978f4]
push ecx
push edx
lea ecx, [0x5978e0]
lea edx, [0x5978e4]
push ecx
push edx
lea ecx, [0x5978e8]
lea edx, [ebp - 0xb0]
push ecx
push edx
mov ecx, dword [ebp - 0xc]
shl ecx, 2
add ecx, dword [ebp + 0xc]
add ecx, 0xfffffffc
push ecx
mov edx, dword [ebp - 8]
shl edx, 2
lea ecx, [0x57cc54]
add edx, dword [ebp + 0xc]
add edx, 0xfffffffc
push edx
push eax
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x34]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push ecx
push edx
push eax
push edi
push dword [ebp - 0xa4]
push dword [ebp - 0x68]
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
call fcn.0051a570
add esp, 4
inc ebx
dec esi
mov edi, dword [ebp - 0x5c]
test esi, esi
jg 0x523c17
inc edi
mov edx, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x5c], edi
add edx, 2
mov esi, dword [ebp - 0x68]
add ebx, 0x10
mov edi, dword [ebp - 0x6c]
add esi, 4
mov eax, dword [ebp - 0x70]
add edi, 0x24
mov ecx, dword [ebp - 0x58]
inc eax
dec ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x58], ecx
test ecx, ecx
jg 0x52368a
lea edx, [0x57cc54]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x38]
push edx
lea ebx, [ebp - 0x34]
lea edx, [0x59792c]
push ecx
push ebx
push edx
push eax
push edi
push esi
push dword [ebp - 0x74]
call fcn.00529438
mov ebx, dword [ebp - 0x4c]
mov edi, dword [0x597904]
shl ebx, 2
mov esi, dword [ebp - 0x3c]
add ebx, dword [ebp + 8]
lea edx, [ebp - 0x20]
lea ecx, [0x5978d8]
add ebx, 0xfffffffc
shl edi, 2
add edi, dword [ebp + 8]
add edi, 0xfffffffc
sub esp, 4
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
push edx
lea eax, [0x5978dc]
push ecx
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
push edx
push ecx
push edi
mov eax, dword [0x597908]
shl eax, 2
add eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
mov edx, dword [0x59790c]
shl edx, 2
add edx, dword [ebp + 8]
add edx, 0xfffffffc
push edx
mov ecx, dword [ebp - 0x40]
shl ecx, 2
add ecx, dword [ebp + 8]
add ecx, 0xfffffffc
push ecx
push ebx
mov eax, dword [ebp - 0x48]
shl eax, 2
add eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
mov edx, dword [ebp - 0x44]
shl edx, 2
add edx, dword [ebp + 8]
add edx, 0xfffffffc
push edx
push esi
push dword [ebp - 0x74]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00515a38
add esp, 4
lea edx, [0x57cc54]
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x34]
push ecx
push edx
push eax
push esi
push edi
call fcn.0052cfb3
lea esi, [ebp - 0xc]
lea eax, [ebp - 8]
lea edx, [0x5978bc]
lea ecx, [0x5978c4]
push esi
push eax
lea esi, [0x5978cc]
lea eax, [0x5978b4]
push edx
push ecx
push esi
push eax
call fcn.005341dd
mov esi, dword [0x597844]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x2c], esi
mov ecx, dword [ebp - 0x7c]
sub esp, 4
lea esi, [ebp - 0x20]
mov eax, dword [0x597848]
push esi
lea esi, [0x597970]
push esi
lea esi, [0x59794c]
push esi
lea esi, [0x597918]
push esi
lea esi, [0x597914]
push esi
lea esi, [0x5978b8]
push esi
lea esi, [0x5978b4]
push esi
lea esi, [0x597880]
push esi
push ebx
lea esi, [ebp - 0x28]
lea ebx, [ebp - 0x24]
push esi
push ebx
lea esi, [ebp - 0x38]
lea ebx, [ebp - 0x34]
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push esi
push ebx
push ecx
push edx
push edi
mov esi, dword [ebp - 0xc]
shl esi, 2
lea ecx, [0x57cc54]
add esi, dword [ebp + 8]
lea edx, [0x597838]
lea edi, [0x597830]
add esi, 0xfffffffc
push esi
mov ebx, dword [ebp - 8]
shl ebx, 2
lea esi, [0x597840]
add ebx, dword [ebp + 8]
add ebx, 0xfffffffc
shl eax, 2
push ebx
push ecx
push edx
push edi
push esi
add eax, dword [ebp + 8]
lea ebx, [0x597834]
lea ecx, [0x59782c]
add eax, 0xfffffffc
lea edx, [0x59783c]
push eax
push ebx
push ecx
push edx
mov edi, dword [ebp - 0x2c]
shl edi, 2
add edi, dword [ebp + 8]
add edi, 0xfffffffc
push edi
call fcn.00523fc8
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c