Function at 0x5905b4
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 0x5905bd
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.00405ec4
mov eax, dword [ebp - 8]
call fcn.00405ec4
mov eax, dword [ebp + 0x1c]
call fcn.00405ec4
mov esi, dword [0x5d4a2c]
mov edi, dword [0x5d4864]
mov ebx, dword [0x5d4d9c]
xor eax, eax
push ebp
push 0x5914c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1f0]
mov eax, 0x5914dc
call fcn.0058ff78
mov eax, dword [ebp - 0x1f0]
call fcn.00593654
test al, al
je 0x590631
mov bl, 1
jmp 0x59146e
lea eax, [ebp - 0x1f4]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x1f4]
call fcn.0040b8c0
test al, al
je 0x590770
lea eax, [ebp - 0x1fc]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x1fc]
lea edx, [ebp - 0x1f8]
call fcn.00589d4c
lea eax, [ebp - 0x1f8]
mov edx, dword [0x5dbd10]
call fcn.00405d10
mov eax, dword [ebp - 0x1f8]
call fcn.0040b89c
test al, al
jne 0x590769
lea eax, [ebp - 0x204]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x204]
lea edx, [ebp - 0x200]
call fcn.00589d4c
lea eax, [ebp - 0x200]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x200]
mov dl, 1
call fcn.0042df1c
lea eax, [ebp - 0x20c]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
call fcn.00589d4c
lea eax, [ebp - 0x208]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x208]
mov dl, 1
call fcn.0042df1c
lea eax, [ebp - 0x214]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.00589d4c
lea eax, [ebp - 0x210]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x210]
mov dl, 1
call fcn.0042df1c
jmp 0x590770
mov bl, 1
jmp 0x59146e
mov eax, dword [ebp - 4]
mov edx, 0x5914f8
call fcn.00405e6c
jne 0x590ae1
lea eax, [ebp - 0x21c]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.00589d4c
mov eax, dword [ebp - 0x218]
call fcn.0040b8e4
lea edx, [ebp - 0x220]
mov eax, 0x59150c
call fcn.0058ff78
mov eax, dword [ebp - 0x220]
call fcn.00593654
push eax
lea eax, [ebp - 0x228]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.00589d4c
mov eax, dword [ebp - 0x224]
pop edx
call fcn.004c956c
lea edx, [ebp - 0x22c]
mov eax, 0x59150c
call fcn.0058ff78
mov eax, dword [ebp - 0x22c]
call fcn.00593654
mov edx, dword [0x5d4ff0]
mov byte [edx], al
mov eax, dword [0x5d4a28]
mov edx, dword [0x5dbcc4]
mov dword [eax], edx
mov eax, dword [0x5d49b8]
mov edx, dword [0x5dbd2c]
call fcn.00405a98
mov eax, dword [0x5d4698]
mov edx, dword [0x5dbd28]
call fcn.00405a98
mov eax, dword [0x5d5020]
mov byte [eax], 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c45e4]
call fcn.0042a378
mov dword [ebx], eax
mov eax, dword [ebx]
call fcn.0058ed3c
call fcn.005b3a54
inc eax
jne 0x59088d
mov eax, dword [ebx]
call fcn.0042a830
mov eax, dword [edi]
mov eax, dword [eax + 0x390]
mov dl, 1
call fcn.004515ac
mov eax, dword [0x5d5020]
cmp byte [eax], 1
jne 0x590868
mov eax, dword [edi]
mov eax, dword [eax + 0x390]
xor edx, edx
call fcn.004515ac
call fcn.005b3a54
inc eax
jne 0x5908c7
mov ecx, dword [0x5d4b68]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a18]
call fcn.0040f504
call fcn.00405398
mov eax, dword [0x5d4fbc]
cmp byte [eax], 0
jne 0x5909f2
mov edx, dword [0x5d4698]
mov edx, dword [edx]
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.00589d4c
lea eax, [ebp - 0x230]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x230]
mov dl, 1
call fcn.0042df1c
mov edx, dword [0x5d4698]
mov edx, dword [edx]
lea eax, [ebp - 0x23c]
mov ecx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.00589d4c
lea eax, [ebp - 0x238]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x238]
mov dl, 1
call fcn.0042df1c
mov edx, dword [0x5d4698]
mov edx, dword [edx]
lea eax, [ebp - 0x244]
mov ecx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.00589d4c
lea eax, [ebp - 0x240]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x240]
mov dl, 1
call fcn.0042df1c
mov edx, dword [0x5d4698]
mov edx, dword [edx]
lea eax, [ebp - 0x24c]
mov ecx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.00589d4c
mov eax, dword [ebp - 0x248]
call fcn.00405ed4
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov ecx, dword [0x5d4b68]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a18]
call fcn.0040f504
call fcn.00405398
mov eax, dword [0x5d4fbc]
cmp byte [eax], 0
je 0x590800
mov bl, 1
lea eax, [ebp - 0x254]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
call fcn.00589d4c
mov eax, dword [ebp - 0x250]
call fcn.0040b8e4
lea edx, [ebp - 0x258]
mov eax, 0x59150c
call fcn.0058ff78
mov eax, dword [ebp - 0x258]
call fcn.00593654
push eax
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x25c]
call fcn.00589d4c
mov eax, dword [ebp - 0x25c]
pop edx
call fcn.004c956c
lea eax, [ebp - 0x268]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x264]
call fcn.00589d4c
lea eax, [ebp - 0x264]
mov edx, dword [0x5dbd10]
call fcn.00405d10
mov edx, dword [ebp - 0x264]
lea eax, [ebp - 0x1ec]
call fcn.00403950
lea eax, [ebp - 0x1ec]
call fcn.004036e0
lea eax, [ebp - 0x1ec]
call fcn.00403af8
jmp 0x59146e
xor ebx, ebx
lea edx, [ebp - 0x26c]
mov eax, 0x591534
call fcn.0058ff78
cmp dword [ebp - 0x26c], 0
je 0x590b0b
lea edx, [ebp - 0xc]
mov eax, 0x591534
call fcn.0058ff78
jmp 0x590b18
lea edx, [ebp - 0xc]
mov eax, 0x591544
call fcn.0058ff78
lea edx, [ebp - 0x274]
mov eax, dword [ebp - 8]
call fcn.0040bc64
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 0xc]
call fcn.00405d5c
mov eax, dword [ebp - 0x270]
call fcn.0040b89c
test al, al
je 0x590b91
lea edx, [ebp - 0x280]
mov eax, dword [ebp - 8]
call fcn.0040bc64
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
mov edx, dword [ebp - 0xc]
call fcn.00405d5c
mov eax, dword [ebp - 0x27c]
lea edx, [ebp - 0x278]
call fcn.0040ab58
mov edx, dword [ebp - 0x278]
mov eax, dword [0x5dbcc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x590b91
mov bl, 1
test bl, bl
jne 0x590ee7
mov eax, dword [0x5d49b4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [0x5d4b28]
mov edx, dword [ebp - 8]
call fcn.00405a98
mov eax, dword [0x5d4b64]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
call fcn.00405a98
mov eax, dword [0x5d4868]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
call fcn.00405a98
mov eax, dword [0x5d4d50]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
call fcn.00405a98
mov eax, dword [0x5d4dec]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
call fcn.00405a98
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov edx, dword [0x5d4ecc]
mov byte [edx], al
mov eax, dword [0x5d46c0]
mov byte [eax], 0
mov eax, dword [0x5d4b98]
mov edx, dword [0x5dbcc4]
mov dword [eax], edx
lea edx, [ebp - 0x284]
mov eax, dword [ebp - 4]
call fcn.0042dc40
mov ecx, dword [ebp - 0x284]
mov edx, dword [0x5d4bfc]
mov edx, dword [edx]
mov eax, dword [0x5d4694]
call fcn.00405d5c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c4278]
call fcn.0042a378
mov edx, dword [0x5d4c10]
mov dword [edx], eax
mov eax, dword [0x5d4c10]
mov eax, dword [eax]
call fcn.0058ed3c
call fcn.005b3a54
inc eax
jne 0x590c7a
mov eax, dword [0x5d4c10]
mov eax, dword [eax]
call fcn.0042a830
mov eax, dword [edi]
mov eax, dword [eax + 0x394]
mov dl, 1
call fcn.004515ac
mov eax, dword [0x5d46c0]
cmp byte [eax], 1
jne 0x590c4b
mov eax, dword [edi]
mov eax, dword [eax + 0x394]
xor edx, edx
call fcn.004515ac
call fcn.005b3a54
inc eax
jne 0x590cb4
mov ecx, dword [0x5d4840]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a18]
call fcn.0040f504
call fcn.00405398
mov eax, dword [0x5d479c]
cmp byte [eax], 0
jne 0x590ed9
mov eax, dword [0x5d4994]
cmp byte [eax], 0
je 0x590d6a
xor ecx, ecx
mov dl, 1
mov eax, dword [0x58b55c]
call fcn.0047c898
mov edx, dword [0x5d4e84]
mov dword [edx], eax
mov eax, dword [0x5d4e84]
mov eax, dword [eax]
mov edx, dword [0x5dbcc4]
call fcn.0046c85c
cmp byte [0x5dbcf4], 0
jne 0x590d15
mov eax, dword [0x5d4e84]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xfc]
cmp eax, 2
jne 0x590d3f
mov eax, dword [0x5d4e84]
mov eax, dword [eax]
call fcn.00404ae4
mov ecx, dword [0x5d4840]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a18]
call fcn.0040f504
call fcn.00405398
jmp 0x590ed9
mov eax, dword [0x5d4e84]
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 [0x5d4e84]
mov eax, dword [eax]
call fcn.00404ae4
jmp 0x590ed9
xor ecx, ecx
mov dl, 1
mov eax, dword [0x58b220]
call fcn.0047c898
mov edx, dword [0x5d4c48]
mov dword [edx], eax
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov edx, dword [0x5dbcc4]
call fcn.0046c85c
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov eax, dword [eax + 0x378]
call fcn.00467c94
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.00467c94
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov eax, dword [eax + 0x390]
call fcn.00467c94
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov eax, dword [eax + 0x398]
call fcn.00467c94
cmp byte [0x5dbcf4], 0
jne 0x590e0b
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xfc]
cmp eax, 7
jne 0x590e35
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
call fcn.00404ae4
mov ecx, dword [0x5d4840]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a18]
call fcn.0040f504
call fcn.00405398
jmp 0x590ed9
lea edx, [ebp - 0x288]
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov eax, dword [eax + 0x378]
call fcn.00467c64
mov edx, dword [ebp - 0x288]
mov eax, dword [ebp + 0x18]
call fcn.00405a98
lea edx, [ebp - 0x28c]
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov eax, dword [eax + 0x380]
call fcn.00467c64
mov edx, dword [ebp - 0x28c]
mov eax, dword [ebp + 0x14]
call fcn.00405a98
lea edx, [ebp - 0x290]
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov eax, dword [eax + 0x390]
call fcn.00467c64
mov edx, dword [ebp - 0x290]
mov eax, dword [ebp + 0x10]
call fcn.00405a98
lea edx, [ebp - 0x294]
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
mov eax, dword [eax + 0x398]
call fcn.00467c64
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp + 0xc]
call fcn.00405a98
mov eax, dword [0x5d4c48]
mov eax, dword [eax]
call fcn.00404ae4
mov eax, dword [0x5d479c]
cmp byte [eax], 0
je 0x590b99
lea eax, [ebp - 0x29c]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x298]
call fcn.00589d4c
mov eax, dword [ebp - 0x298]
call fcn.0040b8e4
lea edx, [ebp - 0x2a0]
mov eax, 0x59150c
call fcn.0058ff78
mov eax, dword [ebp - 0x2a0]
call fcn.00593654
push eax
lea eax, [ebp - 0x2a8]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x2a8]
lea edx, [ebp - 0x2a4]
call fcn.00589d4c
mov eax, dword [ebp - 0x2a4]
pop edx
call fcn.004c956c
mov eax, 0x104
call fcn.00402fb0
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.00405c3c
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2ac]
call fcn.00589d4c
mov edx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x10]
mov ecx, 0x591554
call fcn.00405d5c
mov eax, dword [ebp - 0x20]
call fcn.00402fcc
lea edx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x10]
call fcn.00589d4c
mov eax, dword [ebp - 0x2b4]
call fcn.0040b8e4
lea edx, [ebp - 0x2b8]
mov eax, 0x59150c
call fcn.0058ff78
mov eax, dword [ebp - 0x2b8]
call fcn.00593654
push eax
lea edx, [ebp - 0x2bc]
mov eax, dword [ebp - 0x10]
call fcn.00589d4c
mov eax, dword [ebp - 0x2bc]
pop edx
call fcn.004c956c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x5d504c]
mov edx, dword [ebp + 0x1c]
call fcn.00405a98
mov eax, dword [0x5d4cb0]
mov edx, dword [0x5dbcc4]
mov dword [eax], edx
test bl, bl
jne 0x59103a
mov eax, dword [0x5d4c34]
mov edx, dword [ebp - 8]
call fcn.00405a98
jmp 0x59105b
lea edx, [ebp - 0x2c0]
mov eax, dword [ebp - 8]
call fcn.0040bc64
mov ecx, dword [ebp - 0x2c0]
mov eax, dword [0x5d4c34]
mov edx, dword [ebp - 0xc]
call fcn.00405d5c
mov eax, dword [0x5d4e14]
mov byte [eax], bl
mov eax, dword [0x5d48c4]
mov edx, dword [0x5dbd28]
call fcn.00405a98
mov eax, dword [0x5d47a0]
mov byte [eax], 0
mov eax, dword [0x5d4af0]
mov byte [eax], 0
lea edx, [ebp - 0x2c4]
mov eax, dword [ebp - 4]
call fcn.0042dc40
mov ecx, dword [ebp - 0x2c4]
mov edx, dword [0x5d506c]
mov edx, dword [edx]
mov eax, dword [0x5d4de8]
call fcn.00405d5c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c38ac]
call fcn.0042a378
mov dword [esi], eax
mov eax, dword [esi]
call fcn.0058ed3c
call fcn.005b3a54
inc eax
jne 0x5910dd
mov eax, dword [esi]
call fcn.0042a830
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
mov dl, 1
call fcn.004515ac
mov eax, dword [0x5d47a0]
cmp byte [eax], 1
jne 0x5910b8
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
xor edx, edx
call fcn.004515ac
mov eax, dword [0x5d485c]
cmp byte [eax], 0
je 0x59110c
call fcn.005b3a54
inc eax
jne 0x591384
mov edx, dword [0x5d48c4]
mov edx, dword [edx]
lea eax, [ebp - 0x2cc]
mov ecx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x2cc]
lea edx, [ebp - 0x2c8]
call fcn.00589d4c
lea eax, [ebp - 0x2c8]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x2c8]
mov dl, 1
call fcn.0042df1c
mov edx, dword [0x5d48c4]
mov edx, dword [edx]
lea eax, [ebp - 0x2d4]
mov ecx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x2d4]
lea edx, [ebp - 0x2d0]
call fcn.00589d4c
lea eax, [ebp - 0x2d0]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x2d0]
mov dl, 1
call fcn.0042df1c
mov edx, dword [0x5d48c4]
mov edx, dword [edx]
lea eax, [ebp - 0x2dc]
mov ecx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d8]
call fcn.00589d4c
lea eax, [ebp - 0x2d8]
mov edx, 0x5914ec
call fcn.00405d10
mov eax, dword [ebp - 0x2d8]
mov dl, 1
call fcn.0042df1c
mov edx, dword [0x5d48c4]
mov edx, dword [edx]
lea eax, [ebp - 0x2e4]
mov ecx, dword [ebp - 4]
call fcn.00405d5c
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
call fcn.00589d4c
mov eax, dword [ebp - 0x2e0]
call fcn.00405ed4
push eax
call sub.kernel32.dll_RemoveDirectoryA
call fcn.005b3a54
inc eax
je 0x59122f
mov eax, dword [0x5d4af0]
cmp byte [eax], 0
je 0x59122f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xa
jl 0x591384
call fcn.005b3a54
inc eax
je 0x59136b
xor ecx, ecx
mov dl, 1
mov eax, dword [0x589ddc]
call fcn.0047c898
mov edx, dword [0x5d4fa4]
mov dword [edx], eax
mov eax, dword [0x5d4fa4]
mov eax, dword [eax]
mov edx, dword [0x5dbcc4]
call fcn.0046c85c
cmp byte [0x5dbcf4], 0
jne 0x591280
mov eax, dword [0x5d4fa4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xfc]
cmp eax, 2
jne 0x5912aa
mov eax, dword [0x5d4fa4]
mov eax, dword [eax]
call fcn.00404ae4
mov ecx, dword [0x5d4a54]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a18]
call fcn.0040f504
call fcn.00405398
jmp 0x591384
mov eax, dword [0x5d4fa4]
mov eax, dword [eax]
mov eax, dword [eax + 0x370]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x59135d
mov eax, dword [0x5d4fa4]
mov eax, dword [eax]
call fcn.00404ae4
test bl, bl
jne 0x5912e5
mov eax, dword [ebp - 8]
call fcn.00405ed4
push eax
call sub.kernel32.dll_DeleteFileA
test bl, bl
je 0x59132c
lea edx, [ebp - 0x2f0]
mov eax, dword [ebp - 8]
call fcn.0040bc64
mov ecx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x2ec]
mov edx, dword [ebp - 0xc]
call fcn.00405d5c
mov eax, dword [ebp - 0x2ec]
lea edx, [ebp - 0x2e8]
call fcn.0040ab58
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.005901ac
mov ebx, eax
jmp 0x59146e
mov eax, dword [0x5d4fa4]
mov eax, dword [eax]
call fcn.00404ae4
jmp 0x591384
mov ecx, dword [0x5d4a54]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x409a18]
call fcn.0040f504
call fcn.00405398
mov eax, dword [0x5d485c]
cmp byte [eax], 0
je 0x59100d
mov bl, 1
lea eax, [ebp - 0x2f8]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x2f8]
lea edx, [ebp - 0x2f4]
call fcn.00589d4c
mov eax, dword [ebp - 0x2f4]
call fcn.0040b8e4
lea edx, [ebp - 0x2fc]
mov eax, 0x59150c
call fcn.0058ff78
mov eax, dword [ebp - 0x2fc]
call fcn.00593654
push eax
lea eax, [ebp - 0x304]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x304]
lea edx, [ebp - 0x300]
call fcn.00589d4c
mov eax, dword [ebp - 0x300]
pop edx
call fcn.004c956c
lea eax, [ebp - 0x30c]
mov ecx, dword [ebp - 4]
mov edx, dword [0x5dbd28]
call fcn.00405d5c
mov eax, dword [ebp - 0x30c]
lea edx, [ebp - 0x308]
call fcn.00589d4c
lea eax, [ebp - 0x308]
mov edx, dword [0x5dbd10]
call fcn.00405d10
mov edx, dword [ebp - 0x308]
lea eax, [ebp - 0x1ec]
call fcn.00403950
lea eax, [ebp - 0x1ec]
call fcn.004036e0
lea eax, [ebp - 0x1ec]
call fcn.00403af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5914c8
lea eax, [ebp - 0x30c]
mov edx, 0x1e
call fcn.00405a68
lea eax, [ebp - 0x294]
mov edx, 4
call fcn.00405a68
lea eax, [ebp - 0x284]
mov edx, 0x26
call fcn.00405a68
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405a68
lea eax, [ebp + 0x1c]
call fcn.00405a44
ret