Function at 0x51e838
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, [0x5937a4]
mov esi, dword [ebp + 0x1c]
call fcn.005301bc
lea edx, [0x5937a4]
mov eax, 0x20
call fcn.005302d5
push 4
push edx
call fcn.00506d02
xor eax, eax
mov esi, dword [0x5937a4]
cmp esi, 0x4c4c494e
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], 2
lea ebx, [0x5936fc]
setne al
add edi, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x30]
lea ecx, [0x5937f8]
lea eax, [0x5937f4]
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.0050874c
mov edi, dword [0x5937f4]
mov eax, dword [0x5937f8]
shl edi, 2
lea edx, [ebx + 0x10]
add edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea ecx, [0x578cc4]
push edx
add edi, 0xfffffffc
push 2
shl eax, 2
push ecx
lea esi, [esi + eax - 4]
push esi
push edi
call fcn.00509318
lea eax, [0x578cc0]
push ebx
push 2
push eax
push esi
push edi
call fcn.00509318
lea eax, [ebx + 8]
lea edx, [0x578cbc]
push eax
push 2
push edx
push esi
push edi
call fcn.00509318
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 0x24]
push edx
push eax
push dword [ebp + 0x14]
push esi
push edi
call fcn.00509318
add esp, 4
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], 0
je 0x51e97d
sub esp, 4
lea edx, [ebx + 0x60]
push edx
push eax
push dword [ebp + 0x1c]
push esi
push edi
call fcn.00509318
lea eax, [ebx + 0x68]
lea edx, str.IPRES6
push eax
push 6
push edx
push esi
push edi
call fcn.00509318
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.00509318
lea eax, [ebx + 0x78]
lea edx, str.IPDBFJ
push eax
push 6
push edx
push esi
push edi
call fcn.00509318
lea eax, [ebx + 0x70]
lea edx, str.IPDBFK
push eax
push 6
push edx
push esi
push edi
call fcn.00509318
lea eax, [ebx + 0x58]
lea edx, str.IPVOL
push eax
push 5
push edx
push esi
push edi
call fcn.00509318
lea eax, [ebx + 0xa0]
lea edx, str.IPSI
push eax
push 4
push edx
push esi
push edi
call fcn.00509318
lea eax, [ebx + 0x98]
lea edx, str.IPSJ
push eax
push 4
push edx
push esi
push edi
call fcn.00509318
lea eax, [ebx + 0x90]
lea edx, str.IPSK
push eax
push 4
push edx
push esi
push edi
call fcn.00509318
add esp, 4
mov esi, dword [0x5937f4]
add esi, dword [ebx + 0x18]
mov edi, dword [0x5937f4]
mov eax, dword [0x5937f4]
mov edx, dword [0x5937f4]
dec esi
add edi, dword [ebx + 0x60]
mov ecx, dword [0x5937f4]
mov dword [ebx + 0x18], esi
dec edi
add eax, dword [ebx + 0x68]
mov esi, dword [0x5937f4]
mov dword [ebx + 0x60], edi
dec eax
add edx, dword [ebx + 0x80]
mov edi, dword [0x5937f4]
mov dword [ebx + 0x68], eax
dec edx
add ecx, dword [ebx + 0x78]
mov eax, dword [0x5937f4]
mov dword [ebx + 0x80], edx
dec ecx
add esi, dword [ebx + 0x70]
mov edx, dword [0x5937f4]
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 0x51e8aa
sub esp, 4
lea edx, [0x5937f8]
lea ecx, [0x5937f4]
lea esi, [0x578c78]
push edx
push ecx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050874c
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, [0x5937e0]
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, [0x5937fc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00509318
lea eax, [0x5937dc]
lea edx, str.IVEFFD
push eax
push 6
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00509318
lea eax, [0x5937d8]
lea edx, str.IVVDIV
push eax
push 6
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00509318
lea eax, [0x5937d4]
lea edx, str.IVREZ
push eax
push 6
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00509318
add esp, 4
mov eax, dword [ebp - 0x2c]
shl eax, 2
mov edx, dword [ebp - 0x30]
add eax, dword [ebp + 0xc]
lea ecx, [0x59381c]
add eax, 0xfffffffc
shl edx, 2
mov dword [ebp - 0x50], eax
add edx, dword [ebp + 0xc]
lea eax, [0x5937a8]
add edx, 0xfffffffc
mov dword [ebp - 0x54], edx
lea edx, [0x5937ac]
push ecx
push eax
lea ecx, [0x5937fc]
push edx
lea eax, [0x5937e4]
lea edx, [0x593784]
push ecx
lea ecx, [0x59374c]
push eax
push edx
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
lea ecx, [0x593704]
push eax
push edx
lea eax, [0x5936fc]
lea edx, [0x59370c]
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push ecx
push eax
lea ecx, [0x59371c]
push edx
lea eax, [0x593724]
lea edx, [0x59372c]
push ecx
lea ecx, [0x593734]
push eax
push edx
lea eax, [0x59373c]
lea edx, [0x593744]
push ecx
push eax
push edx
call fcn.0052f41a
mov edx, dword [0x5937e0]
mov dword [ebp - 0x64], edi
shl edx, 2
lea edi, [0x5936fc]
add edx, dword [ebp + 8]
lea eax, [0x59381c]
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, [0x5937ec]
lea eax, [0x5937f0]
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.0052f7d8
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, [0x5937bc]
mov dword [ebp - 0x94], eax
lea ecx, [0x5937c0]
lea eax, [0x5937c4]
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.00515b90
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 0x51ede6
add edx, dword [ebp - 0x24]
add ebx, dword [ebp - 0x28]
jmp 0x51edfa
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 [0x5937f0]
shl esi, 2
add esi, dword [ebp + 8]
add esi, 0xfffffffc
mov dword [ebp - 0xa8], esi
mov esi, dword [0x5937ec]
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, [0x5937bc]
push dword [ebp - 0x6c]
push edi
lea edi, [0x5937c0]
push edi
lea edi, [0x5937c4]
push edi
lea edi, [ebp - 0x28]
push edi
lea edi, [ebp - 0x24]
push ebx
push dword [ebp - 0xbc]
push edi
lea edi, [0x578c54]
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.00513d38
cmp dword [ebp - 0x20], 0
lea ecx, [ebp - 0x88]
mov edi, dword [ebp - 0x68]
je 0x51f06f
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, [0x5937bc]
push dword [ebp - 0x6c]
push ecx
lea ecx, [0x5937c0]
push ecx
lea ecx, [0x5937c4]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
push ebx
push dword [ebp - 0xbc]
push ecx
lea ecx, [0x578c50]
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 [0x5937d8]
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.00513d38
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, [0x5937bc]
push dword [ebp - 0x6c]
push ecx
lea ecx, [0x5937c0]
push ecx
lea ecx, [0x5937c4]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
push ebx
lea ebx, [0x578c50]
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 [0x5937dc]
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.00513d38
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 0x51f098
add esi, dword [ebp - 0x28]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb8], esi
jmp 0x51f0ad
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 0x51f0e1
mov edx, dword [ebp - 0x64]
mov ecx, 0xb
mov eax, 0
mov esi, dword [edx]
jmp 0x51f0ef
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, [0x5937bc]
lea esi, [0x5937c0]
lea eax, [0x5937c4]
lea ecx, [0x5937b0]
push edx
push esi
lea edx, [0x5937b4]
lea esi, [0x5937b8]
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.00516a54
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, [0x5937bc]
push edx
lea edx, [0x5937c0]
push ecx
lea ecx, [0x5937c4]
push edx
lea edx, [0x5937b0]
push ecx
lea ecx, [0x5937b4]
push edx
lea edx, [0x5937b8]
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, [0x578c54]
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.00515bf8
add esp, 4
inc ebx
dec edi
mov esi, dword [ebp - 0x24]
test edi, edi
jg 0x51f0cb
cmp dword [ebp - 0x98], 0
mov dword [ebp - 0xb0], esi
mov eax, dword [ebp - 0x2c]
jne 0x51f274
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
add edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
jmp 0x51f283
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 0x51f2b6
mov eax, dword [ebp - 0x64]
mov ecx, 0x15
mov edx, 0
mov edi, dword [eax + 4]
jmp 0x51f2c4
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, [0x5937bc]
lea edx, [0x5937c0]
lea eax, [0x5937c4]
lea ecx, [0x5937b0]
push edi
push edx
lea edi, [0x5937b4]
lea edx, [0x5937b8]
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.00516a54
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, [0x5937bc]
push ecx
push edx
lea ecx, [0x5937c0]
lea edx, [0x5937c4]
push ecx
push edx
lea ecx, [0x5937b0]
lea edx, [0x5937b4]
push ecx
push edx
lea ecx, [0x5937b8]
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, [0x578c54]
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.00515bf8
add esp, 4
inc ebx
dec esi
mov edi, dword [ebp - 0x5c]
test esi, esi
jg 0x51f29f
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 0x51ed12
lea edx, [0x578c54]
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, [0x5937fc]
push ecx
push ebx
push edx
push eax
push edi
push esi
push dword [ebp - 0x74]
call fcn.00524ac0
mov ebx, dword [ebp - 0x4c]
mov edi, dword [0x5937d4]
shl ebx, 2
mov esi, dword [ebp - 0x3c]
add ebx, dword [ebp + 8]
lea edx, [ebp - 0x20]
lea ecx, [0x5937a8]
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, [0x5937ac]
push ecx
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
push edx
push ecx
push edi
mov eax, dword [0x5937d8]
shl eax, 2
add eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
mov edx, dword [0x5937dc]
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.005110c0
add esp, 4
lea edx, [0x578c54]
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.0052863b
lea esi, [ebp - 0xc]
lea eax, [ebp - 8]
lea edx, [0x59378c]
lea ecx, [0x593794]
push esi
push eax
lea esi, [0x59379c]
lea eax, [0x593784]
push edx
push ecx
push esi
push eax
call fcn.0052f865
mov esi, dword [0x593714]
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 [0x593718]
push esi
lea esi, [0x593840]
push esi
lea esi, [0x59381c]
push esi
lea esi, [0x5937e8]
push esi
lea esi, [0x5937e4]
push esi
lea esi, [0x593788]
push esi
lea esi, [0x593784]
push esi
lea esi, [0x593750]
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, [0x578c54]
add esi, dword [ebp + 8]
lea edx, [0x593708]
lea edi, [0x593700]
add esi, 0xfffffffc
push esi
mov ebx, dword [ebp - 8]
shl ebx, 2
lea esi, [0x593710]
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, [0x593704]
lea ecx, [0x5936fc]
add eax, 0xfffffffc
lea edx, [0x59370c]
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.0051f650
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c