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

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x429cb4
call fcn.0041e59c
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 ebx
lea ecx, [ebp - 0xe4]
call fcn.0041a12a
mov byte [ebp - 4], 2
cmp byte [ebp - 0xb4], bl
jne 0x414af9
push 0xfffffffffffffffd
pop esi
jmp 0x415312
mov eax, dword [ebp - 0xd8]
mov dword [ebp + 0x58], ebx
mov eax, dword [eax]
mov dword [ebp + 0x5c], ebx
mov al, byte [eax + 8]
shr al, 3
and al, 1
mov byte [0x640be8], al
mov dword [ebp + 0x60], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe4]
mov dword [ebp], eax
test esi, esi
je 0x414e3f
cmp byte [esi], 0x21
jne 0x414e3f
movsx eax, byte [esi + 1]
push eax
call fcn.0041e129
pop ecx
cmp eax, 0x78
jne 0x414e3f
cmp byte [esi + 2], 0x3a
jne 0x414e3f
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 0x414b7e
cmp bl, 0x20
je 0x414b8b
push ebx
lea ecx, [ebp - 0x54]
call fcn.00410a60
inc esi
mov bl, byte [esi]
test bl, bl
jne 0x414b6f
jmp 0x414b8b
cmp al, 0x20
jne 0x414b91
inc esi
mov al, byte [esi]
test al, al
jne 0x414b86
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x414b9d
lea eax, [ebp - 0x54]
push eax
call fcn.0041ea53
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 0x414df4
xor ecx, ecx
inc ecx
cmp edx, ecx
je 0x414bcf
mov eax, dword [eax + 0xc]
inc ecx
test eax, eax
jne 0x414bbe
jmp 0x414df4
test dword [eax], 0x800
je 0x414df4
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041ab21
mov byte [ebp - 4], 5
cmp dword [ebp - 0x74], 0
je 0x414de5
mov eax, dword [0x64183c]
test eax, eax
je 0x414c16
push 0x104
lea ecx, [ebp - 0x648]
push ecx
push ebx
call eax
jmp 0x414c43
cmp dword [0x640c48], 0
je 0x414c41
push 0x1c
pop eax
call fcn.0041e9c0
push esp
push 0x63b830
call fcn.0040de8b
push eax
call dword [0x640c48]
add esp, 0xc
jmp 0x414de5
mov eax, ebx
test eax, eax
je 0x414de5
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 0x414c6e
mov eax, ebx
jmp 0x414c7b
lea eax, [ebp - 0x648]
push eax
call fcn.0041d71d
pop ecx
push eax
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004025b7
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.00410b23
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 4]
call fcn.00415bee
push 0x22
lea ecx, [ebp + 4]
call fcn.00410b23
push 0x20
lea ecx, [ebp + 4]
call fcn.00410b23
push ebx
mov edx, esi
lea ecx, [ebp - 0x2f4]
call fcn.00411ad8
pop ecx
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp + 4]
call fcn.00415bee
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0x2f4]
call fcn.00402477
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.00402533
cmp dword [ebp - 0x70], 0x10
mov eax, dword [0x640bec]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x84]
jae 0x414d6f
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0xa8]
push ecx
push 0x48
push dword [ebp - 0x74]
lea ecx, [ebp - 0x890]
push eax
call fcn.0040e3ac
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x18], 8
mov edx, dword [ebp + 4]
jae 0x414d97
lea edx, [ebp + 4]
push ecx
lea ecx, [ebp - 0x890]
call fcn.004106d8
pop ecx
mov edi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x890]
call fcn.0040e8e5
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.00402477
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp + 4]
call fcn.00402477
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.00402477
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00402161
cmp dword [0x640e74], 0
je 0x414e0d
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x640e74]
jmp 0x414e33
cmp dword [0x640c48], 0
je 0x414e33
push 0x1c
pop eax
call fcn.0041e9c0
push esp
push str.aE0Mr
call fcn.0040de8b
push eax
call dword [0x640c48]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00402161
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.00413fca
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00415c66
mov eax, dword [ebp - 0xd8]
mov dword [ebp + 0x30], ebx
mov eax, dword [eax]
mov dword [ebp + 0x34], ebx
mov dword [0x640c30], 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 0x414ea6
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00417a40
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 0x414f47
cmp byte [ebp - 0x440], 0
jne 0x414edc
mov eax, ebx
jmp 0x414ee9
lea eax, [ebp - 0x440]
push eax
call fcn.0041d5e0
pop ecx
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp + 0x20]
call fcn.004024bb
jmp 0x414f40
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
mov edi, ecx
cmp edx, 0x10
jae 0x414f0b
lea edi, [ebp + 0x20]
cmp byte [edi + eax - 1], 0x5c
jne 0x414f4d
dec eax
push eax
push ebx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp + 0x20]
call fcn.00410a91
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp + 0x20]
call fcn.0041098d
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c4]
call fcn.00402161
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x414efb
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
push 0x10
pop edi
cmp edx, edi
jae 0x414f57
lea ecx, [ebp + 0x20]
mov dl, 1
call fcn.004173e0
test al, al
jne 0x414f74
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp + 0x20]
call fcn.00402639
lea ecx, [ebp - 0xfc]
call fcn.00418024
mov byte [ebp - 4], 0x13
push esi
lea ecx, [ebp - 0x24c]
call fcn.00402134
mov byte [ebp - 4], 0x14
push 0x63b868
lea ecx, [ebp - 0x1a4]
call fcn.00402134
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418525
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1a4]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x24c]
call fcn.00402161
push 0x63b870
lea ecx, [ebp - 0x1d4]
call fcn.00402134
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418525
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d4]
call fcn.00402161
push 0x63b878
lea ecx, [ebp - 0x21c]
call fcn.00402134
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418525
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x21c]
call fcn.00402161
push 0x1a
pop edx
lea ecx, [ebp - 0x264]
call fcn.00417ed4
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], edi
jb 0x415063
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402134
mov byte [ebp - 4], 0x19
push 0x63b880
lea ecx, [ebp - 0x174]
call fcn.00402134
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418525
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x174]
call fcn.00402161
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x234]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x264]
call fcn.00402161
push 0x1c
pop edx
lea ecx, [ebp - 0x30c]
call fcn.00417ed4
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], edi
jb 0x4150e3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x204]
call fcn.00402134
mov byte [ebp - 4], 0x1c
push 0x63b888
lea ecx, [ebp - 0x12c]
call fcn.00402134
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418525
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x12c]
call fcn.00402161
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x204]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x30c]
call fcn.00402161
push 0x26
pop edx
lea ecx, [ebp - 0x2ac]
call fcn.00417ed4
mov byte [ebp - 4], 0x1e
cmp dword [eax + 0x14], edi
jb 0x415163
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00402134
mov byte [ebp - 4], 0x1f
push 0x63b898
lea ecx, [ebp - 0x144]
call fcn.00402134
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418525
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x144]
call fcn.00402161
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x15c]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2ac]
call fcn.00402161
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0xe8], edi
jae 0x4151de
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00402134
mov byte [ebp - 4], 0x21
push 0x63b8a8
lea ecx, [ebp - 0x18c]
call fcn.00402134
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp + 0x38]
call fcn.00418525
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x18c]
call fcn.00402161
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1bc]
call fcn.00402161
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xfc]
call fcn.00402161
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x114]
call fcn.00402161
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0x20]
call fcn.00402161
cmp byte [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xd8]
je 0x41527c
mov eax, dword [ecx]
test byte [eax + 8], 4
je 0x41527c
xor eax, eax
inc eax
jmp 0x41527e
mov eax, ebx
test al, al
je 0x41533f
mov eax, dword [ecx + 4]
jmp 0x415294
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x415298
mov eax, ecx
test eax, eax
jne 0x41528b
test eax, eax
je 0x41533f
test dword [eax], 0x10000
je 0x41533f
mov ecx, dword [0x6410a4]
test ecx, ecx
je 0x4152c5
push 4
push 0x63b8b4
push dword [eax + 0x1c]
push ebx
call ecx
jmp 0x4152ef
cmp dword [0x640c48], 0
je 0x4152ed
push 0x14
pop eax
call fcn.0041e9c0
push esp
push 0x63b8c0
call fcn.0040de8b
push eax
call dword [0x640c48]
add esp, 0xc
jmp 0x4152f4
mov eax, ebx
cmp eax, 6
je 0x41533f
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0x44]
call fcn.00415d02
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.00415e54
mov byte [ebp - 4], 2
mov esi, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.0041a408
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call fcn.00402161
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402161
mov eax, esi
jmp 0x41580c
push 0x437080
push dword [ebp - 4]
push 0x41e99e
push 3
push 0x640bf0
call fcn.004289a0
add esp, 0x14
test eax, eax
jne 0x415714
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 0x4154b3
xor eax, eax
inc eax
mov dword [ebp + 0x54], eax
mov edi, ebx
push eax
lea ecx, [ebp + 0x58]
call fcn.00415d28
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 0x4154a9
mov dword [ebx + edi + 4], edx
mov dword [ebx + edi], esi
test dword [esi], 0x100
je 0x4153c3
mov dword [ebx + edi + 0x20], 0x63b8d4
jmp 0x41545f
mov eax, dword [0x6427e8]
test eax, eax
je 0x4153d0
call eax
jmp 0x4153f6
cmp dword [0x640c48], 0
je 0x4153f6
push 0x18
pop eax
call fcn.0041e9c0
push esp
push 0x63b8d8
call fcn.0040de8b
push eax
call dword [0x640c48]
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.0041a687
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0x24]
call fcn.0041098d
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x33c]
call fcn.00402161
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x415437
lea eax, [ebp - 0x24]
push eax
call fcn.0041eafc
push eax
mov dword [ebx + edi + 0x20], eax
call fcn.0041d5e0
pop ecx
pop ecx
test eax, eax
jne 0x415457
test byte [esi], 2
je 0x41545f
call fcn.0041433d
mov eax, dword [esi]
and eax, 1
or dword [ebp + 0x50], eax
push dword [ebx + edi + 0x20]
lea ecx, [ebp - 0x1ec]
call fcn.00402134
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp + 0x38]
call fcn.00415c66
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1ec]
call fcn.00402161
mov eax, dword [ebp + 0x54]
mov esi, dword [esi + 0xc]
push 0x28
pop ecx
add edi, ecx
inc eax
mov dword [ebp + 0x54], eax
test esi, esi
jne 0x415382
jmp 0x4154b6
push str.invalid_vector_T__subscript
call fcn.0041b09b
mov ebx, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov esi, ebx
cmp ebx, edi
je 0x415642
mov eax, dword [esi]
test byte [eax], 0x20
je 0x415635
push dword [esi + 0x20]
call fcn.0041d5e0
pop ecx
test eax, eax
je 0x415632
mov eax, dword [esi]
test dword [eax], 0x80000000
jne 0x415632
push 1
lea ecx, [ebp + 0x38]
push ecx
push dword [eax + 0x1c]
lea eax, [ebp - 0x2dc]
push eax
call fcn.004167a5
add esp, 0x10
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041098d
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2dc]
call fcn.00402161
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
jae 0x41552d
lea eax, [ebp - 0x3c]
push eax
call fcn.0041eafc
mov dword [esi + 0x1c], eax
mov eax, dword [0x6427e8]
pop ecx
test eax, eax
je 0x415544
call eax
jmp 0x41556a
cmp dword [0x640c48], 0
je 0x41556a
push 0x18
pop eax
call fcn.0041e9c0
push esp
push 0x63b8d8
call fcn.0040de8b
push eax
call dword [0x640c48]
add esp, 0xc
mov edx, esi
lea ecx, [ebp - 0xe4]
call fcn.004146e3
mov eax, dword [0x6410d8]
test eax, eax
je 0x415587
push dword [esi + 8]
call eax
jmp 0x4155af
cmp dword [0x640c48], 0
je 0x4155ad
push 0x18
pop eax
call fcn.0041e9c0
push esp
push 0x63b8f0
call fcn.0040de8b
push eax
call dword [0x640c48]
add esp, 0xc
xor eax, eax
mov edx, eax
lea ecx, [ebp - 0x294]
call fcn.00413ee6
mov ebx, eax
push 0x28
pop ecx
mov byte [ebp - 4], cl
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x27c]
call fcn.00413e96
mov edi, eax
mov byte [ebp - 4], 0x29
push 0x63b908
lea ecx, [ebp - 0x324]
call fcn.00402134
mov byte [ebp - 4], 0x2a
push ebx
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00410dd2
push eax
lea ecx, [ebp + 0x38]
call fcn.00418525
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x324]
call fcn.00402161
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x27c]
call fcn.00402161
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x294]
call fcn.00402161
mov edi, dword [ebp + 0x5c]
push 0x28
pop ecx
add esi, ecx
cmp esi, edi
jne 0x4154c3
mov ebx, dword [ebp + 0x58]
cmp dword [ebp + 0x50], 0
je 0x415785
cmp ebx, edi
je 0x4156e3
lea esi, [ebx + 8]
cmp dword [esi], 0
je 0x4156d6
mov eax, dword [esi - 8]
test byte [eax], 0x80
je 0x4156d6
mov eax, dword [0x641494]
test eax, eax
je 0x415678
push 0x5265c00
push dword [esi]
call eax
jmp 0x41569e
cmp dword [0x640c48], 0
je 0x41569e
push 0x1c
pop eax
call fcn.0041e9c0
push esp
push 0x63b794
call fcn.0040de8b
push eax
call dword [0x640c48]
add esp, 0xc
mov eax, dword [0x641920]
test eax, eax
je 0x4156ad
push dword [esi]
call eax
jmp 0x4156d3
cmp dword [0x640c48], 0
je 0x4156d3
push 0x14
pop eax
call fcn.0041e9c0
push esp
push 0x63b910
call fcn.0040de8b
push eax
call dword [0x640c48]
add esp, 0xc
push 0x28
pop ecx
add esi, ecx
lea eax, [esi - 8]
cmp eax, edi
jne 0x415657
mov esi, ebx
cmp ebx, edi
je 0x415785
mov eax, dword [esi]
test byte [eax], 1
je 0x41570c
push dword [esi + 0x20]
call fcn.0041d5e0
pop ecx
test eax, eax
je 0x415709
mov ecx, dword [esi + 0x20]
call fcn.0041404d
push 0x28
pop ecx
add esi, ecx
cmp esi, edi
jne 0x4156ed
jmp 0x415785
mov ebx, dword [ebp + 0x58]
mov dword [ebp + 0x1c], 0xff
cmp ebx, dword [ebp + 0x5c]
je 0x415785
lea esi, [ebx + 0x20]
cmp dword [esi - 0x18], 0
je 0x415764
mov eax, dword [0x640e74]
test eax, eax
je 0x41573e
push 0xffffffffffffffff
push dword [esi - 0x18]
call eax
jmp 0x415764
cmp dword [0x640c48], 0
je 0x415764
push 0x1c
pop eax
call fcn.0041e9c0
push esp
push str.aE0Mr
call fcn.0040de8b
push eax
call dword [0x640c48]
add esp, 0xc
push dword [esi]
call fcn.0041d5e0
pop ecx
test eax, eax
je 0x415777
mov ecx, dword [esi]
call fcn.0041404d
add esi, 0x28
lea eax, [esi - 0x20]
cmp eax, dword [ebp + 0x5c]
jne 0x415726
mov ebx, dword [ebp + 0x58]
mov esi, dword [0x642958]
jmp 0x4157a3
cmp dword [esi + 0x14], 0x10
jb 0x415797
mov eax, dword [esi]
jmp 0x415799
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esi, 0x18
cmp esi, dword [0x64295c]
jne 0x41578d
call fcn.00416fe1
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x44]
call fcn.00415d02
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x38]
call fcn.00415e54
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4157e2
push ebx
call fcn.0041d92f
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.0041a408
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402161
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402161
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