Function at 0x590634
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x61
push 0
push 0
dec ecx
jne 0x59063d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
mov eax, dword [ebp - 8]
call fcn.00405f18
mov eax, dword [ebp + 0x1c]
call fcn.00405f18
mov esi, dword [0x5d4a30]
mov edi, dword [0x5d4868]
mov ebx, dword [0x5d4da0]
xor eax, eax
push ebp
push 0x591541
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1f0]
mov eax, 0x59155c
call fcn.0058fff8
mov eax, dword [ebp - 0x1f0]
call fcn.005936d4
test al, al
je 0x5906b1
mov bl, 1
jmp 0x5914ee
lea eax, [ebp - 0x1f4]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x1f4]
call fcn.0040b914
test al, al
je 0x5907f0
lea eax, [ebp - 0x1fc]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x1fc]
lea edx, [ebp - 0x1f8]
call fcn.00589dcc
lea eax, [ebp - 0x1f8]
mov edx, dword [0x5dbd10]
call fcn.00405d64
mov eax, dword [ebp - 0x1f8]
call fcn.0040b8f0
test al, al
jne 0x5907e9
lea eax, [ebp - 0x204]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x204]
lea edx, [ebp - 0x200]
call fcn.00589dcc
lea eax, [ebp - 0x200]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x200]
mov dl, 1
call fcn.0042df70
lea eax, [ebp - 0x20c]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
call fcn.00589dcc
lea eax, [ebp - 0x208]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x208]
mov dl, 1
call fcn.0042df70
lea eax, [ebp - 0x214]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.00589dcc
lea eax, [ebp - 0x210]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x210]
mov dl, 1
call fcn.0042df70
jmp 0x5907f0
mov bl, 1
jmp 0x5914ee
mov eax, dword [ebp - 4]
mov edx, 0x591578
call fcn.00405ec0
jne 0x590b61
lea eax, [ebp - 0x21c]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.00589dcc
mov eax, dword [ebp - 0x218]
call fcn.0040b938
lea edx, [ebp - 0x220]
mov eax, 0x59158c
call fcn.0058fff8
mov eax, dword [ebp - 0x220]
call fcn.005936d4
push eax
lea eax, [ebp - 0x228]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.00589dcc
mov eax, dword [ebp - 0x224]
pop edx
call fcn.004c95c0
lea edx, [ebp - 0x22c]
mov eax, 0x59158c
call fcn.0058fff8
mov eax, dword [ebp - 0x22c]
call fcn.005936d4
mov edx, dword [0x5d4ff4]
mov byte [edx], al
mov eax, dword [0x5d4a2c]
mov edx, dword [0x5dbcc4]
mov dword [eax], edx
mov eax, dword [0x5d49bc]
mov edx, dword [0x5dbd2c]
call fcn.00405aec
mov eax, dword [0x5d469c]
mov edx, dword [0x5dbd28]
call fcn.00405aec
mov eax, dword [0x5d5024]
mov byte [eax], 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c45f8]
call fcn.0042a3cc
mov dword [ebx], eax
mov eax, dword [ebx]
call fcn.0058edbc
call fcn.005b3ad4
inc eax
jne 0x59090d
mov eax, dword [ebx]
call fcn.0042a884
mov eax, dword [edi]
mov eax, dword [eax + 0x390]
mov dl, 1
call fcn.00451600
mov eax, dword [0x5d5024]
cmp byte [eax], 1
jne 0x5908e8
mov eax, dword [edi]
mov eax, dword [eax + 0x390]
xor edx, edx
call fcn.00451600
call fcn.005b3ad4
inc eax
jne 0x590947
mov ecx, dword [0x5d4b6c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a6c]
call fcn.0040f558
call fcn.004053ec
mov eax, dword [0x5d4fc0]
cmp byte [eax], 0
jne 0x590a72
mov edx, dword [0x5d469c]
mov edx, dword [edx]
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.00589dcc
lea eax, [ebp - 0x230]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x230]
mov dl, 1
call fcn.0042df70
mov edx, dword [0x5d469c]
mov edx, dword [edx]
lea eax, [ebp - 0x23c]
mov ecx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.00589dcc
lea eax, [ebp - 0x238]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x238]
mov dl, 1
call fcn.0042df70
mov edx, dword [0x5d469c]
mov edx, dword [edx]
lea eax, [ebp - 0x244]
mov ecx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.00589dcc
lea eax, [ebp - 0x240]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x240]
mov dl, 1
call fcn.0042df70
mov edx, dword [0x5d469c]
mov edx, dword [edx]
lea eax, [ebp - 0x24c]
mov ecx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.00589dcc
mov eax, dword [ebp - 0x248]
call fcn.00405f28
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov ecx, dword [0x5d4b6c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a6c]
call fcn.0040f558
call fcn.004053ec
mov eax, dword [0x5d4fc0]
cmp byte [eax], 0
je 0x590880
mov bl, 1
lea eax, [ebp - 0x254]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
call fcn.00589dcc
mov eax, dword [ebp - 0x250]
call fcn.0040b938
lea edx, [ebp - 0x258]
mov eax, 0x59158c
call fcn.0058fff8
mov eax, dword [ebp - 0x258]
call fcn.005936d4
push eax
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x25c]
call fcn.00589dcc
mov eax, dword [ebp - 0x25c]
pop edx
call fcn.004c95c0
lea eax, [ebp - 0x268]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x264]
call fcn.00589dcc
lea eax, [ebp - 0x264]
mov edx, dword [0x5dbd10]
call fcn.00405d64
mov edx, dword [ebp - 0x264]
lea eax, [ebp - 0x1ec]
call fcn.004039a4
lea eax, [ebp - 0x1ec]
call fcn.00403734
lea eax, [ebp - 0x1ec]
call fcn.00403b4c
jmp 0x5914ee
xor ebx, ebx
lea edx, [ebp - 0x26c]
mov eax, 0x5915b4
call fcn.0058fff8
cmp dword [ebp - 0x26c], 0
je 0x590b8b
lea edx, [ebp - 0xc]
mov eax, 0x5915b4
call fcn.0058fff8
jmp 0x590b98
lea edx, [ebp - 0xc]
mov eax, 0x5915c4
call fcn.0058fff8
lea edx, [ebp - 0x274]
mov eax, dword [ebp - 8]
call fcn.0040bcb8
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 0xc]
call fcn.00405db0
mov eax, dword [ebp - 0x270]
call fcn.0040b8f0
test al, al
je 0x590c11
lea edx, [ebp - 0x280]
mov eax, dword [ebp - 8]
call fcn.0040bcb8
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
mov edx, dword [ebp - 0xc]
call fcn.00405db0
mov eax, dword [ebp - 0x27c]
lea edx, [ebp - 0x278]
call fcn.0040abac
mov edx, dword [ebp - 0x278]
mov eax, dword [0x5dbcc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x590c11
mov bl, 1
test bl, bl
jne 0x590f67
mov eax, dword [0x5d49b8]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [0x5d4b2c]
mov edx, dword [ebp - 8]
call fcn.00405aec
mov eax, dword [0x5d4b68]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
call fcn.00405aec
mov eax, dword [0x5d486c]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
call fcn.00405aec
mov eax, dword [0x5d4d54]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
call fcn.00405aec
mov eax, dword [0x5d4df0]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
call fcn.00405aec
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov edx, dword [0x5d4ed0]
mov byte [edx], al
mov eax, dword [0x5d46c4]
mov byte [eax], 0
mov eax, dword [0x5d4b9c]
mov edx, dword [0x5dbcc4]
mov dword [eax], edx
lea edx, [ebp - 0x284]
mov eax, dword [ebp - 4]
call fcn.0042dc94
mov ecx, dword [ebp - 0x284]
mov edx, dword [0x5d4c00]
mov edx, dword [edx]
mov eax, dword [0x5d4698]
call fcn.00405db0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c428c]
call fcn.0042a3cc
mov edx, dword [0x5d4c14]
mov dword [edx], eax
mov eax, dword [0x5d4c14]
mov eax, dword [eax]
call fcn.0058edbc
call fcn.005b3ad4
inc eax
jne 0x590cfa
mov eax, dword [0x5d4c14]
mov eax, dword [eax]
call fcn.0042a884
mov eax, dword [edi]
mov eax, dword [eax + 0x394]
mov dl, 1
call fcn.00451600
mov eax, dword [0x5d46c4]
cmp byte [eax], 1
jne 0x590ccb
mov eax, dword [edi]
mov eax, dword [eax + 0x394]
xor edx, edx
call fcn.00451600
call fcn.005b3ad4
inc eax
jne 0x590d34
mov ecx, dword [0x5d4844]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a6c]
call fcn.0040f558
call fcn.004053ec
mov eax, dword [0x5d47a0]
cmp byte [eax], 0
jne 0x590f59
mov eax, dword [0x5d4998]
cmp byte [eax], 0
je 0x590dea
xor ecx, ecx
mov dl, 1
mov eax, dword [0x58b5dc]
call fcn.0047c8ec
mov edx, dword [0x5d4e88]
mov dword [edx], eax
mov eax, dword [0x5d4e88]
mov eax, dword [eax]
mov edx, dword [0x5dbcc4]
call fcn.0046c8b0
cmp byte [0x5dbcf4], 0
jne 0x590d95
mov eax, dword [0x5d4e88]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xfc]
cmp eax, 2
jne 0x590dbf
mov eax, dword [0x5d4e88]
mov eax, dword [eax]
call fcn.00404b38
mov ecx, dword [0x5d4844]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a6c]
call fcn.0040f558
call fcn.004053ec
jmp 0x590f59
mov eax, dword [0x5d4e88]
mov eax, dword [eax]
mov eax, dword [eax + 0x374]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [0x5d4e88]
mov eax, dword [eax]
call fcn.00404b38
jmp 0x590f59
xor ecx, ecx
mov dl, 1
mov eax, dword [0x58b2a0]
call fcn.0047c8ec
mov edx, dword [0x5d4c4c]
mov dword [edx], eax
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov edx, dword [0x5dbcc4]
call fcn.0046c8b0
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x378]
call fcn.00467ce8
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.00467ce8
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x390]
call fcn.00467ce8
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x398]
call fcn.00467ce8
cmp byte [0x5dbcf4], 0
jne 0x590e8b
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xfc]
cmp eax, 7
jne 0x590eb5
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
call fcn.00404b38
mov ecx, dword [0x5d4844]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a6c]
call fcn.0040f558
call fcn.004053ec
jmp 0x590f59
lea edx, [ebp - 0x288]
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x378]
call fcn.00467cb8
mov edx, dword [ebp - 0x288]
mov eax, dword [ebp + 0x18]
call fcn.00405aec
lea edx, [ebp - 0x28c]
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.00467cb8
mov edx, dword [ebp - 0x28c]
mov eax, dword [ebp + 0x14]
call fcn.00405aec
lea edx, [ebp - 0x290]
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x390]
call fcn.00467cb8
mov edx, dword [ebp - 0x290]
mov eax, dword [ebp + 0x10]
call fcn.00405aec
lea edx, [ebp - 0x294]
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x398]
call fcn.00467cb8
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp + 0xc]
call fcn.00405aec
mov eax, dword [0x5d4c4c]
mov eax, dword [eax]
call fcn.00404b38
mov eax, dword [0x5d47a0]
cmp byte [eax], 0
je 0x590c19
lea eax, [ebp - 0x29c]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x298]
call fcn.00589dcc
mov eax, dword [ebp - 0x298]
call fcn.0040b938
lea edx, [ebp - 0x2a0]
mov eax, 0x59158c
call fcn.0058fff8
mov eax, dword [ebp - 0x2a0]
call fcn.005936d4
push eax
lea eax, [ebp - 0x2a8]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x2a8]
lea edx, [ebp - 0x2a4]
call fcn.00589dcc
mov eax, dword [ebp - 0x2a4]
pop edx
call fcn.004c95c0
mov eax, 0x104
call fcn.00402fc0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x2b0]
mov edx, dword [ebp - 0x20]
call fcn.00405c90
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2ac]
call fcn.00589dcc
mov edx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x10]
mov ecx, 0x5915d4
call fcn.00405db0
mov eax, dword [ebp - 0x20]
call fcn.00402fdc
lea edx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x10]
call fcn.00589dcc
mov eax, dword [ebp - 0x2b4]
call fcn.0040b938
lea edx, [ebp - 0x2b8]
mov eax, 0x59158c
call fcn.0058fff8
mov eax, dword [ebp - 0x2b8]
call fcn.005936d4
push eax
lea edx, [ebp - 0x2bc]
mov eax, dword [ebp - 0x10]
call fcn.00589dcc
mov eax, dword [ebp - 0x2bc]
pop edx
call fcn.004c95c0
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x5d5050]
mov edx, dword [ebp + 0x1c]
call fcn.00405aec
mov eax, dword [0x5d4cb4]
mov edx, dword [0x5dbcc4]
mov dword [eax], edx
test bl, bl
jne 0x5910ba
mov eax, dword [0x5d4c38]
mov edx, dword [ebp - 8]
call fcn.00405aec
jmp 0x5910db
lea edx, [ebp - 0x2c0]
mov eax, dword [ebp - 8]
call fcn.0040bcb8
mov ecx, dword [ebp - 0x2c0]
mov eax, dword [0x5d4c38]
mov edx, dword [ebp - 0xc]
call fcn.00405db0
mov eax, dword [0x5d4e18]
mov byte [eax], bl
mov eax, dword [0x5d48c8]
mov edx, dword [0x5dbd28]
call fcn.00405aec
mov eax, dword [0x5d47a4]
mov byte [eax], 0
mov eax, dword [0x5d4af4]
mov byte [eax], 0
lea edx, [ebp - 0x2c4]
mov eax, dword [ebp - 4]
call fcn.0042dc94
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [0x5d5070]
mov edx, dword [edx]
mov eax, dword [0x5d4dec]
call fcn.00405db0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c38c0]
call fcn.0042a3cc
mov dword [esi], eax
mov eax, dword [esi]
call fcn.0058edbc
call fcn.005b3ad4
inc eax
jne 0x59115d
mov eax, dword [esi]
call fcn.0042a884
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
mov dl, 1
call fcn.00451600
mov eax, dword [0x5d47a4]
cmp byte [eax], 1
jne 0x591138
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
xor edx, edx
call fcn.00451600
mov eax, dword [0x5d4860]
cmp byte [eax], 0
je 0x59118c
call fcn.005b3ad4
inc eax
jne 0x591404
mov edx, dword [0x5d48c8]
mov edx, dword [edx]
lea eax, [ebp - 0x2cc]
mov ecx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x2cc]
lea edx, [ebp - 0x2c8]
call fcn.00589dcc
lea eax, [ebp - 0x2c8]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x2c8]
mov dl, 1
call fcn.0042df70
mov edx, dword [0x5d48c8]
mov edx, dword [edx]
lea eax, [ebp - 0x2d4]
mov ecx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x2d4]
lea edx, [ebp - 0x2d0]
call fcn.00589dcc
lea eax, [ebp - 0x2d0]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x2d0]
mov dl, 1
call fcn.0042df70
mov edx, dword [0x5d48c8]
mov edx, dword [edx]
lea eax, [ebp - 0x2dc]
mov ecx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d8]
call fcn.00589dcc
lea eax, [ebp - 0x2d8]
mov edx, 0x59156c
call fcn.00405d64
mov eax, dword [ebp - 0x2d8]
mov dl, 1
call fcn.0042df70
mov edx, dword [0x5d48c8]
mov edx, dword [edx]
lea eax, [ebp - 0x2e4]
mov ecx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
call fcn.00589dcc
mov eax, dword [ebp - 0x2e0]
call fcn.00405f28
push eax
call sub.kernel32.dll_RemoveDirectoryA
call fcn.005b3ad4
inc eax
je 0x5912af
mov eax, dword [0x5d4af4]
cmp byte [eax], 0
je 0x5912af
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xa
jl 0x591404
call fcn.005b3ad4
inc eax
je 0x5913eb
xor ecx, ecx
mov dl, 1
mov eax, dword [0x589e5c]
call fcn.0047c8ec
mov edx, dword [0x5d4fa8]
mov dword [edx], eax
mov eax, dword [0x5d4fa8]
mov eax, dword [eax]
mov edx, dword [0x5dbcc4]
call fcn.0046c8b0
cmp byte [0x5dbcf4], 0
jne 0x591300
mov eax, dword [0x5d4fa8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xfc]
cmp eax, 2
jne 0x59132a
mov eax, dword [0x5d4fa8]
mov eax, dword [eax]
call fcn.00404b38
mov ecx, dword [0x5d4a58]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a6c]
call fcn.0040f558
call fcn.004053ec
jmp 0x591404
mov eax, dword [0x5d4fa8]
mov eax, dword [eax]
mov eax, dword [eax + 0x370]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x5913dd
mov eax, dword [0x5d4fa8]
mov eax, dword [eax]
call fcn.00404b38
test bl, bl
jne 0x591365
mov eax, dword [ebp - 8]
call fcn.00405f28
push eax
call sub.kernel32.dll_DeleteFileA
test bl, bl
je 0x5913ac
lea edx, [ebp - 0x2f0]
mov eax, dword [ebp - 8]
call fcn.0040bcb8
mov ecx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x2ec]
mov edx, dword [ebp - 0xc]
call fcn.00405db0
mov eax, dword [ebp - 0x2ec]
lea edx, [ebp - 0x2e8]
call fcn.0040abac
mov edx, dword [ebp - 0x2e8]
mov eax, dword [0x5dbcc0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 0x19], 0
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x19]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0059022c
mov ebx, eax
jmp 0x5914ee
mov eax, dword [0x5d4fa8]
mov eax, dword [eax]
call fcn.00404b38
jmp 0x591404
mov ecx, dword [0x5d4a58]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a6c]
call fcn.0040f558
call fcn.004053ec
mov eax, dword [0x5d4860]
cmp byte [eax], 0
je 0x59108d
mov bl, 1
lea eax, [ebp - 0x2f8]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x2f8]
lea edx, [ebp - 0x2f4]
call fcn.00589dcc
mov eax, dword [ebp - 0x2f4]
call fcn.0040b938
lea edx, [ebp - 0x2fc]
mov eax, 0x59158c
call fcn.0058fff8
mov eax, dword [ebp - 0x2fc]
call fcn.005936d4
push eax
lea eax, [ebp - 0x304]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x304]
lea edx, [ebp - 0x300]
call fcn.00589dcc
mov eax, dword [ebp - 0x300]
pop edx
call fcn.004c95c0
lea eax, [ebp - 0x30c]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405db0
mov eax, dword [ebp - 0x30c]
lea edx, [ebp - 0x308]
call fcn.00589dcc
lea eax, [ebp - 0x308]
mov edx, dword [0x5dbd10]
call fcn.00405d64
mov edx, dword [ebp - 0x308]
lea eax, [ebp - 0x1ec]
call fcn.004039a4
lea eax, [ebp - 0x1ec]
call fcn.00403734
lea eax, [ebp - 0x1ec]
call fcn.00403b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x591548
lea eax, [ebp - 0x30c]
mov edx, 0x1e
call fcn.00405abc
lea eax, [ebp - 0x294]
mov edx, 4
call fcn.00405abc
lea eax, [ebp - 0x284]
mov edx, 0x26
call fcn.00405abc
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405abc
lea eax, [ebp + 0x1c]
call fcn.00405a98
ret