Function at 0x405d0e
Capabilities:
Contain obfuscated stackstrings
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaec
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x4e2]
cmp dword [ebp + 8], esi
mov word [ebp - 0x4e4], si
mov dword [ebp - 0x14], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x406092
push esi
push dword [ebp + 8]
call fcn.00405771
pop ecx
cmp eax, esi
pop ecx
jle 0x406092
cmp dword [ebp + 0xc], eax
jge 0x406092
sub eax, dword [ebp + 0xc]
push 0x422b30
push dword [ebp + 8]
mov byte [ebp - 0xf], 0x65
dec eax
mov byte [ebp - 0x10], 0x25
mov dword [ebp + 0xc], eax
mov byte [ebp - 0xe], 0x52
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xd], 0x40
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x6d
mov byte [ebp - 7], 0x3c
mov byte [ebp - 8], 0x7c
mov byte [ebp - 6], 0x23
mov byte [ebp - 5], 0x59
mov byte [ebp - 3], 0x73
mov byte [ebp - 4], 0x4b
mov byte [ebp - 2], 0x24
mov byte [ebp - 1], 0x5e
call fcn.0040dc24
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
je 0x406092
push 2
push esi
push ebx
call fcn.0040e2ab
add esp, 0xc
mov edi, 0xfffffd38
mov esi, 0x2c8
push 1
push edi
push ebx
call fcn.0040e2ab
add esp, 0xc
test eax, eax
jne 0x40608b
push esi
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0040cba0
push ebx
push esi
lea eax, [ebp - 0x2dc]
push 1
push eax
call fcn.0040e364
lea eax, [ebp - 0x2dc]
push esi
push eax
call fcn.004055c1
lea eax, [ebp - 0x10]
push 0x10
push eax
lea eax, [ebp - 0x2dc]
push esi
push eax
call fcn.00405569
lea eax, [ebp - 0x2dc]
push eax
call fcn.004056af
add esp, 0x38
test al, al
je 0x40608b
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
je 0x405e5c
inc dword [ebp - 0x14]
mov eax, edi
sub eax, dword [ebp - 0x18]
push 1
push eax
push ebx
call fcn.0040e2ab
add esp, 0xc
jmp 0x405dd2
sub edi, dword [ebp - 0x18]
push 1
xor esi, esi
push edi
push ebx
mov dword [ebp + 8], esi
call fcn.0040e2ab
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp byte [ebp + 0x14], 1
jne 0x405ed8
cmp eax, esi
jne 0x405e83
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x4e4]
push 0x104
push ecx
push eax
call fcn.00405234
add esp, 0xc
test eax, eax
je 0x40608b
lea eax, [ebp - 0x4e4]
push 1
push eax
call fcn.0040535f
pop ecx
test eax, eax
pop ecx
je 0x40608b
lea eax, [ebp - 0x4e4]
push 0x4220c0
push eax
call fcn.0040dc24
pop ecx
cmp eax, esi
pop ecx
mov dword [ebp + 8], eax
je 0x40608b
jmp 0x405edb
mov dword [ebp + 0xc], eax
mov edi, dword [ebp - 0x18]
cmp edi, esi
jle 0x405f86
mov eax, 0x400
cmp edi, eax
jge 0x405ef1
mov eax, edi
push ebx
push eax
lea eax, [ebp - 0xaec]
push 1
push eax
call fcn.0040e364
mov esi, eax
lea eax, [ebp - 0xaec]
push esi
push eax
call fcn.004055c1
lea eax, [ebp - 0x3c]
push eax
call fcn.0040d330
add esp, 0x1c
cmp eax, 0x20
jbe 0x405f26
push 0x20
pop eax
jmp 0x405f30
lea eax, [ebp - 0x3c]
push eax
call fcn.0040d330
pop ecx
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xaec]
push esi
push eax
call fcn.00405569
add esp, 0x10
cmp byte [ebp + 0x14], 1
jne 0x405f62
push dword [ebp + 8]
lea eax, [ebp - 0xaec]
push esi
push 1
push eax
call fcn.0040daba
add esp, 0x10
jmp 0x405f7a
lea eax, [ebp - 0xaec]
push esi
push eax
push dword [ebp + 0xc]
call fcn.0040cff0
add esp, 0xc
add dword [ebp + 0xc], esi
mov eax, esi
sub edi, eax
test edi, edi
jg 0x405ee6
xor esi, esi
push ebx
call fcn.0040da3d
cmp dword [ebp + 8], esi
pop ecx
je 0x405f9b
push dword [ebp + 8]
call fcn.0040da3d
pop ecx
cmp byte [ebp + 0x14], 0
je 0x406034
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x6ea]
mov word [ebp - 0x6ec], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x6ec]
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.004054b7
pop ecx
test al, al
pop ecx
je 0x406092
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x6ec]
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.004067df
add esp, 0xc
test eax, eax
je 0x406092
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x2dc]
jne 0x406092
lea eax, [ebp - 0x4e4]
push esi
push eax
lea eax, [ebp - 0x6ec]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x406092
lea eax, [ebp - 0x6ec]
push eax
call fcn.00405165
pop ecx
jmp 0x406087
mov eax, dword [ebp - 0x2dc]
push eax
mov dword [ebp + 0x14], eax
call fcn.0040d969
mov esi, eax
pop ecx
test esi, esi
je 0x406092
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp - 0x18]
push dword [ebp + 0x10]
call fcn.004068d6
add esp, 0x10
test eax, eax
je 0x40606c
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x2dc]
je 0x406074
push esi
call fcn.0040d9f5
jmp 0x406091
push eax
push esi
push dword [ebp + 0x10]
call fcn.0040cff0
push esi
call fcn.0040d9f5
add esp, 0x10
mov al, 1
jmp 0x406094
push ebx
call fcn.0040da3d
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret