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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x42a654
call fcn.0041efb8
sub esp, 0x884
push ebx
push esi
push edi
xor ebx, ebx
push 0xf
pop eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov dword [ebp + 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
mov byte [ebp - 4], 1
push ebx
push ebx
push 0x51b82c
lea ecx, [ebp - 0xe4]
call fcn.0041ab11
mov byte [ebp - 4], 2
cmp byte [ebp - 0xb4], bl
jne 0x4154de
push 0xfffffffffffffffd
pop esi
jmp 0x415cf7
mov eax, dword [ebp - 0xd8]
mov dword [ebp + 0x58], ebx
mov eax, dword [eax]
mov dword [ebp + 0x5c], ebx
mov al, byte [eax + 0xc]
shr al, 3
and al, 1
mov byte [0x520be8], al
mov dword [ebp + 0x60], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe4]
mov dword [ebp], eax
test esi, esi
je 0x415824
cmp byte [esi], 0x21
jne 0x415824
movsx eax, byte [esi + 1]
push eax
call fcn.0041eaa9
pop ecx
cmp eax, 0x78
jne 0x415824
cmp byte [esi + 2], 0x3a
jne 0x415824
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
mov byte [ebp - 4], 4
add esi, 3
jmp 0x415563
cmp bl, 0x20
je 0x415570
push ebx
lea ecx, [ebp - 0x54]
call fcn.00411233
inc esi
mov bl, byte [esi]
test bl, bl
jne 0x415554
jmp 0x415570
cmp al, 0x20
jne 0x415576
inc esi
mov al, byte [esi]
test al, al
jne 0x41556b
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x415582
lea eax, [ebp - 0x54]
push eax
call fcn.0041f473
mov edx, eax
mov eax, dword [ebp - 0xd8]
xor ebx, ebx
mov eax, dword [eax + 4]
pop ecx
mov edi, ebx
test eax, eax
je 0x4157d9
xor ecx, ecx
inc ecx
cmp edx, ecx
je 0x4155b4
mov eax, dword [eax + 0x10]
inc ecx
test eax, eax
jne 0x4155a3
jmp 0x4157d9
test dword [eax], 0x800
je 0x4157d9
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041b530
mov byte [ebp - 4], 5
cmp dword [ebp - 0x74], 0
je 0x4157ca
mov eax, dword [0x5216f8]
test eax, eax
je 0x4155fb
push 0x104
lea ecx, [ebp - 0x648]
push ecx
push ebx
call eax
jmp 0x415628
cmp dword [0x520c48], 0
je 0x415626
push 0x1c
pop eax
call fcn.0041f3e0
push esp
push 0x51b830
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
jmp 0x4157ca
mov eax, ebx
test eax, eax
je 0x4157ca
xor eax, eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x6c], ax
cmp word [ebp - 0x648], ax
jne 0x415653
mov eax, ebx
jmp 0x415660
lea eax, [ebp - 0x648]
push eax
call fcn.0041e09d
pop ecx
push eax
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040266d
mov byte [ebp - 4], 6
xor eax, eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
mov byte [ebp - 4], 7
push 0x22
lea ecx, [ebp + 4]
call fcn.004112d4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 4]
call fcn.004165d5
push 0x22
lea ecx, [ebp + 4]
call fcn.004112d4
push 0x20
lea ecx, [ebp + 4]
call fcn.004112d4
push ebx
mov edx, esi
lea ecx, [ebp - 0x2f4]
call fcn.004122d4
pop ecx
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp + 4]
call fcn.004165d5
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0x2f4]
call fcn.0040252d
xor eax, eax
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], ebx
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 9
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004025e9
cmp dword [ebp - 0x70], 0x10
mov eax, dword [0x520bec]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x84]
jae 0x415754
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0xa8]
push ecx
push 1
push dword [ebp - 0x74]
lea ecx, [ebp - 0x890]
push eax
call fcn.0040eca5
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x18], 8
mov edx, dword [ebp + 4]
jae 0x41577c
lea edx, [ebp + 4]
push ecx
lea ecx, [ebp - 0x890]
call fcn.00410eab
pop ecx
mov edi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x890]
call fcn.0040f15f
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.0040252d
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp + 4]
call fcn.0040252d
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.0040252d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00402217
cmp dword [0x520e44], 0
je 0x4157f2
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x520e44]
jmp 0x415818
cmp dword [0x520c48], 0
je 0x415818
push 0x1c
pop eax
call fcn.0041f3e0
push esp
push 0x51b84c
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00402217
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov byte [ebp - 4], 0xd
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov byte [ebp - 4], 0xf
call fcn.004149a6
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp + 0x38]
call fcn.0041664d
mov eax, dword [ebp - 0xd8]
mov dword [ebp + 0x30], ebx
mov eax, dword [eax]
mov dword [ebp + 0x34], ebx
mov dword [0x520c30], eax
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], ebx
mov byte [ebp + 0x20], bl
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xc0], 0x10
mov eax, dword [ebp - 0xd4]
jae 0x41588b
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00418427
pop ecx
pop ecx
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x440]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41592c
cmp byte [ebp - 0x440], 0
jne 0x4158c1
mov eax, ebx
jmp 0x4158ce
lea eax, [ebp - 0x440]
push eax
call fcn.0041df60
pop ecx
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp + 0x20]
call fcn.00402571
jmp 0x415925
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
mov edi, ecx
cmp edx, 0x10
jae 0x4158f0
lea edi, [ebp + 0x20]
cmp byte [edi + eax - 1], 0x5c
jne 0x415932
dec eax
push eax
push ebx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp + 0x20]
call fcn.00411264
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp + 0x20]
call fcn.00411160
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c4]
call fcn.00402217
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x4158e0
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
push 0x10
pop edi
cmp edx, edi
jae 0x41593c
lea ecx, [ebp + 0x20]
mov dl, 1
call fcn.00417dc7
test al, al
jne 0x415959
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp + 0x20]
call fcn.004026ef
lea ecx, [ebp - 0xfc]
call fcn.00418a0b
mov byte [ebp - 4], 0x13
push esi
lea ecx, [ebp - 0x24c]
call fcn.004021ea
mov byte [ebp - 4], 0x14
push str.h_n_fH_t
lea ecx, [ebp - 0x1a4]
call fcn.004021ea
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418f0c
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1a4]
call fcn.00402217
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x24c]
call fcn.00402217
push 0x51b870
lea ecx, [ebp - 0x1d4]
call fcn.004021ea
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418f0c
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d4]
call fcn.00402217
push 0x51b878
lea ecx, [ebp - 0x21c]
call fcn.004021ea
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418f0c
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x21c]
call fcn.00402217
push 0x1a
pop edx
lea ecx, [ebp - 0x264]
call fcn.004188bb
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], edi
jb 0x415a48
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.004021ea
mov byte [ebp - 4], 0x19
push 0x51b880
lea ecx, [ebp - 0x174]
call fcn.004021ea
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418f0c
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x174]
call fcn.00402217
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x234]
call fcn.00402217
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x264]
call fcn.00402217
push 0x1c
pop edx
lea ecx, [ebp - 0x30c]
call fcn.004188bb
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], edi
jb 0x415ac8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x204]
call fcn.004021ea
mov byte [ebp - 4], 0x1c
push 0x51b888
lea ecx, [ebp - 0x12c]
call fcn.004021ea
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418f0c
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x12c]
call fcn.00402217
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x204]
call fcn.00402217
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x30c]
call fcn.00402217
push 0x26
pop edx
lea ecx, [ebp - 0x2ac]
call fcn.004188bb
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], edi
jb 0x415b48
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004021ea
mov byte [ebp - 4], 0x1f
push 0x51b898
lea ecx, [ebp - 0x144]
call fcn.004021ea
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418f0c
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x144]
call fcn.00402217
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x15c]
call fcn.00402217
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2ac]
call fcn.00402217
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0xe8], edi
jae 0x415bc3
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.004021ea
mov byte [ebp - 4], 0x21
push 0x51b8a8
lea ecx, [ebp - 0x18c]
call fcn.004021ea
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418f0c
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x18c]
call fcn.00402217
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1bc]
call fcn.00402217
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xfc]
call fcn.00402217
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x114]
call fcn.00402217
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0x20]
call fcn.00402217
cmp byte [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xd8]
je 0x415c61
mov eax, dword [ecx]
test byte [eax + 0xc], 4
je 0x415c61
xor eax, eax
inc eax
jmp 0x415c63
mov eax, ebx
test al, al
je 0x415d24
mov eax, dword [ecx + 4]
jmp 0x415c79
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x415c7d
mov eax, ecx
test eax, eax
jne 0x415c70
test eax, eax
je 0x415d24
test dword [eax], 0x10000
je 0x415d24
mov ecx, dword [0x521260]
test ecx, ecx
je 0x415caa
push 4
push 0x51b8b4
push dword [eax + 0x24]
push ebx
call ecx
jmp 0x415cd4
cmp dword [0x520c48], 0
je 0x415cd2
push 0x14
pop eax
call fcn.0041f3e0
push esp
push 0x51b8c0
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
jmp 0x415cd9
mov eax, ebx
cmp eax, 6
je 0x415d24
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0x44]
call fcn.004166e9
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.0041683b
mov byte [ebp - 4], 2
mov esi, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.0041ae0a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call fcn.00402217
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402217
mov eax, esi
jmp 0x4161f1
push 0x438250
push dword [ebp - 4]
push 0x41f3ba
push 3
push 0x520bf0
call fcn.00429330
add esp, 0x14
test eax, eax
jne 0x4160f9
mov eax, dword [ebp]
push 0x28
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x50], ebx
mov esi, dword [eax + 4]
pop ecx
test esi, esi
je 0x415e98
xor eax, eax
inc eax
mov dword [ebp + 0x54], eax
mov edi, ebx
push eax
lea ecx, [ebp + 0x58]
call fcn.0041670f
mov eax, dword [ebp + 0x5c]
mov ebx, dword [ebp + 0x58]
sub eax, ebx
push 0x28
cdq
pop ecx
idiv ecx
mov edx, dword [ebp + 0x54]
lea ecx, [edx - 1]
cmp eax, ecx
jbe 0x415e8e
mov dword [ebx + edi + 4], edx
mov dword [ebx + edi], esi
test dword [esi], 0x100
je 0x415da8
mov dword [ebx + edi + 0x20], 0x51b8d4
jmp 0x415e44
mov eax, dword [0x522910]
test eax, eax
je 0x415db5
call eax
jmp 0x415ddb
cmp dword [0x520c48], 0
je 0x415ddb
push 0x18
pop eax
call fcn.0041f3e0
push esp
push 0x51b8d8
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
push 0
lea eax, [ebp + 0x38]
push eax
push esi
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041b096
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x24]
call fcn.00411160
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x33c]
call fcn.00402217
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x415e1c
lea eax, [ebp - 0x24]
push eax
call fcn.0041f490
push eax
mov dword [ebx + edi + 0x20], eax
call fcn.0041df60
pop ecx
pop ecx
test eax, eax
jne 0x415e3c
test byte [esi], 2
je 0x415e44
call fcn.00414d19
mov eax, dword [esi]
and eax, 1
or dword [ebp + 0x50], eax
push dword [ebx + edi + 0x20]
lea ecx, [ebp - 0x1ec]
call fcn.004021ea
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp + 0x38]
call fcn.0041664d
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ec]
call fcn.00402217
mov eax, dword [ebp + 0x54]
mov esi, dword [esi + 0x10]
push 0x28
pop ecx
add edi, ecx
inc eax
mov dword [ebp + 0x54], eax
test esi, esi
jne 0x415d67
jmp 0x415e9b
push str.invalid_vector_T__subscript
call fcn.0041ba29
mov ebx, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov esi, ebx
cmp ebx, edi
je 0x416027
mov eax, dword [esi]
test byte [eax], 0x20
je 0x41601a
push dword [esi + 0x20]
call fcn.0041df60
pop ecx
test eax, eax
je 0x416017
mov eax, dword [esi]
test dword [eax], 0x80000000
jne 0x416017
push 1
lea ecx, [ebp + 0x38]
push ecx
push dword [eax + 0x24]
lea eax, [ebp - 0x2dc]
push eax
call fcn.0041718c
add esp, 0x10
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x3c]
call fcn.00411160
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
call fcn.00402217
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x415f12
lea eax, [ebp - 0x3c]
push eax
call fcn.0041f490
mov dword [esi + 0x1c], eax
mov eax, dword [0x522910]
pop ecx
test eax, eax
je 0x415f29
call eax
jmp 0x415f4f
cmp dword [0x520c48], 0
je 0x415f4f
push 0x18
pop eax
call fcn.0041f3e0
push esp
push 0x51b8d8
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
mov edx, esi
lea ecx, [ebp - 0xe4]
call fcn.004150bf
mov eax, dword [0x5215c8]
test eax, eax
je 0x415f6c
push dword [esi + 8]
call eax
jmp 0x415f94
cmp dword [0x520c48], 0
je 0x415f92
push 0x18
pop eax
call fcn.0041f3e0
push esp
push 0x51b8f0
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
xor eax, eax
mov edx, eax
lea ecx, [ebp - 0x294]
call fcn.004148c2
mov ebx, eax
push 0x28
pop ecx
mov byte [ebp - 4], cl
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x27c]
call fcn.00414872
mov edi, eax
mov byte [ebp - 4], 0x29
push 0x51b908
lea ecx, [ebp - 0x324]
call fcn.004021ea
mov byte [ebp - 4], 0x2a
push ebx
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00411583
push eax
lea ecx, [ebp + 0x38]
call fcn.00418f0c
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x324]
call fcn.00402217
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x27c]
call fcn.00402217
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x294]
call fcn.00402217
mov edi, dword [ebp + 0x5c]
push 0x28
pop ecx
add esi, ecx
cmp esi, edi
jne 0x415ea8
mov ebx, dword [ebp + 0x58]
cmp dword [ebp + 0x50], 0
je 0x41616a
cmp ebx, edi
je 0x4160c8
lea esi, [ebx + 8]
cmp dword [esi], 0
je 0x4160bb
mov eax, dword [esi - 8]
test byte [eax], 0x80
je 0x4160bb
mov eax, dword [0x520fcc]
test eax, eax
je 0x41605d
push 0x5265c00
push dword [esi]
call eax
jmp 0x416083
cmp dword [0x520c48], 0
je 0x416083
push 0x1c
pop eax
call fcn.0041f3e0
push esp
push 0x51b790
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
mov eax, dword [0x521fbc]
test eax, eax
je 0x416092
push dword [esi]
call eax
jmp 0x4160b8
cmp dword [0x520c48], 0
je 0x4160b8
push 0x14
pop eax
call fcn.0041f3e0
push esp
push 0x51b910
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
push 0x28
pop ecx
add esi, ecx
lea eax, [esi - 8]
cmp eax, edi
jne 0x41603c
mov esi, ebx
cmp ebx, edi
je 0x41616a
mov eax, dword [esi]
test byte [eax], 1
je 0x4160f1
push dword [esi + 0x20]
call fcn.0041df60
pop ecx
test eax, eax
je 0x4160ee
mov ecx, dword [esi + 0x20]
call fcn.00414a29
push 0x28
pop ecx
add esi, ecx
cmp esi, edi
jne 0x4160d2
jmp 0x41616a
mov ebx, dword [ebp + 0x58]
mov dword [ebp + 0x1c], 0xff
cmp ebx, dword [ebp + 0x5c]
je 0x41616a
lea esi, [ebx + 0x20]
cmp dword [esi - 0x18], 0
je 0x416149
mov eax, dword [0x520e44]
test eax, eax
je 0x416123
push 0xffffffffffffffff
push dword [esi - 0x18]
call eax
jmp 0x416149
cmp dword [0x520c48], 0
je 0x416149
push 0x1c
pop eax
call fcn.0041f3e0
push esp
push 0x51b84c
call fcn.0040e784
push eax
call dword [0x520c48]
add esp, 0xc
push dword [esi]
call fcn.0041df60
pop ecx
test eax, eax
je 0x41615c
mov ecx, dword [esi]
call fcn.00414a29
add esi, 0x28
lea eax, [esi - 0x20]
cmp eax, dword [ebp + 0x5c]
jne 0x41610b
mov ebx, dword [ebp + 0x58]
mov esi, dword [0x522ac0]
jmp 0x416188
cmp dword [esi + 0x14], 0x10
jb 0x41617c
mov eax, dword [esi]
jmp 0x41617e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esi, 0x18
cmp esi, dword [0x522ac4]
jne 0x416172
call fcn.004179c8
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x44]
call fcn.004166e9
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.0041683b
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4161c7
push ebx
call fcn.0041e2af
xor eax, eax
pop ecx
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.0041ae0a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402217
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402217
mov eax, dword [ebp + 0x1c]
lea esp, [ebp - 0x89c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret