Function at 0x4a6170
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x36
push 0
push 0
dec ecx
jne 0x4a6178
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4a70f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x360]
mov edx, 0x1d4c0
call fcn.00431a38
mov dl, 1
mov eax, dword [0x413e4c]
call fcn.004039d4
mov dword [ebp - 0x40], eax
mov dl, 1
mov eax, dword [0x413e4c]
call fcn.004039d4
mov dword [ebp - 0x38], eax
mov edx, 0x4a7110
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.0040b468
fstp qword [ebp - 0x58]
wait
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov edx, dword [0x4b363c]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
call fcn.0040c068
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x3b0]
mov eax, dword [eax + 0x250]
xor edx, edx
call fcn.004a3390
push eax
lea eax, [ebp - 0x7c]
mov ecx, 0x4a7124
mov edx, dword [ebp - 0xc]
call fcn.00404c14
mov edx, dword [ebp - 0x7c]
pop eax
call fcn.004a32ec
lea eax, [ebp - 0x80]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov byte [ebp - 0x49], 0
mov dl, 1
mov eax, dword [0x413e4c]
call fcn.004039d4
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov eax, 0x4a715c
call fcn.004a4928
cmp byte [0x4b85bc], 1
jne 0x4a628c
lea eax, [ebp - 0x84]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov bl, 1
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4a6306
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a6306
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x88]
mov eax, 0x4a7178
call fcn.00404f0c
test eax, eax
jg 0x4a62fc
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x8c]
mov eax, 0x4a7190
call fcn.00404f0c
test eax, eax
jle 0x4a62fe
xor ebx, ebx
inc dword [ebp - 0x28]
dec dword [ebp - 0x50]
jne 0x4a62b2
cmp bl, 1
jne 0x4a6fe0
mov edx, 0x4a71ac
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x90]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov dl, 1
mov eax, dword [0x413e4c]
call fcn.004039d4
mov ebx, eax
mov eax, 0x4a71c4
call fcn.004093fc
test al, al
je 0x4a636a
mov ecx, ebx
xor edx, edx
mov eax, 0x4a71d8
call fcn.004a5d84
mov eax, 0x4a71ec
call fcn.004093fc
test al, al
je 0x4a6386
mov ecx, ebx
xor edx, edx
mov eax, 0x4a7210
call fcn.004a5d84
mov dl, 1
mov eax, dword [0x413e4c]
call fcn.004039d4
mov dword [ebp - 0x2c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a63f6
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x94]
mov eax, 0x4a7234
call fcn.00404f0c
test eax, eax
jle 0x4a63ee
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x28]
dec dword [ebp - 0x50]
jne 0x4a63ac
mov eax, 0x4b8598
mov edx, 0x4a7244
call fcn.00404958
mov eax, 0x4b859c
mov edx, 0x4a725c
call fcn.00404958
mov eax, 0x4b85a0
mov edx, 0x4a7268
call fcn.00404958
mov eax, 0x4b85a4
mov edx, 0x4a727c
call fcn.00404958
push dword [0x4b8580]
push dword [0x4b855c]
push 0x4a7298
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00404c88
mov eax, dword [ebp - 0x9c]
call fcn.004a5cac
test eax, eax
jle 0x4a64b1
push 1
push dword [0x4b8580]
push 0x4a72a4
push dword [0x4b855c]
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.00404c88
mov eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
mov ecx, dword [0x4b855c]
mov edx, dword [0x4b8580]
call fcn.00404c14
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
pop edx
call fcn.004a59d4
mov byte [0x4b857c], 1
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
mov dl, 1
call fcn.0048c334
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
mov edx, dword [0x4b8598]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [0x4b859c]
call fcn.00409034
mov edx, eax
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
add eax, 0xdc
mov edx, dword [0x4b85a0]
call fcn.00404958
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
add eax, 0xd0
mov edx, dword [0x4b85a4]
call fcn.00404958
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
mov edx, dword [eax]
call dword [edx + 0x94]
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
jne 0x4a6573
mov ecx, 0x350
mov edx, 0x4a72b4
mov eax, 0x4a7338
call fcn.00404830
cmp byte [ebp - 0x49], 0
jne 0x4a6fd8
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
mov edx, dword [eax]
call dword [edx + 0x5c]
cmp al, 1
jne 0x4a6fd8
mov edx, 0x4a7354
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.0040b468
fstp qword [ebp - 0x60]
wait
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov edx, dword [0x4b363c]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
call fcn.0040c068
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x3b0]
mov eax, dword [eax + 0x250]
xor edx, edx
call fcn.004a3390
push eax
lea eax, [ebp - 0xa8]
mov ecx, 0x4a7374
mov edx, dword [ebp - 0x10]
call fcn.00404c14
mov edx, dword [ebp - 0xa8]
pop eax
call fcn.004a32ec
lea eax, [ebp - 0xac]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov byte [ebp - 0x49], 1
cmp byte [0x4b85bc], 1
jne 0x4a664e
lea eax, [ebp - 0xb0]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
push dword [0x4b8580]
push 0x4a72a4
push dword [0x4b855c]
push 0x4a7298
lea eax, [ebp - 0xb4]
mov edx, 4
call fcn.00404c88
mov eax, dword [ebp - 0xb4]
call fcn.004a5cac
test eax, eax
jg 0x4a6693
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4a6fd8
mov edx, 0x4a7398
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xb8]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
cmp byte [0x4b85bc], 1
jne 0x4a66f1
lea eax, [ebp - 0xbc]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov dl, 1
mov eax, dword [0x413e4c]
call fcn.004039d4
mov dword [ebp - 0x24], eax
push dword [0x4b8580]
push 0x4a72a4
push dword [0x4b855c]
push 0x4a7298
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.00404c88
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x24]
xor edx, edx
call fcn.004a5878
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0xc8]
call fcn.00408ef8
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
mov edx, 0x4a73b8
call fcn.00404c14
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp byte [0x4b85bc], 1
jne 0x4a679a
lea eax, [ebp - 0xcc]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a69ec
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0xd4]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x4a73cc
call fcn.00404c14
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xd8]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
cmp byte [0x4b85bc], 1
jne 0x4a683c
lea eax, [ebp - 0xdc]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea ecx, [ebp - 0xe0]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xe0]
mov eax, 0x4a73e8
call fcn.00404f0c
test eax, eax
jle 0x4a69e0
push 0
lea ecx, [ebp - 0xec]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.004a5804
push dword [ebp - 0xe8]
push 0x4a73f8
push dword [0x4b8594]
push 0x4a7404
push dword [0x4b855c]
push 0x4a73e8
lea eax, [ebp - 0xe4]
mov edx, 6
call fcn.00404c88
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xf0]
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
pop ecx
call fcn.0048a27c
call fcn.0040b408
fstp qword [ebp - 0x68]
wait
push dword [ebp - 0x64]
push dword [ebp - 0x68]
mov edx, dword [0x4b3454]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
call fcn.0040c068
lea ecx, [ebp - 0xf8]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xf8]
lea edx, [ebp - 0xf4]
call fcn.0040973c
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x14]
call fcn.00404f0c
test eax, eax
jne 0x4a69e0
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ebx
mov eax, dword [ebp - 0x100]
call fcn.00404dc8
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
push dword [0x4b8580]
push dword [0x4b855c]
push 0x4a7298
lea ecx, [ebp - 0x10c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040973c
push dword [ebp - 0x108]
lea eax, [ebp - 0x104]
mov edx, 4
call fcn.00404c88
mov ebx, dword [ebp - 0x104]
mov dword [ebp - 0x100], ebx
mov eax, dword [ebp - 0x100]
call fcn.00404dc8
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
inc dword [ebp - 0x28]
dec dword [ebp - 0x50]
jne 0x4a67b6
lea eax, [ebp - 0x24]
call fcn.0040f040
cmp byte [0x4b85bc], 1
jne 0x4a6a65
mov edx, 0x4a7410
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x114]
call fcn.00408ef8
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
mov edx, 0x4a7440
call fcn.00404c14
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x118]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a6cf5
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x11c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x11c]
mov eax, 0x4a73e8
call fcn.00404f0c
test eax, eax
jle 0x4a6ce9
lea ecx, [ebp - 0x128]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x124]
call fcn.004096b4
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov edx, 0x4a7454
call fcn.00404c14
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x130]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x12c]
mov edx, 0x4a7468
call fcn.00404c14
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x134]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea ecx, [ebp - 0x13c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004096b4
lea eax, [ebp - 0x138]
mov edx, 0x4a7488
call fcn.00404bd0
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x74]
push 0
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004a5804
push dword [ebp - 0x144]
push 0x4a73f8
push dword [0x4b8594]
push 0x4a7404
push dword [0x4b855c]
push 0x4a73e8
lea eax, [ebp - 0x140]
mov edx, 6
call fcn.00404c88
mov eax, dword [ebp - 0x140]
push eax
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x14c]
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
pop ecx
call fcn.0048a27c
call fcn.0040b408
fstp qword [ebp - 0x70]
wait
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
mov edx, dword [0x4b3454]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
call fcn.0040c068
lea ecx, [ebp - 0x154]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0040973c
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x18]
call fcn.00404f0c
test eax, eax
jne 0x4a6c94
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x158]
mov dword [ebp - 0x100], ebx
mov eax, dword [ebp - 0x100]
call fcn.00404dc8
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x160]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.004096b4
lea eax, [ebp - 0x15c]
mov edx, 0x4a7488
call fcn.00404bd0
mov ebx, dword [ebp - 0x15c]
mov dword [ebp - 0x100], ebx
mov eax, dword [ebp - 0x100]
call fcn.00404dc8
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
inc dword [ebp - 0x28]
dec dword [ebp - 0x50]
jne 0x4a6a81
cmp byte [0x4b85bc], 1
jne 0x4a6d2f
mov edx, 0x4a749c
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x164]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a6f9e
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x168]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x168]
mov eax, 0x4a74c4
call fcn.00404f0c
test eax, eax
jle 0x4a6f92
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x16c]
mov eax, 0x4a74d0
call fcn.00404f0c
test eax, eax
jle 0x4a6f92
lea ecx, [ebp - 0x174]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.004096b4
lea eax, [ebp - 0x170]
mov edx, 0x4a7488
call fcn.00404bd0
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea ecx, [ebp - 0x17c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x17c]
lea eax, [ebp - 0x178]
mov edx, 0x4a74e0
call fcn.00404c14
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x180]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
push ebp
push 0x4a6ed2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea ecx, [ebp - 0x18c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x188]
call fcn.004a5804
push dword [ebp - 0x188]
push 0x4a73f8
push dword [0x4b8594]
push 0x4a7404
push dword [0x4b855c]
push 0x4a74d0
lea eax, [ebp - 0x184]
mov edx, 6
call fcn.00404c88
mov eax, dword [ebp - 0x184]
push eax
lea ecx, [ebp - 0x190]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x190]
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
pop ecx
call fcn.0048a27c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a6edc
lea ecx, [ebp - 0x194]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x194]
mov dword [ebp - 0x100], ebx
mov eax, dword [ebp - 0x100]
call fcn.00404dc8
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x19c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x198]
call fcn.004096b4
lea eax, [ebp - 0x198]
mov edx, 0x4a7488
call fcn.00404bd0
mov ebx, dword [ebp - 0x198]
mov dword [ebp - 0x100], ebx
mov eax, dword [ebp - 0x100]
call fcn.00404dc8
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1a4]
lea edx, [ebp - 0x1a0]
call fcn.004096b4
mov eax, dword [ebp - 0x1a0]
call fcn.004098ec
inc dword [ebp - 0x28]
dec dword [ebp - 0x50]
jne 0x4a6d4b
cmp byte [0x4b85bc], 1
jne 0x4a6fd8
mov edx, 0x4a7500
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x1a8]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 0x2c]
call fcn.0040f040
lea eax, [ebp - 0x38]
call fcn.0040f040
lea eax, [ebp - 0x48]
call fcn.0040f040
cmp byte [ebp - 0x49], 1
jne 0x4a7028
xor eax, eax
push ebp
push 0x4a701e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x384]
call fcn.0047525c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a7028
mov edx, 0x4a7524
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x1ac]
mov ecx, 0x4a7148
mov edx, dword [0x4b8580]
call fcn.00404c14
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 0x40]
call fcn.0040f040
call fcn.0040b468
fstp qword [ebp - 0x78]
wait
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov edx, dword [0x4b363c]
mov edx, dword [edx]
lea eax, [ebp - 0x1c]
call fcn.0040c068
mov eax, dword [0x4b8550]
mov eax, dword [eax + 0x3b0]
mov eax, dword [eax + 0x250]
xor edx, edx
call fcn.004a3390
push eax
lea eax, [ebp - 0x1b0]
mov ecx, 0x4a753c
mov edx, dword [ebp - 0x1c]
call fcn.00404c14
mov edx, dword [ebp - 0x1b0]
pop eax
call fcn.004a32ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a70fa
lea eax, [ebp - 0x1b0]
mov edx, 0x2c
call fcn.00404928
lea eax, [ebp - 0xfc]
mov edx, 0x21
call fcn.00404928
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404928
ret