Function at 0x414230
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44880f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x658
push ebx
push esi
mov eax, 1
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x50], eax
call fcn.00404100
cmp eax, 6
jne 0x414826
cmp dword [ebp + 0x10], ebx
jne 0x414839
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
push ecx
push ebx
push ebx
push 6
push esi
push ebx
call sub.WINSPOOL.DRV_EnumPrinterDriversA
test eax, eax
jne 0x4142aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x414826
mov edx, dword [ebp - 0x54]
add edx, 0x100
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x40], edi
je 0x415058
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
push ecx
push edx
push edi
push 6
push esi
push ebx
call sub.WINSPOOL.DRV_EnumPrinterDriversA
cmp eax, ebx
je 0x41481f
cmp dword [ebp - 0x5c], ebx
je 0x41481f
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
jae 0x4147f3
mov edx, dword [ebp - 0x40]
mov eax, ecx
lea ecx, [eax + eax*4]
shl ecx, 4
mov eax, dword [ecx + edx + 4]
lea esi, [ecx + edx]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414817
mov ecx, dword [esi + 0x48]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402470
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 4], ebx
call fcn.0040d140
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edi, dword [esi + 0x1c]
mov byte [ebp - 4], 2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41445c
cmp edi, ebx
jne 0x41437f
xor eax, eax
jmp 0x41438d
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414384
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.00401a70
mov esi, dword [ebp - 0x14]
push 0x5c
push esi
call fcn.0042dfa2
add esp, 8
cmp eax, ebx
jne 0x4143ae
or eax, 0xffffffff
jmp 0x4143b0
sub eax, esi
mov ecx, dword [esi - 0xc]
inc eax
sub ecx, eax
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405c40
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401e30
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4143f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [ebp - 0x14]
mov eax, edx
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414406
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x38]
call fcn.00405ff0
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 4
call fcn.00412f40
cmp dword [ebp - 0x20], 0x10
mov byte [ebp - 4], 2
jb 0x41443f
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0043cc88
add esp, 4
push edi
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [edi + eax + 1]
jmp 0x414368
mov eax, dword [ebp - 0x18]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x40]
shl edx, 4
add eax, edx
mov edx, dword [eax + 0x14]
cmp edx, ebx
mov dword [ebp - 0x18], eax
jne 0x414478
xor eax, eax
jmp 0x414489
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414480
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x14]
call fcn.00401a70
mov esi, dword [ebp - 0x14]
push 0x5c
push esi
call fcn.0042dfa2
add esp, 8
cmp eax, ebx
jne 0x4144aa
or eax, 0xffffffff
jmp 0x4144ac
sub eax, esi
mov ecx, dword [esi - 0xc]
inc eax
sub ecx, eax
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00405c40
mov esi, dword [eax]
mov edi, 0xf
mov eax, esi
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4144d8
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00405ff0
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 6
call fcn.00412f40
cmp dword [ebp - 0x20], 0x10
jb 0x41450d
mov eax, dword [ebp - 0x34]
push eax
call fcn.0043cc88
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414537
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x10]
cmp edx, ebx
jne 0x414545
xor eax, eax
jmp 0x414559
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414550
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x14]
call fcn.00401a70
mov esi, dword [ebp - 0x14]
push 0x5c
push esi
call fcn.0042dfa2
add esp, 8
cmp eax, ebx
jne 0x41457a
or eax, 0xffffffff
jmp 0x41457c
sub eax, esi
mov ecx, dword [esi - 0xc]
inc eax
sub ecx, eax
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00405c40
mov esi, dword [eax]
mov eax, esi
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4145a3
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00405ff0
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 8
call fcn.00412f40
cmp dword [ebp - 0x20], 0x10
jb 0x4145d8
mov eax, dword [ebp - 0x34]
push eax
call fcn.0043cc88
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414602
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x18]
cmp edx, ebx
jne 0x414610
xor eax, eax
jmp 0x41461e
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414615
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x14]
call fcn.00401a70
mov esi, dword [ebp - 0x14]
push 0x5c
push esi
call fcn.0042dfa2
add esp, 8
cmp eax, ebx
jne 0x41463f
or eax, 0xffffffff
jmp 0x414641
sub eax, esi
mov ecx, dword [esi - 0xc]
inc eax
sub ecx, eax
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00405c40
mov esi, dword [eax]
mov eax, esi
mov byte [ebp - 4], 9
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414668
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00405ff0
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 0xa
call fcn.00412f40
cmp dword [ebp - 0x20], 0x10
jb 0x41469d
mov eax, dword [ebp - 0x34]
push eax
call fcn.0043cc88
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4146c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
cmp edx, ebx
jne 0x4146d5
xor eax, eax
jmp 0x4146e9
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4146e0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x14]
call fcn.00401a70
mov edi, dword [ebp - 0x14]
push 0x5c
push edi
call fcn.0042dfa2
add esp, 8
cmp eax, ebx
jne 0x41470a
or eax, 0xffffffff
jmp 0x41470c
sub eax, edi
mov ecx, dword [edi - 0xc]
inc eax
sub ecx, eax
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00405c40
mov esi, dword [eax]
mov eax, esi
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414737
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00405ff0
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 0xc
call fcn.00412f40
cmp dword [ebp - 0x20], 0x10
jb 0x41476c
mov eax, dword [ebp - 0x34]
push eax
call fcn.0043cc88
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4147b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4147b2
lea eax, [edi - 0x10]
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4147cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4147f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [ebp - 0x18]
jmp 0x4142f6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x420]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x31c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x664]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.00409d80
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x31c]
push 0x44bbe8
push eax
call esi
lea ecx, [ebp - 0x31c]
push ecx
lea edx, [ebp - 0x218]
push str._s.
push edx
call esi
add esp, 0x20
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.0040bea0
mov dword [ebp - 0x48], eax
mov byte [eax + 0x45], 1
mov eax, dword [ebp - 0x48]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [eax], eax
mov eax, dword [ebp - 0x48]
mov dword [eax + 8], eax
mov dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
call fcn.00409c60
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00410150
mov eax, dword [ebp - 0x48]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], ebx
mov dword [eax], eax
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x98]
mov dword [eax + 8], eax
call fcn.00409c60
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.00413b40
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x94]
add esp, 8
cmp eax, ebx
je 0x414e4e
mov ecx, dword [ebp - 0x90]
mov edx, eax
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x1c], ecx
je 0x414e4e
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x18], edx
nop
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x90]
je 0x414e2a
push 0xffffffffffffffff
mov ecx, eax
push ebx
push ecx
mov esi, 0xf
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00405f00
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 0x11
jae 0x4149d7
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414ded
mov eax, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4149f5
sub eax, esi
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00405ff0
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call fcn.0040bfa0
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040bee0
mov edi, eax
cmp dword [ebp - 0x20], 0x10
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 0x11
jb 0x414a4a
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0043cc88
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
jmp 0x414a60
cmp edi, dword [ebp - 0x9c]
je 0x414c20
push 0xffffffffffffffff
lea eax, [edi + 0x28]
push ebx
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0xf4], bl
call fcn.00405f00
mov esi, dword [ebp - 0x68]
cmp esi, dword [ebp - 0x64]
mov byte [ebp - 4], 0x13
je 0x414b6e
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.00405f00
cmp dword [ebp - 0xa8], 0x10
mov ecx, dword [ebp - 0xbc]
jae 0x414ade
lea ecx, [ebp - 0xbc]
cmp dword [ebp - 0xe0], 0x10
mov eax, dword [ebp - 0xf4]
jae 0x414af3
lea eax, [ebp - 0xf4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
mov eax, dword [ebp - 0xa8]
je 0x414b3f
cmp eax, 0x10
jb 0x414b19
mov edx, dword [ebp - 0xbc]
push edx
call fcn.0043cc88
add esp, 4
mov eax, dword [ebp - 0x64]
add esi, 0x1c
cmp esi, eax
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
jne 0x414aa4
jmp 0x414b6e
cmp eax, 0x10
jb 0x414b53
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0043cc88
add esp, 4
cmp esi, dword [ebp - 0x64]
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
jne 0x414b99
lea ecx, [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
call fcn.00412f40
jmp 0x414b99
cmp dword [ebp - 0xe0], 0x10
mov dword [ebp - 4], 0x11
jb 0x414bb8
mov edx, dword [ebp - 0xf4]
push edx
call fcn.0043cc88
add esp, 4
cmp byte [edi + 0x45], bl
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 0xf4], bl
jne 0x414a60
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x45], bl
jne 0x414bfc
mov eax, dword [ecx]
cmp byte [eax + 0x45], bl
jne 0x414bef
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], bl
je 0x414be6
mov edi, ecx
mov dword [ebp - 0xa0], edi
jmp 0x414a60
mov eax, dword [edi + 4]
cmp byte [eax + 0x45], bl
jne 0x414c13
cmp edi, dword [eax + 8]
jne 0x414c13
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], bl
je 0x414c04
mov edi, eax
mov dword [ebp - 0xa0], edi
jmp 0x414a60
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
je 0x414dea
mov edi, 0xf
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x100], ebx
mov byte [ebp - 0x110], bl
call fcn.00405f00
mov ecx, dword [ebp + 0x18]
mov esi, dword [ecx + 4]
mov edx, ecx
cmp esi, dword [edx + 8]
mov byte [ebp - 4], 0x16
je 0x414da8
lea ecx, [ecx]
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
call fcn.00405f00
cmp dword [ebp - 0xc4], 0x10
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 0x17
jae 0x414caa
lea ecx, [ebp - 0xd8]
cmp dword [ebp - 0xfc], 0x10
mov eax, dword [ebp - 0x110]
jae 0x414cbf
lea eax, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x414d0f
cmp dword [ebp - 0xc4], 0x10
mov byte [ebp - 4], 0x16
jb 0x414ce7
mov eax, dword [ebp - 0xd8]
push eax
call fcn.0043cc88
add esp, 4
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 8]
add esi, 0x1c
cmp esi, eax
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
jne 0x414c70
jmp 0x414da8
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
lea edi, [esi + 0x1c]
cmp edi, eax
mov dword [ebp - 0x1c], eax
je 0x414d37
sub esi, edi
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [edi + esi]
call fcn.00405f00
mov eax, dword [ebp - 0x1c]
add edi, 0x1c
cmp edi, eax
jne 0x414d21
mov eax, dword [ebp + 0x18]
mov esi, dword [eax + 8]
lea edi, [esi - 0x1c]
cmp edi, esi
je 0x414d71
add edi, 0x18
cmp dword [edi], 0x10
jb 0x414d58
mov eax, dword [edi - 0x14]
push eax
call fcn.0043cc88
add esp, 4
mov dword [edi], 0xf
mov dword [edi - 4], ebx
mov byte [edi - 0x14], bl
add edi, 0x1c
lea eax, [edi - 0x18]
cmp eax, esi
jne 0x414d47
mov eax, dword [ebp + 0x18]
add dword [eax + 8], 0xffffffe4
cmp dword [ebp - 0xc4], 0x10
jb 0x414d8d
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.0043cc88
add esp, 4
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov edi, 0xf
cmp dword [ebp - 0xfc], 0x10
mov byte [ebp - 4], 0x11
jb 0x414dc4
mov edx, dword [ebp - 0x110]
push edx
call fcn.0043cc88
add esp, 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x64]
add eax, 0x1c
cmp eax, ecx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x100], ebx
mov byte [ebp - 0x110], bl
mov dword [ebp - 0x40], eax
jne 0x414c34
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0x70], 0x10
mov byte [ebp - 4], 0x10
jb 0x414e06
mov eax, dword [ebp - 0x84]
push eax
call fcn.0043cc88
add esp, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
add eax, 0x1c
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov dword [ebp - 0x18], eax
jmp 0x414990
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x414e4e
mov ecx, dword [ebp - 0x64]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x58], ecx
jne 0x414e57
cmp dword [ebp - 0x14], 1
jne 0x414e57
mov dword [ebp - 0x3c], ebx
lea edx, [ebp - 0x560]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x1c], edi
je 0x414fc8
cmp dword [ebp - 0xa4], ebx
je 0x414fbf
jmp 0x414e90
lea ecx, [ebp - 0x534]
push ecx
lea edx, [ebp - 0x31c]
push edx
lea eax, [ebp - 0x218]
push 0x44bbe8
push eax
call esi
mov eax, dword [ebp - 0x3c]
add esp, 0x10
cmp eax, 1
jne 0x414f92
lea ecx, [ebp - 0x534]
push ecx
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x664]
push str._s3_s
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x664]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x414f92
mov eax, dword [ebp + 0x18]
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x414fa6
mov edi, edi
push 0xffffffffffffffff
push ebx
mov esi, 0xf
push edi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00405f00
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x84]
jae 0x414f32
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x534]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414f58
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, ebx
jne 0x414f58
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x70], 0x10
jb 0x414f6d
mov eax, dword [ebp - 0x84]
push eax
call fcn.0043cc88
add esp, 4
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 8]
add edi, 0x1c
cmp edi, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
jne 0x414f00
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x414fa6
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, ebx
jne 0x414fa6
mov dword [ebp - 0x50], ebx
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x560]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, ebx
jne 0x414e90
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x414fcf
mov dword [ebp - 0x50], 1
lea ecx, [ebp - 0x31c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00411590
mov eax, dword [ebp - 0x48]
push eax
call fcn.0043cc88
mov esi, dword [ebp - 0x68]
add esp, 4
cmp esi, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
je 0x41502d
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x64]
push ecx
lea edx, [ebp - 0x6c]
push edx
push eax
push esi
call fcn.00406de0
push esi
call fcn.0043cc88
add esp, 0x14
mov esi, dword [ebp - 0x94]
cmp esi, ebx
je 0x415058
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x90]
push ecx
lea edx, [ebp - 0x98]
push edx
push eax
push esi
call fcn.00406de0
push esi
call fcn.0043cc88
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x50]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret