Function at 0x4f9904
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3d
push 0
push 0
dec ecx
jne 0x4f990c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404100
xor eax, eax
push ebp
push 0x4fa910
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
call fcn.00404390
push eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8f4]
mov edx, 0xcb
call fcn.00478788
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov ecx, 0x4fa924
call fcn.004061ac
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00406274
mov eax, dword [ebp - 0x44]
mov edx, 0x4fa938
call fcn.00404500
je 0x4fa746
mov eax, dword [ebp - 4]
cmp byte [eax + 0x16084], 1
je 0x4fa746
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8f4]
mov edx, 0xcb
call fcn.00478788
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
mov ecx, 0x4fa924
call fcn.004061ac
lea ecx, [ebp - 0x1c]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004bafe8
lea ecx, [ebp - 0x54]
mov dl, 2
mov eax, dword [ebp - 8]
call fcn.004bafe8
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x20]
mov ecx, 0x4fa948
call fcn.00403f98
lea eax, [ebp - 0x10]
call fcn.00406178
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406274
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406274
mov eax, dword [ebp - 0x58]
mov edi, eax
dec edi
test edi, edi
jl 0x4f9d80
inc edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x5c]
call fcn.00406178
push eax
lea eax, [ebp - 0x6c]
xor edx, edx
call fcn.004052e8
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x14]
call fcn.004052e8
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406274
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x18]
mov ecx, 0x4fa94c
call fcn.004061ac
lea eax, [ebp - 0x80]
call fcn.00404390
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00406274
mov eax, dword [ebp - 0x80]
mov edx, 0x4fa960
call fcn.00404500
je 0x4f9af7
lea eax, [ebp - 0x84]
call fcn.00404390
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00406274
mov eax, dword [ebp - 0x84]
mov edx, 0x4fa96c
call fcn.00404500
je 0x4f9af7
lea eax, [ebp - 0x88]
call fcn.00404390
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00406274
mov eax, dword [ebp - 0x88]
mov edx, 0x4fa978
call fcn.00404500
jne 0x4f9d76
lea eax, [ebp - 0x40]
call fcn.004056c0
push eax
push 0
push 0x4fa994
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406274
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov edx, dword [ebp - 0x8c]
mov eax, 0x4fa9a4
call fcn.00404238
mov ebx, eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x40]
call fcn.004051b0
test ebx, ebx
jle 0x4f9b81
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x90]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0x90]
call fcn.00403f4c
sub eax, ebx
push eax
lea eax, [ebp - 0x94]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0x94]
lea edx, [ebx + 3]
pop ecx
call fcn.00404154
lea eax, [ebp - 0x28]
call fcn.00403ccc
lea eax, [ebp - 0x2c]
call fcn.00403ccc
mov eax, dword [ebp - 0x24]
call fcn.00403f4c
mov esi, eax
test esi, esi
jle 0x4f9c09
mov ebx, 1
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx - 1], 0x2f
jne 0x4f9bc5
lea eax, [ebp - 0x28]
call fcn.00403ccc
lea eax, [ebp - 0x2c]
mov edx, 0x4fa948
call fcn.00403f54
jmp 0x4f9c05
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403e74
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x2c]
call fcn.00403f54
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403e74
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x28]
call fcn.00403f54
inc ebx
dec esi
jne 0x4f9ba4
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, 0x4fa9b0
mov eax, 0x4fa9bc
call fcn.004baf00
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x2c]
call fcn.00403d64
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
call fcn.00403d64
mov eax, dword [ebp - 0x24]
call fcn.00409718
test al, al
je 0x4f9d76
push dword [ebp - 0x1c]
push 0x4fa948
push dword [ebp - 0x28]
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.0040400c
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x24]
call fcn.0040405c
je 0x4f9d76
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x24]
call fcn.0040405c
je 0x4f9d76
mov eax, dword [ebp - 0x1c]
call fcn.004099b8
push dword [ebp - 0x1c]
push 0x4fa948
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040400c
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00404110
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
call fcn.004053b8
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
push 0x4fa9c4
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406274
push 0
lea eax, [ebp - 0xd0]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
call fcn.004053b8
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
push 0x4fa994
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406274
inc dword [ebp - 0x14]
dec edi
jne 0x4f9a21
lea eax, [ebp - 0x18]
call fcn.00406178
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406274
lea eax, [ebp - 0xd4]
call fcn.00404390
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00406274
mov eax, dword [ebp - 0xd4]
mov edx, 0x4fa9d0
call fcn.00404500
jne 0x4fa00b
lea eax, [ebp - 0x40]
call fcn.004056c0
push eax
push 0
push 0x4fa978
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406274
lea eax, [ebp - 0x40]
mov edx, dword [0x503150]
call fcn.004055b0
je 0x4fa00b
lea eax, [ebp - 0xd8]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov edx, dword [ebp - 0xd8]
mov eax, 0x4fa9a4
call fcn.00404238
mov ebx, eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x40]
call fcn.004051b0
test ebx, ebx
jle 0x4f9e65
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xdc]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0xdc]
call fcn.00403f4c
sub eax, ebx
push eax
lea eax, [ebp - 0xe0]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0xe0]
lea edx, [ebx + 3]
pop ecx
call fcn.00404154
lea eax, [ebp - 0x28]
call fcn.00403ccc
lea eax, [ebp - 0x2c]
call fcn.00403ccc
mov eax, dword [ebp - 0x24]
call fcn.00403f4c
mov edi, eax
test edi, edi
jle 0x4f9eed
mov ebx, 1
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx - 1], 0x2f
jne 0x4f9ea9
lea eax, [ebp - 0x28]
call fcn.00403ccc
lea eax, [ebp - 0x2c]
mov edx, 0x4fa948
call fcn.00403f54
jmp 0x4f9ee9
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403e74
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x2c]
call fcn.00403f54
lea eax, [ebp - 0xe8]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403e74
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0x28]
call fcn.00403f54
inc ebx
dec edi
jne 0x4f9e88
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, 0x4fa9b0
mov eax, 0x4fa9bc
call fcn.004baf00
mov edx, dword [ebp - 0xec]
lea eax, [ebp - 0x2c]
call fcn.00403d64
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
call fcn.00403d64
mov eax, dword [ebp - 0x24]
call fcn.00409718
test al, al
je 0x4fa00b
push dword [ebp - 0x1c]
push 0x4fa948
push dword [ebp - 0x28]
lea eax, [ebp - 0xf0]
mov edx, 3
call fcn.0040400c
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x24]
call fcn.0040405c
je 0x4fa00b
lea eax, [ebp - 0xf4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x24]
call fcn.0040405c
je 0x4fa00b
mov eax, dword [ebp - 0x1c]
call fcn.004099b8
push dword [ebp - 0x1c]
push 0x4fa948
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040400c
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00404110
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x108]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.004053b8
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push dword [ebp - 0x104]
push 0x4fa978
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406274
lea eax, [ebp - 0x10]
call fcn.00406178
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00406274
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406274
mov eax, dword [ebp - 0x58]
mov edi, eax
dec edi
test edi, edi
jl 0x4fa3cf
inc edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10c]
call fcn.00406178
push eax
lea eax, [ebp - 0x11c]
xor edx, edx
call fcn.004052e8
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 0x14]
call fcn.004052e8
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406274
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x18]
mov ecx, 0x4fa94c
call fcn.004061ac
lea eax, [ebp - 0x130]
call fcn.00404390
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00406274
mov eax, dword [ebp - 0x130]
mov edx, 0x4fa9e0
call fcn.00404500
je 0x4fa11e
lea eax, [ebp - 0x134]
call fcn.00404390
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00406274
mov eax, dword [ebp - 0x134]
mov edx, 0x4fa9f4
call fcn.00404500
jne 0x4fa3c5
lea eax, [ebp - 0x40]
call fcn.004056c0
push eax
push 0
push 0x4faa08
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406274
lea eax, [ebp - 0x40]
mov edx, dword [0x503150]
call fcn.004055b0
je 0x4fa3c5
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004090d8
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x40]
call fcn.00405320
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov edx, dword [ebp - 0x140]
mov eax, 0x4faa1c
call fcn.00404238
test eax, eax
jle 0x4fa3c5
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov edx, dword [ebp - 0x144]
mov eax, 0x4fa9a4
call fcn.00404238
mov ebx, eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x40]
call fcn.004051b0
test ebx, ebx
jle 0x4fa20f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0x148]
call fcn.00403f4c
sub eax, ebx
push eax
lea eax, [ebp - 0x14c]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0x14c]
lea edx, [ebx + 3]
pop ecx
call fcn.00404154
lea eax, [ebp - 0x28]
call fcn.00403ccc
lea eax, [ebp - 0x2c]
call fcn.00403ccc
mov eax, dword [ebp - 0x24]
call fcn.00403f4c
mov esi, eax
test esi, esi
jle 0x4fa297
mov ebx, 1
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx - 1], 0x2f
jne 0x4fa253
lea eax, [ebp - 0x28]
call fcn.00403ccc
lea eax, [ebp - 0x2c]
mov edx, 0x4fa948
call fcn.00403f54
jmp 0x4fa293
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403e74
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x2c]
call fcn.00403f54
lea eax, [ebp - 0x154]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403e74
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x28]
call fcn.00403f54
inc ebx
dec esi
jne 0x4fa232
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, 0x4fa9b0
mov eax, 0x4fa9bc
call fcn.004baf00
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x2c]
call fcn.00403d64
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
call fcn.00403d64
mov eax, dword [ebp - 0x24]
call fcn.00409718
test al, al
je 0x4fa3c5
mov eax, dword [ebp - 0x24]
call fcn.00409718
test al, al
je 0x4fa3c5
push dword [ebp - 0x1c]
push 0x4fa948
push dword [ebp - 0x28]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040400c
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x24]
call fcn.0040405c
je 0x4fa3c5
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x24]
call fcn.0040405c
je 0x4fa3c5
mov eax, dword [ebp - 0x1c]
call fcn.004099b8
push dword [ebp - 0x1c]
push 0x4fa948
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040400c
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00404110
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x170]
call fcn.004053b8
push dword [ebp - 0x164]
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
push 0x4faa08
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406274
inc dword [ebp - 0x14]
dec edi
jne 0x4fa04a
lea eax, [ebp - 0x10]
call fcn.00406178
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
call fcn.00406274
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406274
mov eax, dword [ebp - 0x58]
mov edi, eax
dec edi
test edi, edi
jl 0x4fa731
inc edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x178]
call fcn.00406178
push eax
lea eax, [ebp - 0x188]
xor edx, edx
call fcn.004052e8
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
push dword [ebp - 0x184]
push dword [ebp - 0x188]
lea eax, [ebp - 0x198]
mov edx, dword [ebp - 0x14]
call fcn.004052e8
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
push dword [ebp - 0x194]
push dword [ebp - 0x198]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406274
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 0x18]
mov ecx, 0x4fa94c
call fcn.004061ac
lea eax, [ebp - 0x19c]
call fcn.00404390
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00406274
mov eax, dword [ebp - 0x19c]
mov edx, 0x4faa28
call fcn.00404500
jne 0x4fa727
lea eax, [ebp - 0x1b4]
call fcn.004056c0
push eax
push 0
push 0x4faa30
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406274
lea edx, [ebp - 0x1b4]
lea eax, [ebp - 0x1a4]
call fcn.004051b0
mov eax, dword [ebp - 0x1a4]
lea edx, [ebp - 0x1a0]
call fcn.004090d8
mov edx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x40]
call fcn.00405320
lea eax, [ebp - 0x1b8]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov edx, dword [ebp - 0x1b8]
mov eax, 0x4faa44
call fcn.00404238
mov ebx, eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x40]
call fcn.004051b0
test ebx, ebx
jle 0x4fa727
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1bc]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0x1bc]
call fcn.00403f4c
sub eax, ebx
push eax
lea eax, [ebp - 0x1c0]
lea edx, [ebp - 0x40]
call fcn.004051b0
mov eax, dword [ebp - 0x1c0]
lea edx, [ebx + 7]
pop ecx
call fcn.00404154
lea eax, [ebp - 0x28]
call fcn.00403ccc
lea eax, [ebp - 0x2c]
call fcn.00403ccc
mov eax, dword [ebp - 0x24]
call fcn.00403f4c
mov esi, eax
test esi, esi
jle 0x4fa609
mov ebx, 1
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx - 1], 0x2f
je 0x4fa5ae
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx - 1], 0x5c
jne 0x4fa5c5
lea eax, [ebp - 0x28]
call fcn.00403ccc
lea eax, [ebp - 0x2c]
mov edx, 0x4fa948
call fcn.00403f54
jmp 0x4fa605
lea eax, [ebp - 0x1c4]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403e74
mov edx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x2c]
call fcn.00403f54
lea eax, [ebp - 0x1c8]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403e74
mov edx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x28]
call fcn.00403f54
inc ebx
dec esi
jne 0x4fa59a
lea eax, [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, 0x4fa9b0
mov eax, 0x4fa9bc
call fcn.004baf00
mov edx, dword [ebp - 0x1cc]
lea eax, [ebp - 0x2c]
call fcn.00403d64
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
call fcn.00403d64
mov eax, dword [ebp - 0x24]
call fcn.00409718
test al, al
je 0x4fa727
push dword [ebp - 0x1c]
push 0x4fa948
push dword [ebp - 0x28]
lea eax, [ebp - 0x1d0]
mov edx, 3
call fcn.0040400c
mov edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x24]
call fcn.0040405c
je 0x4fa727
lea eax, [ebp - 0x1d4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x24]
call fcn.0040405c
je 0x4fa727
mov eax, dword [ebp - 0x1c]
call fcn.004099b8
push dword [ebp - 0x1c]
push 0x4fa948
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040400c
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00404110
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x1e8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f98
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1e4]
call fcn.004053b8
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push 0x4faa30
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406274
inc dword [ebp - 0x14]
dec edi
jne 0x4fa40e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8f4]
xor ecx, ecx
mov edx, 3
call fcn.0047d6f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa91a
lea eax, [ebp - 0x1e8]
call fcn.00403ccc
lea eax, [ebp - 0x1e4]
call fcn.004056c0
lea eax, [ebp - 0x1d4]
mov edx, 8
call fcn.00403cf0
lea eax, [ebp - 0x1b4]
call fcn.004056c0
lea eax, [ebp - 0x1a4]
mov edx, 2
call fcn.00403cf0
lea eax, [ebp - 0x19c]
call fcn.00404390
lea eax, [ebp - 0x198]
mov edx, dword [0x401100]
mov ecx, 2
call fcn.00404748
lea eax, [ebp - 0x178]
call fcn.00406178
lea eax, [ebp - 0x174]
call fcn.00403ccc
lea eax, [ebp - 0x170]
call fcn.004056c0
lea eax, [ebp - 0x160]
mov edx, 0xb
call fcn.00403cf0
lea eax, [ebp - 0x134]
mov edx, 2
call fcn.004043a8
lea eax, [ebp - 0x12c]
mov edx, dword [0x401100]
mov ecx, 2
call fcn.00404748
lea eax, [ebp - 0x10c]
call fcn.00406178
lea eax, [ebp - 0x108]
call fcn.00403ccc
lea eax, [ebp - 0x104]
call fcn.004056c0
lea eax, [ebp - 0xf4]
mov edx, 8
call fcn.00403cf0
lea eax, [ebp - 0xd4]
call fcn.00404390
lea eax, [ebp - 0xd0]
call fcn.00403ccc
lea eax, [ebp - 0xcc]
call fcn.004056c0
lea eax, [ebp - 0xbc]
call fcn.00403ccc
lea eax, [ebp - 0xb8]
call fcn.004056c0
lea eax, [ebp - 0xa8]
mov edx, 8
call fcn.00403cf0
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.004043a8
lea eax, [ebp - 0x7c]
mov edx, dword [0x401100]
mov ecx, 2
call fcn.00404748
lea eax, [ebp - 0x5c]
call fcn.00406178
lea eax, [ebp - 0x54]
call fcn.00403ccc
lea eax, [ebp - 0x50]
mov edx, dword [0x4011b0]
mov ecx, 2
call fcn.00404748
lea eax, [ebp - 0x48]
call fcn.00406178
lea eax, [ebp - 0x44]
call fcn.00404390
lea eax, [ebp - 0x40]
call fcn.004056c0
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00403cf0
lea eax, [ebp - 0x18]
call fcn.00406178
lea eax, [ebp - 0x10]
call fcn.00406178
lea eax, [ebp - 0xc]
call fcn.00406178
lea eax, [ebp - 8]
call fcn.00403ccc
ret