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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x238]
cmp eax, dword [ecx + 8]
jbe 0x582b0b
sub esp, 0x2b8
lea eax, [0x606da0]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x2bc]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x2c0]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x2c4]
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567480
movzx eax, byte [esp + 0xc]
test al, al
je 0x582692
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xc8]
mov edi, dword [esp + 0x60]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x581685
mov dword [edi], eax
jmp 0x58168a
call fcn.004610d0
lea eax, [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00567410
movzx eax, byte [esp + 0xc]
test al, al
je 0x58264b
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [esp + 0xc8]
mov dword [esp], eax
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567480
movzx eax, byte [esp + 0xc]
test al, al
je 0x582604
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x581715
mov dword [ebx + 0xc], eax
jmp 0x58171d
lea edi, [ebx + 0xc]
call fcn.004610d0
lea eax, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00567410
movzx eax, byte [esp + 0xc]
test al, al
je 0x5825bd
lea eax, [esp + 0x74]
mov dword [esp], eax
lea ecx, [0x5d84e0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 0x58]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0xa0
lea edx, [0x5e3fc0]
mov dword [esp + 0x10], edx
lea edx, [0x667c54]
mov dword [esp + 0x14], edx
call fcn.005675f0
movzx eax, byte [esp + 0x18]
test al, al
je 0x582576
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x58]
test ecx, ecx
jl 0x58252f
inc ecx
mov dword [eax + 0x58], ecx
cmp ecx, 3
jg 0x5824e8
lea eax, [0x5f0c60]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x74]
mov dword [esp], ecx
lea edx, [0x60a180]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00565e60
movzx eax, byte [esp + 0xc]
test al, al
je 0x5824a1
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x5817f6
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x5c], eax
jmp 0x581806
mov ecx, dword [esp + 0x60]
lea edi, [ecx + 0x5c]
mov eax, dword [esp + 0x54]
call fcn.004610d0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea eax, [esp + 0x74]
mov dword [esp], eax
lea ecx, [esp + 0x98]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567410
movzx eax, byte [esp + 0xc]
test al, al
je 0x58245a
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [esp + 0xc8]
mov dword [esp], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567410
movzx eax, byte [esp + 0xc]
test al, al
je 0x582413
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x98]
lea ebx, [esp + 0x98]
cmp dword [ebx + 4], eax
jne 0x5818d7
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x58191e
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x41
lea ecx, [0x61eb1b]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea edi, [esp + 0x1e8]
xor eax, eax
call fcn.00461344
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0057c280
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea edi, [esp + 0x1e8]
lea esi, [esp + 0xc]
call fcn.004617e8
lea edi, [esp + 0x188]
lea esi, [esp + 0x1e8]
call fcn.004617e8
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x5823f3
lea edi, [esp]
lea esi, [esp + 0x188]
call fcn.004617e8
call fcn.0058a290
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x48], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea eax, [esp + 0x74]
mov dword [esp], eax
lea edx, [esp + 0xbc]
mov dword [esp + 4], edx
mov byte [esp + 8], 0x30
call fcn.00567480
movzx eax, byte [esp + 0xc]
test al, al
je 0x5823ac
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], edx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x581a27
mov dword [ebx + 0x30], eax
jmp 0x581a2f
lea edi, [ebx + 0x30]
call fcn.004610d0
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0057bd20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x58238c
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 0x60]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00574140
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x74]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567410
movzx eax, byte [esp + 0xc]
test al, al
je 0x582345
lea edi, [esp + 0x120]
xor eax, eax
call fcn.0046134b
lea edi, [esp + 0x10c]
call fcn.0046134b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0057c5a0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x5c], ebx
lea edi, [esp + 0x120]
lea esi, [esp + 0xc]
call fcn.0046182e
lea edi, [esp + 0x10c]
lea esi, [esp + 0x20]
call fcn.0046182e
mov ecx, dword [esp + 0x60]
lea edi, [ecx + 0x158]
mov ebp, dword [0x7e1c20]
test ebp, ebp
jne 0x581b4d
lea esi, [esp + 0x120]
call fcn.0046182e
jmp 0x581b72
lea eax, [0x6093a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x120]
mov dword [esp + 8], eax
call fcn.004100e0
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
lea edi, [eax + 0x16c]
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x581b94
lea esi, [esp + 0x10c]
call fcn.0046182e
jmp 0x581bbd
lea eax, [0x6093a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x10c]
mov dword [esp + 8], eax
call fcn.004100e0
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x582325
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [esp + 0x74]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567480
movzx eax, byte [esp + 0xc]
test al, al
je 0x5822de
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], edx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x581c41
mov dword [ebx + 0x24], eax
jmp 0x581c49
lea edi, [ebx + 0x24]
call fcn.004610d0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0057bd20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
jne 0x5822be
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 0xdc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00574140
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [esp + 0x74]
mov dword [esp], eax
lea ecx, [esp + 0x8c]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567480
movzx eax, byte [esp + 0xc]
test al, al
je 0x582277
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x581d14
mov dword [ebx + 0x18], eax
jmp 0x581d1c
lea edi, [ebx + 0x18]
call fcn.004610d0
lea eax, [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00567410
movzx eax, byte [esp + 0xc]
test al, al
je 0x582230
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [esp + 0x8c]
mov dword [esp], eax
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567410
movzx eax, byte [esp + 0xc]
test al, al
je 0x5821e9
lea edi, [esp + 0x1e8]
xor eax, eax
call fcn.00461344
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0057c280
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea edi, [esp + 0x1e8]
lea esi, [esp + 0xc]
call fcn.004617e8
lea edi, [esp + 0x1b8]
lea esi, [esp + 0x1e8]
call fcn.004617e8
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x5821c9
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x1bc]
mov edx, dword [esp + 0x1c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0058a6c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x4c], eax
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
lea eax, [esp + 0x8c]
mov dword [esp], eax
lea eax, [esp + 0xec]
mov dword [esp + 4], eax
call fcn.005672f0
movzx eax, byte [esp + 8]
test al, al
je 0x582182
lea edi, [esp + 0x218]
xor eax, eax
call fcn.0046133d
lea edi, [esp + 0x224]
lea esi, [esp + 0x1b8]
call fcn.004617e8
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xf4]
mov ebp, dword [esp + 0xf8]
mov dword [esp + 0x254], ecx
mov dword [esp + 0x258], edx
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x260], ebp
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x4c]
mov dword [esp], edx
lea edx, [esp + 0x218]
mov dword [esp + 4], edx
call fcn.0057c8c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, ebp
mov ebp, dword [esp + 0x60]
mov dword [ebp + 0x50], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x581f22
mov dword [ebp + 0x54], eax
jmp 0x581f2a
lea edi, [ebp + 0x54]
call fcn.004610d0
test edx, edx
jne 0x582162
cmp dword [ebp + 0x58], 1
jle 0x5829d0
lea eax, [esp + 0x74]
mov dword [esp], eax
mov byte [esp + 4], 0x81
call fcn.00567570
movzx eax, byte [esp + 8]
test al, al
je 0x58211b
lea eax, [esp + 0x74]
mov dword [esp], eax
mov byte [esp + 4], 0x82
call fcn.00567570
movzx eax, byte [esp + 8]
test al, al
je 0x5820d4
mov eax, dword [esp + 0x60]
cmp dword [eax + 0x58], 3
jne 0x5829d0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov byte [esp + 0x47], 0
lea eax, [esp + 0x74]
mov dword [esp], eax
lea eax, [esp + 0xd4]
mov dword [esp + 4], eax
lea ecx, [esp + 0x47]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0xa3
call fcn.005674f0
movzx eax, byte [esp + 0x10]
test al, al
je 0x58208d
movzx ecx, byte [esp + 0x47]
test cl, cl
je 0x5829cc
lea edi, [esp + 0x150]
xor eax, eax
call fcn.00461349
lea edi, [esp + 0x264]
call fcn.0046133b
lea ecx, [esp + 0x264]
mov dword [esp + 0x15c], ecx
call fcn.0044f2b0
mov ecx, dword [esp]
mov dword [esp + 0x158], ecx
lea ecx, [esp + 0xd4]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567410
movzx ecx, byte [esp + 0xc]
test cl, cl
jne 0x5826d9
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x615d05]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x615d05]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1f
lea ecx, [0x617d2b]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1e
lea ecx, [0x6178b1]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], ebx
mov dword [esp + 0x2d0], esi
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x618429]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x2d0], ebx
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x61c79d]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x14
lea ecx, [0x612c4b]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x14
lea ecx, [0x612c4b]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x2d0], ebx
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x613c37]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x2d0], ebx
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x18
lea ecx, [0x614cec]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x2d0], ebx
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x613c37]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x2d0], ebx
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x619973]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x61c394]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x6171e8]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x613492]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x61462d]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x61462d]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1f
lea ecx, [0x617d4a]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1f
lea ecx, [0x617d4a]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6163a8]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6163a8]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x5829ac
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
lea eax, [esp + 0xd4]
mov dword [esp], eax
lea ecx, [esp + 0xe0]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.00567410
movzx eax, byte [esp + 0xc]
test al, al
je 0x582965
lea edi, [esp + 0x16c]
xor eax, eax
call fcn.00461349
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0057c700
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea edi, [esp + 0x16c]
lea esi, [esp + 0xc]
call fcn.0046181a
lea edi, [esp + 0x134]
lea esi, [esp + 0x16c]
call fcn.0046181a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x582945
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0055b0a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
lea edx, [0x5e6660]
mov dword [esp], edx
lea ebx, [esp + 0x150]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040f2d0
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
jne 0x5828fe
lea eax, [0x5e6660]
mov dword [esp], eax
lea ecx, [esp + 0x150]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
call fcn.0040f960
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x188]
mov edx, dword [eax + 0x184]
mov ebx, dword [eax + 0x18c]
lea ebp, [ecx + 1]
cmp ebx, ebp
jae 0x5828ae
lea eax, [0x5f51a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x18c], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x58289f
mov dword [ebx + 0x184], eax
jmp 0x5828aa
lea edi, [ebx + 0x184]
call fcn.004610d0
mov edx, eax
mov eax, ebx
lea ebx, [ecx + 1]
mov dword [eax + 0x188], ebx
mov ebx, dword [0x7e1c20]
imul ecx, ecx, 0x1c
lea edi, [edx + ecx]
test ebx, ebx
jne 0x5828d8
lea esi, [esp + 0x134]
call fcn.0046181a
jmp 0x5826d9
lea eax, [0x5f51a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x134]
mov dword [esp + 8], eax
call fcn.004100e0
mov eax, dword [esp + 0x60]
jmp 0x5826d9
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x61c73f]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x2d0], ebx
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x61554f]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.005802d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x582aeb
mov eax, dword [esp + 0x60]
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
lea eax, [esp + 0xc8]
mov dword [esp], eax
lea eax, [esp + 0xfc]
mov dword [esp + 4], eax
call fcn.005672f0
movzx eax, byte [esp + 8]
test al, al
je 0x582aa4
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
mov ebx, dword [esp + 0x108]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0055af80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], edx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x582a78
mov dword [ebx + 0x3c], eax
jmp 0x582a80
lea edi, [ebx + 0x3c]
call fcn.004610d0
mov dword [esp + 0x2c8], ebx
mov dword [esp + 0x2cc], 0
mov dword [esp + 0x2d0], 0
add esp, 0x2b8
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x615568]
mov dword [eax], ecx
mov dword [esp + 0x2c8], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], eax
add esp, 0x2b8
ret
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], ecx
mov dword [esp + 0x2d0], edx
add esp, 0x2b8
ret
call fcn.0045fcc0
jmp fcn.005815d0