Function at 0x592888
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x7b8], ecx
mov dword [ebp - 0x7a0], ecx
mov dword [ebp - 0x7b4], ecx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x798], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x593907
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x429], 1
mov byte [ebp - 0x791], 0
mov al, byte [0x66506c]
mov byte [ebp - 0x799], al
mov byte [ebp - 9], 0
mov byte [ebp - 0x78a], 1
mov byte [ebp - 0x789], 0
mov byte [ebp - 0x6c5], 0
lea eax, [ebp - 0x54]
call fcn.0053e73c
lea eax, [ebp - 0xb0]
call fcn.0053e6dc
lea eax, [ebp - 0x788]
mov edx, 0xc
call fcn.00658544
mov dword [ebp - 0x77c], 0x80000000
xor eax, eax
mov dword [ebp - 0x6cc], eax
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x592d27
push ebp
call fcn.005905ec
pop ecx
test al, al
jne 0x59296a
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x429], 0
jmp 0x59389c
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x164]
push eax
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0x14], eax
mov al, byte [0x66c3dd]
xor al, 1
mov byte [0x66506c], al
test al, al
je 0x5929e7
lea edx, [ebp - 0x7a0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
call fcn.004fe41c
mov edx, dword [ebp - 0x7a0]
lea ecx, [ebp - 0x798]
mov eax, 0x59391c
call fcn.0065521c
cmp byte [0x66506c], 0
je 0x5929d3
call fcn.004fe288
mov ecx, dword [ebp - 0x798]
mov edx, dword [ebp - 0x14]
call fcn.004fb54c
jmp 0x5929e7
mov eax, dword [0x6698c0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x798]
mov dl, 2
call fcn.004f6420
mov eax, dword [0x66c3a8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x66c3a8]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x25], 1
xor eax, eax
push ebp
push 0x592a23
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.005607b4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x592a92
mov byte [ebp - 0x25], 0
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, 7
jl 0x592ab3
push ebp
call fcn.00561b80
pop ecx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x592b6e
push ebp
mov eax, dword [ebp - 8]
mov eax, ebx
call fcn.00561a68
pop ecx
test al, al
jne 0x592b6e
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x460], 0
jne 0x592b64
mov eax, dword [ebp - 8]
cmp byte [eax], 1
je 0x592b55
lea eax, [ebp - 0x7a0]
push eax
lea edx, [ebp - 0x7b4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
call fcn.006542f4
mov eax, dword [ebp - 0x7b4]
mov dword [ebp - 0x7b0], eax
mov byte [ebp - 0x7ac], 0xb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [0x6692b8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x7a8], eax
mov byte [ebp - 0x7a4], 0xb
lea edx, [ebp - 0x7b0]
mov eax, 0x593938
mov ecx, 1
call fcn.006550e0
mov eax, dword [ebp - 0x7a0]
mov cx, word [0x593994]
xor edx, edx
call fcn.0061f580
cmp ax, 6
jne 0x592b64
push ebp
call fcn.00561b80
pop ecx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x592b6e
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0xffffffff
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
jne 0x592bde
lea eax, [ebp - 0xc0]
call fcn.004043d0
mov eax, dword [ebp - 0x10]
call fcn.005b4db0
cmp byte [ebp - 9], 0
je 0x592b99
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
cmp dword [ebp - 0xbc], 0
je 0x592baf
xor edx, edx
mov eax, dword [ebp - 0xbc]
call fcn.00621e10
mov eax, dword [ebp - 0x6cc]
call fcn.004028c0
cmp byte [0x66506c], 0
je 0x592bcf
call fcn.004fe288
xor edx, edx
call fcn.004fb5a4
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x429], 0
jmp 0x59389c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x168], eax
cmp byte [ebp - 0x6c5], 1
jne 0x592c56
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x168], 1
je 0x592c56
lea eax, [ebp - 0xc0]
call fcn.004043d0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x3f6], 0
je 0x592c28
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
mov byte [ebp - 9], 0
jmp 0x592c56
mov ecx, 1
mov edx, 0xc0000000
mov eax, dword [ebp - 0x2c]
call fcn.006585a4
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x164], ebx
push 0
push 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x168], 4
jne 0x592d56
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x66c3a8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x66c3a8]
mov dword [ebp - 0x24], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x164]
push eax
call sub.kernel32.dll_SetFilePointer
mov byte [ebp - 0x15], 0
xor eax, eax
push ebp
push 0x592cb6
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.005607b4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x592d56
mov byte [0x66506c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x168], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x6d0], eax
mov byte [ebp - 0x770], 0
mov byte [ebp - 0x76f], 0
xor eax, eax
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x592ea0
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x168]
cmp ebx, 5
je 0x592dab
cmp ebx, 6
jl 0x592ea0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
call fcn.005341d0
test al, al
jne 0x592ea0
mov ebx, dword [0x66c3a8]
mov eax, 0x10023
call fcn.00401e58
mov dword [0x66c3a8], eax
mov eax, dword [0x66c3a8]
add eax, 0x10000
add eax, 0x20
dec eax
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x7b8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x168]
call fcn.00533a24
mov eax, dword [ebp - 0x7b8]
call fcn.00533b4c
mov dword [ebp - 0x790], eax
cmp byte [0x66506c], 0
je 0x592e26
call fcn.004fe288
mov ecx, dword [ebp - 0x798]
mov edx, dword [ebp - 0x14]
call fcn.004fb54c
mov eax, dword [ebp - 0x790]
mov edx, dword [eax + 0x1d4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1d4]
call fcn.00625680
mov eax, dword [ebp - 0x790]
mov eax, dword [eax + 0x4d4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4d4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
call fcn.0055baf8
mov eax, dword [ebp - 0x790]
mov al, byte [eax + 0x171]
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x171], al
mov eax, dword [ebp - 0x790]
mov eax, dword [eax + 0x148]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x148], eax
mov eax, dword [0x66c3a8]
call fcn.00401fac
mov dword [0x66c3a8], ebx
jmp 0x592ea8
xor eax, eax
mov dword [ebp - 0x790], eax
call fcn.0064dfa0
mov dword [ebp - 0x6d4], eax
call fcn.0064dfa0
mov dword [ebp - 0x6d8], eax
call fcn.0064dfa0
mov dword [ebp - 0x778], eax
mov dl, 1
mov eax, dword [0x6149ac]
call fcn.00402898
mov dword [ebp - 0x76c], eax
mov eax, dword [ebp - 0x76c]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x20], edx
mov dl, 1
mov eax, dword [0x614810]
call fcn.00402898
mov dword [ebp - 0x768], eax
mov ebx, dword [0x669aec]
mov bl, byte [ebx]
mov eax, dword [0x669aec]
mov byte [eax], 0x2e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x168]
cmp eax, 3
jg 0x592f25
je 0x592f63
sub eax, 1
jb 0x592f36
je 0x592f45
dec eax
je 0x592f54
jmp 0x592f90
sub eax, 4
je 0x592f36
dec eax
je 0x592f72
sub eax, 0xeffb
je 0x592f81
jmp 0x592f90
push ebp
call fcn.0056b830
pop ecx
mov byte [ebp - 0x791], al
jmp 0x592f9d
push ebp
call fcn.005770cc
pop ecx
mov byte [ebp - 0x791], al
jmp 0x592f9d
push ebp
call fcn.0058064c
pop ecx
mov byte [ebp - 0x791], al
jmp 0x592f9d
push ebp
call fcn.00588640
pop ecx
mov byte [ebp - 0x791], al
jmp 0x592f9d
push ebp
call fcn.005897c4
pop ecx
mov byte [ebp - 0x791], al
jmp 0x592f9d
push ebp
call fcn.0058f444
pop ecx
mov byte [ebp - 0x791], al
jmp 0x592f9d
push ebp
call fcn.0056bca8
pop ecx
mov byte [ebp - 0x791], al
mov eax, dword [0x669aec]
mov byte [eax], bl
mov eax, dword [ebp - 0x768]
call fcn.004028c0
mov eax, dword [ebp - 0x778]
call fcn.0064e55c
mov eax, dword [ebp - 0x6d4]
call fcn.0064e5c0
mov eax, dword [ebp - 0x790]
call fcn.005f8350
cmp byte [ebp - 0x791], 0
je 0x5937dc
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x593171
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x43c], 0
je 0x593024
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x160], 0
jne 0x593037
lea edx, [ebp - 0x7b8]
mov eax, dword [ebp - 0x10]
call fcn.0055fcd8
mov edx, dword [ebp - 0x7b8]
mov eax, dword [ebp - 0x10]
add eax, 0x160
call fcn.004038bc
jmp 0x593037
mov eax, dword [ebp - 0x10]
add eax, 0x160
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
call fcn.004038bc
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x1b8], edx
cmp byte [0x66506c], 0
je 0x593068
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x174], 0
jne 0x593068
mov eax, dword [0x6698c0]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
call fcn.004f6420
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x3f6], 0
jne 0x59308c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x3f5], 0
jne 0x59308c
mov eax, dword [ebp - 0x2c]
call fcn.0061c66c
test al, al
je 0x593094
mov eax, dword [ebp - 0x10]
call fcn.005b4db0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x3f5], 0
je 0x5930ab
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x1b8], edx
mov eax, dword [ebp - 0x10]
fld qword [eax + 0x1a0]
fcomp dword [0x593998]
fnstsw ax
sahf
jne 0x5930d4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
call fcn.0061c1c0
mov eax, dword [ebp - 0x10]
fstp qword [eax + 0x1a0]
wait
cmp byte [ebp - 9], 0
je 0x5930e3
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
cmp dword [ebp - 0xbc], 0
je 0x5930f9
xor edx, edx
mov eax, dword [ebp - 0xbc]
call fcn.00621e10
mov eax, dword [ebp - 0x6cc]
call fcn.004028c0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x43c], 0
je 0x593171
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x1b8], edx
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
call fcn.004038bc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x164]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x164], edx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x43d], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4b4], 0x80000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4b8], 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4d4]
mov edx, dword [eax + 0x1c]
mov edx, dword [edx]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x5931ed
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4d4]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
lea eax, [esi + 0x528]
mov cl, byte [edx + 0x550]
mov byte [eax + 0x28], cl
mov cl, byte [edx + 0x551]
mov byte [eax + 0x29], cl
cmp dword [eax + 0x10], 0
jge 0x5931ba
xor ecx, ecx
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x18], 0
jge 0x5931c5
xor ecx, ecx
mov dword [eax + 0x18], ecx
cmp dword [eax + 0x14], 0
jge 0x5931d0
xor ecx, ecx
mov dword [eax + 0x14], ecx
cmp dword [eax + 0x1c], 0
jge 0x5931db
xor ecx, ecx
mov dword [eax + 0x1c], ecx
mov eax, dword [edx + 0x5c8]
mov dword [esi + 0x5c8], eax
dec ebx
cmp ebx, 0xffffffff
jne 0x593188
mov eax, dword [ebp - 0x6d0]
cmp dword [eax + 8], 0
jne 0x593276
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
cmp dword [eax + 0x18], 1
jle 0x593276
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax + edx*4 - 8]
mov eax, ebx
call fcn.0054c530
cmp ax, 3
je 0x593276
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
call fcn.0064e250
mov edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x48]
call fcn.0064dba4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
call fcn.0064e250
call fcn.004028c0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
call fcn.0064e2cc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
call fcn.0064e250
mov dword [ebp - 0x6d0], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x168], 1
jne 0x5932a3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x12c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x6d0]
call fcn.0054c530
test ax, ax
je 0x5932db
mov edx, eax
sub dx, 2
je 0x593349
sub dx, 3
je 0x593349
mov edx, dword [ebp - 0x10]
cmp byte [edx + 0x438], 0
je 0x5932db
cmp ax, 4
je 0x593349
mov edx, dword [ebp - 0x10]
cmp byte [edx + 0x437], 0
je 0x59333d
cmp ax, 3
jne 0x59331f
mov eax, dword [ebp - 0x6d0]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x6d0]
call fcn.0054d1ac
mov edx, eax
mov eax, dword [ebp - 0x6d0]
mov eax, dword [eax + 0x48]
mov ecx, 9
call fcn.0064dd58
mov eax, dword [ebp - 0x6d0]
dec dword [eax + 8]
mov ecx, 2
mov dl, 0x17
mov eax, dword [ebp - 0x6d0]
call fcn.0054bb80
mov eax, dword [ebp - 0x6d0]
mov byte [eax + 0x3c], 0
jmp 0x593349
cmp ax, 3
je 0x593349
mov eax, dword [ebp - 8]
dec dword [eax + 0x14]
mov eax, dword [0x6693a0]
test byte [eax], 0x80
je 0x5933b2
mov eax, dword [0x6693a0]
test byte [eax], 0x20
jne 0x5933b2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x168], 6
jge 0x5933b2
mov eax, dword [ebp - 0x6d0]
call fcn.0054c530
cmp ax, 2
jne 0x5933b2
mov eax, dword [ebp - 0x6d0]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x6d0]
call fcn.0054d1ac
mov edx, eax
mov eax, dword [ebp - 0x6d0]
mov eax, dword [eax + 0x48]
mov ecx, 9
call fcn.0064dd58
mov eax, dword [ebp - 0x6d0]
dec dword [eax + 8]
mov eax, dword [ebp - 8]
dec dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x168], 1
je 0x593414
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x12c], eax
mov bl, 1
lea esi, [ebp - 0x788]
mov eax, dword [esi]
test eax, eax
je 0x59340b
mov edx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
call fcn.0064e18c
xor eax, eax
mov al, bl
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x18]
mov dword [edx + eax*4 + 0x12c], ecx
mov eax, dword [esi]
call fcn.0064e5c0
inc ebx
add esi, 4
cmp bl, 4
jne 0x5933db
push ebp
call fcn.00560c18
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x168], 1
jne 0x59342e
push ebp
call fcn.00560df0
pop ecx
push ebp
call fcn.00561084
pop ecx
mov eax, dword [ebp - 0x6d8]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x593466
mov eax, dword [ebp - 0x10]
call fcn.005de8cc
mov eax, dword [ebp - 0x6d8]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + ebx*4]
mov eax, dword [ebp - 0x10]
call fcn.005dfb4c
dec ebx
cmp ebx, 0xffffffff
jne 0x593444
mov eax, dword [ebp - 0x6d8]
call fcn.0064e5c0
push ebp
call fcn.00590840
pop ecx
cmp byte [ebp - 0x789], 0
jne 0x5934aa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x168]
sub eax, 2
jb 0x593494
sub eax, 2
jne 0x5934aa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x604]
cmp dword [eax + 0x18], 0
jle 0x5934aa
push ebp
call fcn.00590c34
pop ecx
push ebp
call fcn.005910a4
pop ecx
push ebp
call fcn.0059125c
pop ecx
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x43c], 0
je 0x5934df
cmp dword [ebp - 0x77c], 0x80000000
je 0x5934df
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x77c]
mov dword [eax + 0x168], edx
push ebp
call fcn.00591868
pop ecx
mov eax, dword [0x669208]
test byte [eax], 8
jne 0x5934fc
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x45c], 0
je 0x59356d
cmp dword [ebp - 0xb8], 0
jge 0x59350f
xor eax, eax
mov dword [ebp - 0xb8], eax
jmp 0x593534
lea edx, [ebp - 0x7d8]
mov eax, dword [ebp - 0x10]
call fcn.005c0e78
mov eax, dword [ebp - 0x7c8]
mov edx, dword [ebp - 0xb8]
call fcn.00652c54
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0xb8]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0xb4]
cmp edx, ecx
jg 0x59355f
dec edx
mov dword [ebp - 0xb4], edx
jmp 0x59357d
test ecx, ecx
jge 0x59357d
xor eax, eax
mov dword [ebp - 0xb4], eax
jmp 0x59357d
xor eax, eax
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xb4], eax
mov eax, dword [0x6694bc]
cmp byte [eax], 0
je 0x593592
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x90c], edx
push ebp
call fcn.00591dec
pop ecx
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x436], 0
je 0x5935ac
push ebp
call fcn.005922ac
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x174], 0
jne 0x5935fe
mov eax, dword [ebp - 0x10]
call fcn.005b5a9c
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x40a], 1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x148]
mov eax, dword [ebp - 0x10]
call fcn.0055c5a4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xb8]
mov dword [eax + 0x258], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xb4]
mov dword [eax + 0x25c], edx
jmp 0x593842
cmp byte [0x66506c], 0
je 0x593620
mov eax, dword [0x6698c0]
mov eax, dword [eax]
mov edx, dword [eax + 0x25c]
mov eax, dword [0x6698c0]
mov eax, dword [eax]
call fcn.004f64d8
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x400], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x40d], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x402], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x403], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x405], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x40a], 1
mov cl, 0x22
mov dl, 0x63
mov eax, dword [ebp - 0x10]
call fcn.0055f6fc
mov eax, dword [ebp - 0x10]
call fcn.005e7bbc
mov edx, 2
mov eax, dword [ebp - 0x10]
call fcn.0055f788
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4d4]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x5936ae
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4d4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
add eax, 0x528
call fcn.0053e834
dec ebx
cmp ebx, 0xffffffff
jne 0x59368f
mov eax, dword [ebp - 0x10]
call fcn.005b5a9c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x45f], 0
jne 0x593842
mov eax, dword [0x6698c8]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x59370a
mov edx, dword [0x6698c8]
test eax, eax
jle 0x5936f7
mov edx, dword [0x6698c8]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x148], eax
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x171], 0
jmp 0x59370a
mov eax, dword [0x6698c8]
mov al, byte [eax + 0x2c]
neg al
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x171], al
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x148]
mov eax, dword [ebp - 0x10]
call fcn.0055c5a4
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x14e], 2
jne 0x593752
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xb8]
mov dword [eax + 0x140], edx
mov edx, dword [ebp - 0xb4]
mov dword [eax + 0x144], edx
xor eax, eax
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xb4], eax
mov ebx, dword [ebp - 0xb8]
add ebx, dword [ebp - 0xb4]
test ebx, ebx
jne 0x59376c
mov dl, 0x28
mov eax, dword [ebp - 0x10]
call fcn.0055f6b0
push 0
mov al, byte [0x593998]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x10]
call fcn.005bb588
test ebx, ebx
jne 0x593794
mov eax, dword [ebp - 0x10]
call fcn.0055f764
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x3fd], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x400], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x3fb], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x402], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x403], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x405], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x40a], 0
jmp 0x593842
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x593842
mov eax, dword [ebp - 0x10]
call fcn.005b4db0
cmp byte [ebp - 9], 0
je 0x5937fb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
cmp dword [ebp - 0xbc], 0
je 0x593811
xor edx, edx
mov eax, dword [ebp - 0xbc]
call fcn.00621e10
mov eax, dword [ebp - 0x6cc]
call fcn.004028c0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4a1], 0
jne 0x593838
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
mov eax, 0x59399c
call fcn.0061fa50
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x4a1], 0
cmp byte [0x66506c], 0
je 0x593859
call fcn.004fe288
xor edx, edx
call fcn.004fb5a4
jmp 0x59387c
cmp byte [0x66c3dd], 0
jne 0x59387c
mov eax, dword [0x6693a0]
test byte [eax], 4
jne 0x59387c
mov eax, dword [0x6698c0]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
call fcn.004f6420
mov eax, dword [ebp - 0x76c]
call fcn.004028c0
mov al, byte [ebp - 0x799]
mov byte [0x66506c], al
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x429], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59390e
lea eax, [ebp - 0x7b8]
call fcn.00403880
lea eax, [ebp - 0x7b4]
call fcn.00403274
lea eax, [ebp - 0x7a0]
call fcn.00403274
lea eax, [ebp - 0x798]
call fcn.00403274
lea eax, [ebp - 0xc4]
call fcn.004043d0
lea eax, [ebp - 0xc0]
call fcn.004043d0
lea eax, [ebp - 0xbc]
call fcn.00403880
lea eax, [ebp - 0x2c]
call fcn.00403880
lea eax, [ebp - 4]
call fcn.00403880
ret