Function at 0x59e9e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x35
push 0
push 0
dec ecx
jne 0x59e9e8
push ecx
push ebx
push esi
push edi
mov ebx, 0x5c3868
mov esi, 0x5c3884
xor eax, eax
push ebp
push 0x59fe0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x5c391c], 1
mov dl, 1
mov eax, dword [0x4323d4]
call fcn.0043e344
mov dword [0x5c386c], eax
mov edx, 0x59fe2c
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
mov edx, dword [ebx]
mov dword [eax + 0xf4], edx
mov dword [eax + 0xf0], 0x595d34
mov edx, 0x59fe58
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.0059e0e8
mov edx, 0x59fe88
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [0x5c38d9], 0
mov byte [0x5c38da], 0
mov dword [0x5c3900], 8
mov dword [0x5c3904], 5
lea edx, [ebp - 0x14]
mov eax, 8
call fcn.00595ae0
mov edx, dword [ebp - 0x14]
mov eax, 0x5c38f4
mov ecx, 0x59febc
call fcn.00407cc8
mov edx, 0x59fed0
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.005a33fc
mov edx, 0x59fef0
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x18]
mov eax, 8
call fcn.00595ae0
mov edx, dword [ebp - 0x18]
mov eax, 0x5c38f0
call fcn.004077f4
lea edx, [ebp - 0x1c]
mov eax, 8
call fcn.00595ae0
mov edx, dword [ebp - 0x1c]
mov eax, 0x5c38fc
mov ecx, 0x59ff14
call fcn.00407cc8
mov byte [0x5c38df], 0
mov byte [0x5c38de], 0
mov byte [0x5c38db], 0
mov byte [0x5c38dc], 0
mov byte [0x5c38dd], 0
mov edx, 0x59ff30
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.0059dd34
mov edx, 0x59ff54
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, 0x5c38c4
mov edx, 0x59ff80
call fcn.004077f4
mov eax, 0x5c3894
xor edx, edx
call fcn.004077f4
mov eax, dword [ebx]
mov eax, dword [eax + 0x53c]
xor edx, edx
call fcn.004bcaf4
mov eax, dword [ebx]
mov eax, dword [eax + 0x488]
mov edx, 0x1e
call fcn.004bc248
lea edx, [ebp - 0x24]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00416430
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00416704
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov edx, 0x59ffc8
call fcn.0041635c
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00407c08
mov eax, dword [ebp - 0x20]
call fcn.00415df4
test al, al
je 0x59ebf1
mov byte [0x5c38d9], 1
lea edx, [ebp - 0x38]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00416430
mov edx, dword [ebp - 0x34]
mov eax, 0x5c38b8
call fcn.004077f4
xor eax, eax
mov dword [0x5c38a0], eax
mov edx, 0x5c3878
mov eax, 1
call fcn.00404684
call fcn.00404624
mov dword [0x5c389c], eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x40]
mov ecx, 0x59ff14
mov edx, 0x59ffe0
call fcn.0059a790
mov edx, dword [ebp - 0x3c]
mov eax, 0x5c3870
call fcn.004077f4
mov eax, 0x5c387c
xor edx, edx
call fcn.004077f4
lea edx, [ebp - 0x48]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0041646c
mov edx, dword [ebp - 0x44]
mov eax, esi
call fcn.004077f4
lea edx, [ebp - 0x54]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0041652c
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0041646c
mov edx, dword [ebp - 0x4c]
mov eax, 0x5c3890
call fcn.004077f4
lea edx, [ebp - 0x60]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0041646c
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0041646c
mov edx, dword [ebp - 0x58]
mov eax, 0x5c388c
call fcn.004077f4
mov eax, dword [0x5c3890]
test eax, eax
je 0x59ed22
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x59ed22
mov eax, 0x5c3890
mov edx, dword [0x5c3890]
call fcn.00406c0c
test eax, eax
je 0x59ed2b
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x59ed52
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
mov edx, 0x59fff8
mov eax, dword [0x5c3890]
call fcn.0059a790
mov edx, dword [ebp - 0x64]
mov eax, 0x5c3890
call fcn.004077f4
mov eax, dword [0x5c388c]
test eax, eax
je 0x59ed76
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x59ed76
mov eax, 0x5c388c
mov edx, dword [0x5c388c]
call fcn.00406c0c
test eax, eax
je 0x59ed7f
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x59eda6
lea eax, [ebp - 0x68]
push eax
xor ecx, ecx
mov edx, 0x59fff8
mov eax, dword [0x5c388c]
call fcn.0059a790
mov edx, dword [ebp - 0x68]
mov eax, 0x5c388c
call fcn.004077f4
mov eax, dword [esi]
test eax, eax
je 0x59edc0
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x59edc0
mov eax, esi
mov edx, dword [esi]
call fcn.00406c0c
test eax, eax
je 0x59edc9
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x59edea
lea eax, [ebp - 0x6c]
push eax
xor ecx, ecx
mov edx, 0x59fff8
mov eax, dword [esi]
call fcn.0059a790
mov edx, dword [ebp - 0x6c]
mov eax, esi
call fcn.004077f4
mov eax, 0x5c3888
mov edx, dword [esi]
call fcn.004077f4
mov eax, 0x5c38c8
mov edx, dword [esi]
call fcn.004077f4
lea edx, [ebp - 0x74]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00416704
mov edx, dword [ebp - 0x70]
mov eax, 0x5c3880
call fcn.004077f4
mov edx, 0x5a0008
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.0059e33c
lea eax, [ebp - 0x78]
mov ecx, dword [0x5c3874]
mov edx, 0x5a0020
call fcn.00407cc8
mov edx, dword [ebp - 0x78]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4d8]
call fcn.004bcc0c
cmp dword [0x5c389c], 0
jne 0x59f116
mov edx, 0x5a0050
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.005998ac
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00599858
mov eax, dword [ebp - 0x7c]
call fcn.00415df4
test al, al
je 0x59f0cf
mov edx, 0x5a0090
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00599858
mov edx, dword [ebp - 0x84]
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
call fcn.0059d90c
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.00599858
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.00416704
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebx]
call fcn.004bcc0c
push 1
lea eax, [ebp - 0xa4]
push eax
mov ecx, 2
mov edx, 1
mov eax, 1
call fcn.004387fc
lea edx, [ebp - 0xa4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
call fcn.004fc64c
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 2
call fcn.004ff124
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x3ec]
call fcn.004bcc0c
mov eax, dword [ebx]
mov edi, dword [eax + 0x388]
cmp dword [edi + 0x2c0], 2
jne 0x59f0cf
lea eax, [ebp - 0xac]
push eax
mov eax, edi
mov ecx, 1
mov edx, 1
call fcn.004ff124
cmp dword [ebp - 0xac], 0
jne 0x59f0cf
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 2
call fcn.004ff124
cmp dword [ebp - 0xb0], 0
jne 0x59f0cf
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 3
call fcn.004ff124
cmp dword [ebp - 0xb4], 0
jne 0x59f0cf
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 4
call fcn.004ff124
mov eax, dword [ebp - 0xb8]
mov edx, 0x5a00bc
call fcn.00407ecc
jne 0x59f0cf
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 5
call fcn.004ff124
mov eax, dword [ebp - 0xbc]
mov edx, 0x5a00bc
call fcn.00407ecc
jne 0x59f0cf
mov dword [0x5c3904], 3
mov eax, dword [0x5c38bc]
mov edx, 0x5a00d0
call fcn.00407ecc
jne 0x59f0c8
mov dword [0x5c3904], 1
mov byte [0x5c38d9], 1
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call fcn.00599858
mov eax, dword [ebp - 0xc0]
call fcn.00415df4
test al, al
jne 0x59f116
mov eax, 1
call fcn.00406954
cmp dword [0x5c389c], 0
jle 0x59f785
mov eax, dword [0x5c3878]
mov edx, 0x5a00e4
call fcn.00407ecc
je 0x59f785
mov eax, 0x5c3870
mov edx, dword [0x5c3878]
call fcn.004077f4
mov eax, dword [0x5c3870]
call fcn.00415df4
test al, al
je 0x59f4f6
lea edx, [ebp - 0xc8]
mov eax, dword [0x5c3870]
call fcn.00416430
mov edx, dword [ebp - 0xc8]
mov eax, 0x5c38b8
call fcn.004077f4
lea edx, [ebp - 0xcc]
mov eax, dword [0x5c3870]
call fcn.0041646c
mov edx, dword [ebp - 0xcc]
mov eax, esi
call fcn.004077f4
mov eax, dword [esi]
test eax, eax
je 0x59f1b1
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x59f1b1
mov eax, esi
mov edx, dword [esi]
call fcn.00406c0c
test eax, eax
je 0x59f1ba
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x59f1e1
lea eax, [ebp - 0xd0]
push eax
xor ecx, ecx
mov edx, 0x59fff8
mov eax, dword [esi]
call fcn.0059a790
mov edx, dword [ebp - 0xd0]
mov eax, esi
call fcn.004077f4
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov edx, dword [0x5c3870]
call fcn.0059d90c
lea edx, [ebp - 0xd4]
mov eax, dword [0x5c3870]
call fcn.00416704
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebx]
call fcn.004bcc0c
lea eax, [ebp - 0xd8]
mov ecx, 0x59ffc8
mov edx, dword [0x5c3870]
call fcn.00407cc8
mov eax, dword [ebp - 0xd8]
call fcn.00415df4
test al, al
je 0x59f3c3
mov dword [0x5c3904], 3
mov eax, dword [0x5c38bc]
mov edx, 0x5a00d0
call fcn.00407ecc
jne 0x59f25f
mov dword [0x5c3904], 1
lea eax, [ebp - 0xdc]
mov ecx, 0x59ffc8
mov edx, dword [0x5c3870]
call fcn.00407cc8
mov ecx, dword [ebp - 0xdc]
mov dl, 1
mov eax, dword [0x44fad0]
call fcn.0044fe84
mov esi, eax
push 0
lea eax, [ebp - 0xe0]
push eax
mov ecx, 0x5a0108
mov edx, 0x5a012c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
mov edx, dword [ebp - 0xe0]
mov eax, 0x5c3894
call fcn.004077f4
cmp dword [0x5c3894], 0
je 0x59f310
push 0x5a0148
push dword [0x5c3894]
push 0x5a01d0
lea eax, [ebp - 0xe4]
mov edx, 3
call fcn.00407dac
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x540]
call fcn.004bcc0c
mov eax, dword [ebx]
mov eax, dword [eax + 0x488]
mov edx, 0x46
call fcn.004bc248
mov eax, dword [ebx]
mov eax, dword [eax + 0x53c]
mov dl, 1
call fcn.004bcaf4
push 0x5a01e0
lea eax, [ebp - 0xe8]
push eax
mov ecx, 0x5a01f8
mov edx, 0x5a012c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 0xe8]
mov edx, 0x5a0210
call fcn.00407ecc
jne 0x59f350
mov eax, dword [ebx]
mov eax, dword [eax + 0x560]
mov dl, 1
call fcn.004aa3f0
jmp 0x59f35f
mov eax, dword [ebx]
mov eax, dword [eax + 0x560]
xor edx, edx
call fcn.004aa3f0
push 0x5a01e0
lea eax, [ebp - 0xec]
push eax
mov ecx, 0x5a0228
mov edx, 0x5a012c
mov eax, esi
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0xec]
mov edx, 0x5a0210
call fcn.00407ecc
jne 0x59f39f
mov eax, dword [ebx]
mov eax, dword [eax + 0x568]
mov dl, 1
call fcn.004aa3f0
jmp 0x59f3ae
mov eax, dword [ebx]
mov eax, dword [eax + 0x568]
xor edx, edx
call fcn.004aa3f0
mov eax, dword [ebx]
mov eax, dword [eax + 0x560]
cmp byte [eax + 0x38], 0
je 0x59f3c3
mov byte [0x5c38d9], 1
lea edx, [ebp - 0xf4]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.00416430
lea eax, [ebp - 0xf0]
push eax
lea edx, [ebp - 0x100]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0xfc]
call fcn.00416704
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf8]
mov edx, 0x59ffc8
call fcn.0041635c
mov edx, dword [ebp - 0xf8]
pop eax
call fcn.00407c08
mov eax, dword [ebp - 0xf0]
call fcn.00415df4
test al, al
je 0x59f4f6
lea edx, [ebp - 0x108]
mov eax, dword [0x5c3870]
call fcn.00416704
mov edx, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov eax, 0x5a024c
call fcn.00597968
mov eax, dword [ebp - 0x104]
call fcn.00415df4
test al, al
je 0x59f4f6
lea edx, [ebp - 0x110]
mov eax, dword [0x5c3870]
call fcn.00416704
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x10c]
mov eax, 0x5a024c
call fcn.00597968
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2ac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
lea edx, [ebp - 0x118]
mov eax, dword [0x5c3870]
call fcn.00416704
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov eax, 0x5a024c
call fcn.00597968
mov edx, dword [ebp - 0x114]
mov eax, dword [ebx]
mov eax, dword [eax + 0x450]
call fcn.0049ed18
mov dword [0x5c38a0], 1
mov eax, dword [0x5c3870]
call fcn.00415df4
test al, al
jne 0x59f785
mov edx, 0x5a0264
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.005998ac
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x11c]
call fcn.00599858
mov eax, dword [ebp - 0x11c]
call fcn.00415df4
test al, al
je 0x59f73e
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x128]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x124]
call fcn.00599858
mov edx, dword [ebp - 0x124]
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
call fcn.0059d90c
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00599858
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.00416704
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebx]
call fcn.004bcc0c
push 1
lea eax, [ebp - 0xa4]
push eax
mov ecx, 2
mov edx, 1
mov eax, 1
call fcn.004387fc
lea edx, [ebp - 0xa4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
call fcn.004fc64c
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 2
call fcn.004ff124
mov edx, dword [ebp - 0x138]
mov eax, dword [ebx]
mov eax, dword [eax + 0x3ec]
call fcn.004bcc0c
mov eax, dword [ebx]
mov esi, dword [eax + 0x388]
cmp dword [esi + 0x2c0], 2
jne 0x59f73e
lea eax, [ebp - 0x13c]
push eax
mov eax, esi
mov ecx, 1
mov edx, 1
call fcn.004ff124
cmp dword [ebp - 0x13c], 0
jne 0x59f73e
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 2
call fcn.004ff124
cmp dword [ebp - 0x140], 0
jne 0x59f73e
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 3
call fcn.004ff124
cmp dword [ebp - 0x144], 0
jne 0x59f73e
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 4
call fcn.004ff124
mov eax, dword [ebp - 0x148]
mov edx, 0x5a00bc
call fcn.00407ecc
jne 0x59f73e
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 5
call fcn.004ff124
mov eax, dword [ebp - 0x14c]
mov edx, 0x5a00bc
call fcn.00407ecc
jne 0x59f73e
mov byte [0x5c38d9], 1
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00599858
mov eax, dword [ebp - 0x150]
call fcn.00415df4
test al, al
jne 0x59f785
mov eax, 1
call fcn.00406954
mov eax, dword [0x5c3878]
mov edx, 0x5a00e4
call fcn.00407ecc
jne 0x59f919
mov byte [0x5c38d9], 1
call fcn.005998ac
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.00599858
mov eax, dword [ebp - 0x158]
call fcn.00415df4
test al, al
je 0x59f8e1
mov dword [0x5c3904], 3
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x164]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.00599858
mov edx, dword [ebp - 0x160]
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
call fcn.0059d90c
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x16c]
call fcn.00599858
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00416704
mov edx, dword [ebp - 0x168]
mov eax, dword [ebx]
call fcn.004bcc0c
push 1
lea eax, [ebp - 0xa4]
push eax
mov ecx, 2
mov edx, 1
mov eax, 1
call fcn.004387fc
lea edx, [ebp - 0xa4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
call fcn.004fc64c
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 2
call fcn.004ff124
mov edx, dword [ebp - 0x174]
mov eax, dword [ebx]
mov eax, dword [eax + 0x3ec]
call fcn.004bcc0c
jmp 0x59f919
push 0x5a00bc
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 4
call fcn.004ff19c
push 0x5a00bc
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 1
mov edx, 5
call fcn.004ff19c
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov edx, 7
call fcn.004fc108
mov eax, dword [ebx]
mov eax, dword [eax + 0x3c0]
mov edx, dword [eax + 0x4c]
sub edx, 2
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
call fcn.004fc24c
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 0x13
xor edx, edx
call fcn.004fc58c
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 0xa
xor edx, edx
call fcn.004fc164
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 0x64
mov edx, 1
call fcn.004fc164
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 0x28
mov edx, 4
call fcn.004fc164
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 0x28
mov edx, 5
call fcn.004fc164
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov ecx, 0x16
mov edx, 6
call fcn.004fc164
push 0x5a0288
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
xor ecx, ecx
mov edx, 1
call fcn.004ff19c
push 0x5a02a8
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
xor ecx, ecx
mov edx, 2
call fcn.004ff19c
push 0x5a02d0
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
xor ecx, ecx
mov edx, 3
call fcn.004ff19c
push 0x5a02f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
xor ecx, ecx
mov edx, 4
call fcn.004ff19c
push 0x5a0310
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
xor ecx, ecx
mov edx, 5
call fcn.004ff19c
mov eax, dword [ebx]
mov esi, dword [eax + 0x388]
mov eax, esi
xor edx, edx
call fcn.004fc004
mov esi, dword [esi + 0x48]
sub esi, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov edx, 1
call fcn.004fc004
sub esi, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov edx, 4
call fcn.004fc004
sub esi, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov edx, 5
call fcn.004fc004
sub esi, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov edx, 6
call fcn.004fc004
sub esi, eax
mov dword [ebp - 0x178], esi
fild dword [ebp - 0x178]
fdiv dword [0x5a031c]
fsub dword [0x5a0320]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
call fcn.004047a0
mov esi, eax
mov ecx, esi
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov edx, 2
call fcn.004fc164
fld qword [ebp - 0x10]
call fcn.004047a0
mov ecx, esi
mov eax, dword [ebx]
mov eax, dword [eax + 0x388]
mov edx, 3
call fcn.004fc164
mov eax, dword [ebx]
mov eax, dword [eax + 0x3bc]
xor edx, edx
call fcn.004bcaf4
call fcn.0059a9a0
sub al, 1
jb 0x59fb31
jne 0x59fb43
mov eax, dword [ebx]
mov eax, dword [eax + 0x4cc]
mov edx, 0x5a0330
call fcn.004bcc0c
jmp 0x59fb43
mov eax, dword [ebx]
mov eax, dword [eax + 0x4cc]
mov edx, 0x5a0344
call fcn.004bcc0c
mov edx, 0x5a0358
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call sub.kernel32.dll_GetVersion_1
mov esi, eax
and si, 0xffff
lea edx, [ebp - 0x180]
mov eax, esi
and ax, 0xff
movzx eax, ax
call fcn.004155d4
push dword [ebp - 0x180]
push 0x5a037c
lea edx, [ebp - 0x184]
mov eax, esi
shr ax, 8
movzx eax, ax
call fcn.004155d4
push dword [ebp - 0x184]
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.00407dac
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4c8]
call fcn.004bcc0c
lea edx, [ebp - 0x188]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4c8]
call fcn.004bcbd4
mov edx, dword [ebp - 0x188]
mov eax, 0x5c38bc
call fcn.004077f4
mov eax, dword [ebx]
mov eax, dword [eax + 0x46c]
xor edx, edx
call fcn.0051a400
push 0x5a0074
push dword [0x5c38fc]
push 0
lea eax, [ebp - 0x190]
mov edx, 3
call fcn.00407dac
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x18c]
call fcn.00599858
mov esi, dword [ebp - 0x18c]
mov dword [ebp - 0x178], esi
mov eax, dword [ebp - 0x178]
call fcn.00407880
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
lea edx, [ebp - 0x198]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.00416430
lea eax, [ebp - 0x194]
push eax
lea edx, [ebp - 0x1a4]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x1a4]
lea edx, [ebp - 0x1a0]
call fcn.00416704
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x19c]
mov edx, 0x59ffc8
call fcn.0041635c
mov edx, dword [ebp - 0x19c]
pop eax
call fcn.00407c08
mov eax, dword [ebp - 0x194]
call fcn.00415df4
test al, al
je 0x59fcc0
call fcn.00596d78
push 0xff00000f
mov eax, dword [ebx]
mov esi, dword [eax + 0x4a0]
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
mov ecx, 0xffffff
call fcn.00597314
mov edx, eax
mov eax, dword [esi + 0x1b0]
call fcn.00461b98
mov edx, 0x5a038c
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x1a8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4c8]
call fcn.004bcbd4
mov eax, dword [ebp - 0x1a8]
mov edx, 0x5a03a8
call fcn.00407ecc
jne 0x59fd2d
mov eax, dword [ebx]
mov eax, dword [eax + 0x4e8]
mov dl, 1
call fcn.004877e0
lea edx, [ebp - 0x1ac]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4c8]
call fcn.004bcbd4
mov eax, dword [ebp - 0x1ac]
mov edx, 0x5a03bc
call fcn.00407ecc
jne 0x59fd61
mov eax, dword [ebx]
mov eax, dword [eax + 0x4e8]
mov dl, 1
call fcn.004877e0
mov edx, 0x5a03d0
mov eax, dword [0x5c386c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx]
mov eax, dword [eax + 0x420]
mov dl, 1
call fcn.004877e0
mov dword [0x5c38ec], 0xeaeaea
mov eax, dword [0x5c38bc]
mov edx, 0x5a03bc
call fcn.00407ecc
jne 0x59fda4
mov dword [0x5c38ec], 0xf7f6f5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59fe14
lea eax, [ebp - 0x1ac]
mov edx, 2
call fcn.004077ec
lea eax, [ebp - 0x1a4]
mov edx, 7
call fcn.004077ec
lea eax, [ebp - 0x188]
call fcn.004077e4
lea eax, [ebp - 0x184]
mov edx, 3
call fcn.004077ec
lea eax, [ebp - 0x174]
mov edx, 0x34
call fcn.004077ec
lea eax, [ebp - 0x94]
mov edx, 0x21
call fcn.004077ec
ret