Function at 0x599b48
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x49
push 0
push 0
dec ecx
jne 0x599b50
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404344
xor eax, eax
push ebp
push 0x59bce3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.00403140
mov esi, eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xccc], 0
je 0x59bc98
lea eax, [ebp - 0x1c]
call fcn.00403f10
mov eax, dword [ebp - 4]
cmp byte [eax + 0xcd0], 0
jne 0x59bc98
mov eax, dword [0x65a224]
mov byte [eax + 0xcd0], 1
mov dl, 1
mov eax, dword [0x456678]
call fcn.004567e4
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.004568c0
mov dl, 1
mov eax, dword [0x456678]
call fcn.004567e4
mov dword [ebp - 0xc], eax
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004568c0
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.00403140
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00456a04
test al, al
je 0x59bc98
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00456e10
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x59bc53
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xccc], 0
je 0x59bc98
push dword [ebp - 8]
push 0x59bcfc
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov eax, ebx
call fcn.00456a04
test al, al
je 0x59bc26
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x40]
mov edx, esi
mov eax, ebx
call fcn.00456ed8
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x59bc26
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x1c]
call fcn.00403f10
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x40]
mov eax, ebx
call fcn.00457018
cmp al, 2
jne 0x599d1c
push dword [ebp - 8]
push 0x59bcfc
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x48]
push 0x59bcfc
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.00404250
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
mov eax, 0x80000002
call fcn.00599aa4
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.00457018
cmp al, 1
jne 0x599da7
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov eax, ebx
call fcn.00457068
mov edx, dword [ebp - 0x54]
mov eax, 0x59bd08
call fcn.0040447c
test eax, eax
jg 0x599d8d
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
mov eax, ebx
call fcn.00457068
mov edx, dword [ebp - 0x5c]
mov eax, 0x59bcfc
call fcn.0040447c
test eax, eax
jle 0x599da7
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x1c]
mov eax, ebx
call fcn.00457068
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x68]
mov eax, ebx
call fcn.00457018
test al, al
jne 0x599e0d
push dword [ebp - 8]
push 0x59bcfc
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x70]
push 0x59bcfc
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
mov edx, 5
call fcn.00404250
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x1c]
mov eax, 0x80000002
call fcn.00599a00
lea edx, [ebp - 0x78]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x78]
mov eax, 0x59bd14
call fcn.0040447c
test eax, eax
jle 0x599e9f
push dword [ebp - 8]
push 0x59bcfc
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x80]
push 0x59bcfc
push 0x59bd14
lea eax, [ebp - 0x7c]
mov edx, 5
call fcn.00404250
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x1c]
mov eax, 0x80000002
call fcn.00599a00
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59bd38
call fcn.004041dc
mov edx, dword [ebp - 0x84]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
lea eax, [ebp - 0x1c]
call fcn.00403f10
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x1c]
call fcn.00408f80
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
cmp dword [ebp - 0x1c], 0
je 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bd50
call fcn.0040447c
test eax, eax
jg 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bd70
call fcn.0040447c
test eax, eax
jg 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bd7c
call fcn.0040447c
test eax, eax
jg 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bd90
call fcn.0040447c
test eax, eax
jg 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bda0
call fcn.0040447c
test eax, eax
jg 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bdb4
call fcn.0040447c
test eax, eax
jg 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bdc4
call fcn.0040447c
test eax, eax
jg 0x599fad
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bdd4
call fcn.0040447c
test eax, eax
jg 0x599fad
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bde4
call fcn.0040447c
test eax, eax
jg 0x599fad
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bdf4
call fcn.0040447c
test eax, eax
jg 0x599fad
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be04
call fcn.0040447c
test eax, eax
jg 0x599fad
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be10
call fcn.0040447c
test eax, eax
jle 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bd08
call fcn.0040447c
test eax, eax
je 0x59bc1a
push 0
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be20
mov eax, dword [0x65a238]
call fcn.0050afe0
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be2c
call fcn.0040447c
test eax, eax
jle 0x59a025
push 0
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be2c
mov eax, dword [0x65a238]
call fcn.0050af8c
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be38
call fcn.0040447c
test eax, eax
jle 0x59a064
push 0
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be38
mov eax, dword [0x65a238]
call fcn.0050af8c
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x1c]
mov edx, 0x59be38
call fcn.004041dc
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be44
call fcn.0040447c
test eax, eax
jg 0x59a086
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be50
call fcn.0040447c
test eax, eax
jle 0x59a0d8
push 0
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be50
mov eax, dword [0x65a238]
call fcn.0050afe0
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
push 0
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be44
mov eax, dword [0x65a238]
call fcn.0050afe0
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be5c
call fcn.0040447c
test eax, eax
jne 0x59a1cc
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be68
call fcn.0040447c
test eax, eax
jle 0x59a14a
push 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be68
mov eax, dword [0x65a238]
call fcn.0050af8c
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
lea edx, [ebp - 0xa4]
xor eax, eax
call fcn.0059743c
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
call fcn.004041dc
jmp 0x59a1cc
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be80
call fcn.0040447c
test eax, eax
jle 0x59a1a4
push 0
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be80
mov eax, dword [0x65a238]
call fcn.0050af8c
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
lea edx, [ebp - 0xac]
xor eax, eax
call fcn.0059743c
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
call fcn.004041dc
jmp 0x59a1cc
lea edx, [ebp - 0xb0]
xor eax, eax
call fcn.0059743c
push dword [ebp - 0xb0]
push 0x59bcfc
push dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404250
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be94
mov eax, dword [0x65a238]
call fcn.0050b428
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be94
mov eax, dword [0x65a238]
call fcn.0050b3d8
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be94
mov eax, dword [0x65a238]
call fcn.0050b3d8
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be94
mov eax, dword [0x65a238]
call fcn.0050b3d8
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59be94
mov eax, dword [0x65a238]
call fcn.0050b3d8
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59bea0
mov eax, dword [0x65a238]
call fcn.0050b3d8
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x1c]
call fcn.00403fa8
mov eax, 5
call fcn.00402dd8
dec eax
jne 0x59ac69
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2d0]
cmp dword [eax + 0xc], 0
jne 0x59ac69
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xccc]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59ac69
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov edx, 0x59beac
call fcn.004ef580
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov edx, dword [ebp - 0x1c]
call fcn.004ef5e4
lea edx, [ebp - 0xd0]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00408fbc
mov edx, dword [ebp - 0xd0]
mov eax, 0x59bec0
call fcn.0040447c
test eax, eax
jle 0x59a4de
lea edx, [ebp - 0xd4]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.004f3300
mov edx, dword [ebp - 0xd4]
mov eax, 0x59bed0
call fcn.0040447c
test eax, eax
jle 0x59a4de
lea eax, [ebp - 0xd8]
mov ecx, 0x59bf1c
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0xd8]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6450fc]
mov eax, dword [eax]
cmp byte [eax + 0x311], 0
je 0x59a494
push 0x40024
lea eax, [ebp - 0xdc]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59bf4c
call fcn.004041dc
mov eax, dword [ebp - 0xdc]
call fcn.00404354
mov edx, eax
mov ecx, 0x59bf5c
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.004540b8
cmp eax, 6
jne 0x59a44b
lea ecx, [ebp - 0xe0]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xc]
call fcn.00456c10
test al, al
je 0x59a4de
mov eax, 0x59bf6c
call fcn.0045f240
jmp 0x59a4de
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59a4de
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
call fcn.00413a78
jmp 0x59a4de
lea edx, [ebp - 0xec]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
lea eax, [ebp - 0xec]
mov edx, 0x59bf80
call fcn.00404198
mov edx, dword [ebp - 0xec]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
lea edx, [ebp - 0xf0]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.004f32b8
mov edx, dword [ebp - 0xf0]
mov eax, 0x59bfa8
call fcn.0040447c
test eax, eax
jle 0x59a655
lea eax, [ebp - 0xf4]
mov ecx, 0x59bfd4
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0xf4]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6450fc]
mov eax, dword [eax]
cmp byte [eax + 0x311], 0
je 0x59a60b
push 0x40024
lea eax, [ebp - 0xf8]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59bf4c
call fcn.004041dc
mov eax, dword [ebp - 0xf8]
call fcn.00404354
mov edx, eax
mov ecx, 0x59bf5c
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.004540b8
cmp eax, 6
jne 0x59a5c2
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xc]
call fcn.00456c10
test al, al
je 0x59a655
mov eax, 0x59bf6c
call fcn.0045f240
jmp 0x59a655
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59a655
lea edx, [ebp - 0x104]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
call fcn.00413a78
jmp 0x59a655
lea edx, [ebp - 0x108]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
lea eax, [ebp - 0x108]
mov edx, 0x59bf80
call fcn.00404198
mov edx, dword [ebp - 0x108]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
lea edx, [ebp - 0x10c]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00408fbc
mov edx, dword [ebp - 0x10c]
mov eax, 0x59bec0
call fcn.0040447c
test eax, eax
jle 0x59a8da
lea edx, [ebp - 0x110]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00408fbc
mov edx, dword [ebp - 0x110]
mov eax, 0x59c000
call fcn.0040447c
test eax, eax
jne 0x59a8da
lea edx, [ebp - 0x114]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00408fbc
mov edx, dword [ebp - 0x114]
mov eax, 0x59c014
call fcn.0040447c
test eax, eax
jne 0x59a8da
lea edx, [ebp - 0x118]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00408fbc
mov edx, dword [ebp - 0x118]
mov eax, 0x59c02c
call fcn.0040447c
test eax, eax
jne 0x59a8da
lea edx, [ebp - 0x11c]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00408fbc
mov edx, dword [ebp - 0x11c]
mov eax, 0x59c040
call fcn.0040447c
test eax, eax
jne 0x59a8da
lea edx, [ebp - 0x120]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.004f32b8
mov edx, dword [ebp - 0x120]
mov eax, 0x59c054
call fcn.0040447c
test eax, eax
jle 0x59a8da
lea eax, [ebp - 0x124]
mov ecx, 0x59c09c
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x124]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6450fc]
mov eax, dword [eax]
cmp byte [eax + 0x311], 0
je 0x59a890
push 0x40024
lea eax, [ebp - 0x128]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59bf4c
call fcn.004041dc
mov eax, dword [ebp - 0x128]
call fcn.00404354
mov edx, eax
mov ecx, 0x59bf5c
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.004540b8
cmp eax, 6
jne 0x59a847
lea ecx, [ebp - 0x12c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0xc]
call fcn.00456c10
test al, al
je 0x59a8da
mov eax, 0x59bf6c
call fcn.0045f240
jmp 0x59a8da
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59a8da
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
call fcn.00413a78
jmp 0x59a8da
lea edx, [ebp - 0x138]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
lea eax, [ebp - 0x138]
mov edx, 0x59bf80
call fcn.00404198
mov edx, dword [ebp - 0x138]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
lea edx, [ebp - 0x13c]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.004f32b8
mov edx, dword [ebp - 0x13c]
mov eax, 0x59c0c8
call fcn.0040447c
test eax, eax
jle 0x59aa39
lea edx, [ebp - 0x140]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
lea eax, [ebp - 0x140]
mov edx, 0x59c100
call fcn.00404198
mov edx, dword [ebp - 0x140]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6450fc]
mov eax, dword [eax]
cmp byte [eax + 0x311], 0
je 0x59a9ef
push 0x40024
lea ecx, [ebp - 0x148]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
push dword [ebp - 0x148]
push 0x59c138
push dword [ebp - 0x1c]
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404250
mov eax, dword [ebp - 0x144]
call fcn.00404354
mov edx, eax
mov ecx, 0x59bf5c
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.004540b8
cmp eax, 6
jne 0x59aa39
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0xc]
call fcn.00456c10
test al, al
je 0x59aa39
mov eax, 0x59bf6c
call fcn.0045f240
jmp 0x59aa39
lea edx, [ebp - 0x150]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
lea eax, [ebp - 0x150]
mov edx, 0x59bf80
call fcn.00404198
mov edx, dword [ebp - 0x150]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.004ef548
test eax, eax
jne 0x59ac69
lea ecx, [ebp - 0x154]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
cmp dword [ebp - 0x154], 0
je 0x59ac69
lea ecx, [ebp - 0x158]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
mov edx, dword [ebp - 0x158]
mov eax, 0x59bd08
call fcn.0040447c
test eax, eax
jle 0x59ac69
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c170
call fcn.0040447c
test eax, eax
jne 0x59ac69
lea ecx, [ebp - 0x15c]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
mov edx, dword [ebp - 0x15c]
mov eax, 0x59bec0
call fcn.0040447c
test eax, eax
jle 0x59ac69
lea ecx, [ebp - 0x160]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
mov edx, dword [ebp - 0x160]
mov eax, 0x59c184
call fcn.0040447c
test eax, eax
jne 0x59ac69
lea ecx, [ebp - 0x168]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
push dword [ebp - 0x168]
push 0x59c194
push dword [ebp - 0x1c]
lea eax, [ebp - 0x164]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x164]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6450fc]
mov eax, dword [eax]
cmp byte [eax + 0x311], 0
je 0x59ac1f
push 0x40024
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59c1b4
call fcn.004041dc
mov eax, dword [ebp - 0x16c]
call fcn.00404354
mov edx, eax
mov ecx, 0x59bf5c
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.004540b8
cmp eax, 6
jne 0x59abd6
lea ecx, [ebp - 0x170]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0xc]
call fcn.00456c10
test al, al
je 0x59ac69
mov eax, 0x59bf6c
call fcn.0045f240
jmp 0x59ac69
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59ac69
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
call fcn.00413a78
jmp 0x59ac69
lea edx, [ebp - 0x17c]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
lea eax, [ebp - 0x17c]
mov edx, 0x59c1d4
call fcn.00404198
mov edx, dword [ebp - 0x17c]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c1fc
call fcn.0040447c
test eax, eax
jle 0x59acb3
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59acb3
lea eax, [ebp - 0x180]
mov ecx, 0x59c218
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x180]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c234
call fcn.0040447c
test eax, eax
jle 0x59acfd
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59acfd
lea eax, [ebp - 0x184]
mov ecx, 0x59c244
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x184]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c264
call fcn.0040447c
test eax, eax
jle 0x59ad47
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59ad47
lea eax, [ebp - 0x188]
mov ecx, 0x59c278
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x188]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c298
call fcn.0040447c
test eax, eax
jle 0x59ad91
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59ad91
lea eax, [ebp - 0x18c]
mov ecx, 0x59c2a8
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x18c]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c2c0
call fcn.0040447c
test eax, eax
jle 0x59addb
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59addb
lea eax, [ebp - 0x190]
mov ecx, 0x59c2d4
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x190]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
lea edx, [ebp - 0x194]
xor eax, eax
call fcn.0059743c
lea eax, [ebp - 0x194]
mov edx, 0x59c2f0
call fcn.00404198
mov eax, dword [ebp - 0x194]
mov edx, dword [ebp - 0x1c]
call fcn.0040447c
test eax, eax
jle 0x59ae39
lea eax, [ebp - 0x198]
mov ecx, 0x59c30c
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x198]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x59be04
call fcn.0040447c
test eax, eax
jle 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bea0
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c32c
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c338
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c344
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c354
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bd08
call fcn.0040447c
test eax, eax
jle 0x59b356
lea edx, [ebp - 0x19c]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xccc]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59b356
mov eax, dword [ebp - 0x1c]
call fcn.004097a4
test al, al
jne 0x59b16b
mov dl, 1
mov eax, dword [0x4111e4]
call fcn.00403140
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x1a4]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00454428
mov eax, dword [ebp - 0x1a4]
lea edx, [ebp - 0x1a0]
call fcn.00409adc
lea eax, [ebp - 0x1a0]
mov edx, 0x59c364
call fcn.00404198
mov eax, dword [ebp - 0x1a0]
call fcn.004097a4
test al, al
je 0x59af97
lea edx, [ebp - 0x1ac]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00454428
mov eax, dword [ebp - 0x1ac]
lea edx, [ebp - 0x1a8]
call fcn.00409adc
lea eax, [ebp - 0x1a8]
mov edx, 0x59c364
call fcn.00404198
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x58]
lea edx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1c]
call fcn.0040447c
test eax, eax
jne 0x59b122
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59b013
push dword [ebp - 0x1c]
push 0x59c37c
lea ecx, [ebp - 0x1b8]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x1b4]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
jmp 0x59b02e
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
mov edx, 0x59c398
call fcn.00413a78
mov eax, dword [0x6450fc]
mov eax, dword [eax]
cmp byte [eax + 0x311], 0
je 0x59b0d6
push 0x40024
lea ecx, [ebp - 0x1c0]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
push dword [ebp - 0x1c0]
push 0x59c3f0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x1bc]
mov edx, 3
call fcn.00404250
mov eax, dword [ebp - 0x1bc]
call fcn.00404354
mov edx, eax
mov ecx, 0x59bf5c
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.004540b8
cmp eax, 6
jne 0x59b0c9
lea ecx, [ebp - 0x1c4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0xc]
call fcn.00456c10
test al, al
je 0x59b122
mov eax, 0x59bf6c
call fcn.0045f240
jmp 0x59b122
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
call fcn.00413a78
jmp 0x59b122
push dword [ebp - 0x1c]
push 0x59c414
lea ecx, [ebp - 0x1cc]
mov edx, 0x59c124
mov eax, ebx
call fcn.00457068
push dword [ebp - 0x1cc]
lea eax, [ebp - 0x1c8]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x1c8]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
lea edx, [ebp - 0x1d4]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00454428
mov eax, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
call fcn.00409adc
lea eax, [ebp - 0x1d0]
mov edx, 0x59c364
call fcn.00404198
mov edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x24]
call fcn.00403170
mov eax, dword [ebp - 0x1c]
call fcn.004097a4
test al, al
je 0x59b356
mov eax, dword [ebp - 0x1c]
call fcn.0040985c
test al, 2
je 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c444
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c458
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c468
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c478
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c48c
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c4a0
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c4b4
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c4cc
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c4e0
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c4f0
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c50c
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c524
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c538
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c54c
call fcn.0040447c
test eax, eax
jne 0x59b356
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c560
call fcn.0040447c
test eax, eax
jne 0x59b356
lea edx, [ebp - 0x1dc]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
mov eax, dword [ebp - 0x1dc]
lea edx, [ebp - 0x1d8]
call fcn.00408f80
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xccc]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59b356
lea edx, [ebp - 0x1e0]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
lea eax, [ebp - 0x1e0]
mov edx, 0x59c574
call fcn.00404198
mov edx, dword [ebp - 0x1e0]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
lea edx, [ebp - 0x1e4]
xor eax, eax
call fcn.0059743c
mov eax, dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x1c]
call fcn.0040447c
test eax, eax
jg 0x59b39b
lea edx, [ebp - 0x1e8]
mov eax, dword [ebp - 0x1c]
call fcn.00408fbc
mov edx, dword [ebp - 0x1e8]
mov eax, 0x59c5a4
call fcn.0040447c
test eax, eax
jle 0x59b6be
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c5b8
call fcn.0040447c
test eax, eax
jne 0x59b6be
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c5cc
call fcn.0040447c
test eax, eax
jne 0x59b6be
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59bd08
mov eax, dword [0x65a238]
call fcn.0050afe0
lea eax, [ebp - 0x18]
mov edx, 0x59c5dc
call fcn.00404198
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59bd08
mov eax, dword [0x65a238]
call fcn.0050afe0
lea eax, [ebp - 0x20]
mov edx, 0x59c5ec
call fcn.00404198
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
lea edx, [ebp - 0x1ec]
mov eax, 1
call fcn.0059743c
push dword [ebp - 0x1ec]
push 0x59bcfc
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x28]
mov eax, 0x59bdd4
call fcn.0040447c
test eax, eax
jne 0x59b53c
mov edx, dword [ebp - 0x28]
mov eax, 0x59c5fc
call fcn.0040447c
test eax, eax
jne 0x59b53c
mov edx, dword [ebp - 0x28]
mov eax, 0x59c610
call fcn.0040447c
test eax, eax
jne 0x59b53c
mov edx, dword [ebp - 0x28]
mov eax, 0x59c620
call fcn.0040447c
test eax, eax
jne 0x59b53c
mov edx, dword [ebp - 0x28]
mov eax, 0x59bdc4
call fcn.0040447c
test eax, eax
jne 0x59b53c
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bde4
call fcn.0040447c
test eax, eax
jle 0x59b53c
push 0
lea eax, [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, 0x59bd08
mov eax, dword [0x65a238]
call fcn.0050afe0
mov edx, dword [ebp - 0x1f0]
lea eax, [ebp - 0x28]
call fcn.00403fa8
lea eax, [ebp - 0x28]
mov edx, 0x59c5dc
call fcn.00404198
mov eax, dword [ebp - 0x1c]
call fcn.004097a4
test al, al
jne 0x59b53c
mov eax, dword [ebp - 0x28]
call fcn.004097a4
test al, al
je 0x59b53c
lea eax, [ebp - 0x1f4]
mov ecx, 0x59c62c
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x1f4]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [ebp - 0x20]
call fcn.004097a4
test al, al
je 0x59b6be
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59b585
lea eax, [ebp - 0x1f8]
mov ecx, 0x59c648
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x1f8]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59b5be
lea eax, [ebp - 0x1fc]
mov ecx, 0x59c668
mov edx, dword [ebp - 0x18]
call fcn.004041dc
mov edx, dword [ebp - 0x1fc]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6456e0]
cmp byte [eax], 0
je 0x59b5f7
lea eax, [ebp - 0x200]
mov ecx, 0x59c688
mov edx, dword [ebp - 0x20]
call fcn.004041dc
mov edx, dword [ebp - 0x200]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
mov edx, 0x59c6a8
call fcn.00413a78
push 4
lea eax, [ebp - 0x204]
mov ecx, 0x59c6e4
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov eax, dword [ebp - 0x204]
call fcn.00404354
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404354
push eax
call sub.kernel32.dll_MoveFileExA
push 4
lea eax, [ebp - 0x208]
mov ecx, 0x59c6e4
mov edx, dword [ebp - 0x18]
call fcn.004041dc
mov eax, dword [ebp - 0x208]
call fcn.00404354
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404354
push eax
call sub.kernel32.dll_MoveFileExA
push 4
lea eax, [ebp - 0x20c]
mov ecx, 0x59c6e4
mov edx, dword [ebp - 0x20]
call fcn.004041dc
mov eax, dword [ebp - 0x20c]
call fcn.00404354
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404354
push eax
call sub.kernel32.dll_MoveFileExA
lea ecx, [ebp - 0x210]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0xc]
call fcn.00456c10
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
cmp dword [ebp - 0x214], 0
je 0x59b9b9
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bde4
call fcn.0040447c
test eax, eax
jne 0x59b9b9
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c6f8
call fcn.0040447c
test eax, eax
jne 0x59b9b9
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c70c
call fcn.0040447c
test eax, eax
jne 0x59b9b9
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bd08
call fcn.0040447c
test eax, eax
jle 0x59b9b9
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xccc]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
je 0x59b767
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c724
call fcn.0040447c
test eax, eax
jle 0x59b9b9
mov eax, dword [0x6450fc]
mov eax, dword [eax]
cmp byte [eax + 0x311], 0
jne 0x59b7c6
mov eax, dword [0x6456c8]
mov eax, dword [eax]
call fcn.0061b8c8
test al, al
jne 0x59b7c6
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 0x1c]
call fcn.00409adc
lea eax, [ebp - 0x21c]
mov edx, 0x59c738
call fcn.00404198
mov edx, dword [ebp - 0x21c]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
jmp 0x59bc98
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x430]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59b827
push 0x59c774
push dword [ebp - 0x1c]
push 0x59be5c
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
mov edx, 4
call fcn.00404250
mov edx, dword [ebp - 0x220]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x430]
call fcn.00413a78
mov eax, dword [ebp - 4]
cmp dword [eax + 0xccc], 0
je 0x59b9b9
push 0x59c784
push dword [ebp - 0x1c]
push 0x59c7a0
lea eax, [ebp - 0x228]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x228]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov eax, dword [0x6450fc]
mov eax, dword [eax]
cmp byte [eax + 0x311], 0
jne 0x59b894
mov eax, dword [0x6456c8]
mov eax, dword [eax]
call fcn.0061b8c8
test al, al
je 0x59b96f
mov eax, 3
call fcn.00402dd8
dec eax
jne 0x59b9b9
push 0x40024
lea eax, [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x59c7c8
call fcn.004041dc
mov eax, dword [ebp - 0x22c]
call fcn.00404354
mov edx, eax
mov ecx, 0x59bf5c
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.004540b8
cmp eax, 6
jne 0x59b9b9
mov eax, dword [ebp - 4]
cmp dword [eax + 0xccc], 0
je 0x59b926
lea ecx, [ebp - 0x230]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0xc]
call fcn.00456c10
test al, al
je 0x59b9b9
mov eax, 0x59bf6c
call fcn.0045f240
jmp 0x59b9b9
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59b9b9
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcd4]
call fcn.00413a78
jmp 0x59b9b9
lea edx, [ebp - 0x23c]
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x2c8]
call fcn.00409c00
lea eax, [ebp - 0x23c]
mov edx, 0x59bf80
call fcn.00404198
mov edx, dword [ebp - 0x23c]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x59bdd4
call fcn.0040447c
test eax, eax
jle 0x59ba28
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 0x1c]
call fcn.00409c00
mov edx, dword [ebp - 0x240]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xccc]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x59ba28
push 0x59c7f4
push dword [ebp - 0x1c]
push 0x59c80c
lea eax, [ebp - 0x244]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x244]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c83c
call fcn.0040447c
test eax, eax
jg 0x59ba70
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c854
call fcn.0040447c
test eax, eax
jg 0x59ba70
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c86c
call fcn.0040447c
test eax, eax
jg 0x59ba70
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c888
call fcn.0040447c
test eax, eax
jle 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c8a8
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c8b8
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c8cc
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c8e4
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c8f8
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c914
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c934
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c944
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c960
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c974
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c998
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c9b4
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c9cc
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c9e0
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59c9f4
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59ca0c
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59ca28
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59ca40
call fcn.0040447c
test eax, eax
jne 0x59bc1a
mov edx, dword [ebp - 0x1c]
mov eax, 0x59ca68
call fcn.0040447c
test eax, eax
jne 0x59bc1a
lea eax, [ebp - 0x248]
mov ecx, 0x59ca7c
mov edx, dword [ebp - 0x1c]
call fcn.004041dc
mov edx, dword [ebp - 0x248]
mov eax, dword [0x65a224]
mov eax, dword [eax + 0x2ec]
mov eax, dword [eax + 0x208]
call fcn.00413a78
inc dword [ebp - 0x2c]
dec dword [ebp - 0x34]
jne 0x599cae
mov eax, ebx
call fcn.00403170
mov dl, 1
mov eax, dword [0x456678]
call fcn.004567e4
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.004568c0
inc dword [ebp - 0x14]
dec dword [ebp - 0x30]
jne 0x599c39
mov eax, dword [0x6456c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
mov edx, 0x59beac
call fcn.004ef580
mov eax, dword [ebp - 0xc]
call fcn.00403170
mov eax, dword [ebp - 0x10]
call fcn.00403170
mov eax, ebx
call fcn.00403170
mov eax, esi
call fcn.00403170
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
mov dl, 1
call fcn.0045a094
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59bcea
lea eax, [ebp - 0x248]
mov edx, 0x64
call fcn.00403f34
lea eax, [ebp - 0xb8]
mov edx, 0x21
call fcn.00403f34
lea eax, [ebp - 0x28]
call fcn.00403f10
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403f34
lea eax, [ebp - 8]
call fcn.00403f10
ret