Function at 0x409080
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x471f76
mov eax, dword fs:[0]
push eax
sub esp, 0x66c
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491050]
xor eax, esp
push eax
lea eax, [esp + 0x680]
mov dword fs:[0], eax
push 0x207
mov esi, ecx
push esi
lea eax, [esp + 0x47c]
push 0x208
push eax
call fcn.00440540
lea ecx, [esp + 0x484]
push 0x5c
push ecx
call fcn.00440d90
mov ebp, eax
xor ebx, ebx
add esp, 0x18
cmp ebp, ebx
je 0x4090f0
inc ebp
lea ecx, [esp + 0x34]
call fcn.00411540
lea ecx, [esp + 0x2c]
mov dword [esp + 0x688], ebx
call fcn.0046c410
lea edx, [esp + 0x5c]
push edx
call fcn.0046c3b0
push 0x207
lea eax, [esp + 0x271]
push ebx
push eax
mov byte [esp + 0x278], bl
call fcn.00444930
push 0x207
lea ecx, [esp + 0x75]
push ebx
push ecx
mov byte [esp + 0x7c], bl
call fcn.00444930
push esi
push str._s.
lea edx, [esp + 0x84]
call fcn.0040cdc0
add esp, 0x20
push ebx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x3c]
call fcn.004116f0
cmp eax, ebx
je 0x409376
lea ecx, [ecx]
lea ecx, [esp + 0x34]
call fcn.00411d20
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], eax
call fcn.00411c80
test eax, eax
jne 0x40936c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
call fcn.00411f20
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x50]
push 0x489178
push ecx
mov dword [esp + 0x58], str..DpRep.cpp
mov dword [esp + 0x5c], 0xea2
call fcn.0040cfa0
mov esi, dword [esp + 0x2c]
add esi, 0xfffffff0
lea edi, [esi + 0xc]
add esp, 0xc
cmp dword [edi], ebx
jne 0x4091ec
push str.nRefs___0
push ebx
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x4091ec
int3
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x409202
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
call fcn.00411b40
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x68]
call fcn.0046c860
lea ecx, [esp + 0x54]
call fcn.0046c380
cmp edx, ebx
jg 0x40936c
jl 0x409244
cmp eax, 2
jae 0x40936c
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x38]
call fcn.004121a0
mov edx, dword [eax]
push edx
push ebp
push str.c:zvSndLogs_s_s
lea edx, [esp + 0x278]
call fcn.0040cdc0
mov esi, dword [esp + 0x28]
add esi, 0xfffffff0
lea edi, [esi + 0xc]
add esp, 0xc
cmp dword [edi], ebx
jne 0x409295
push str.nRefs___0
push ebx
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x409295
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4092ab
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.00411f20
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68c], 1
call fcn.00411f20
mov eax, dword [eax]
push ebx
lea ecx, [esp + 0x270]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, dword [esp + 0x28]
add esi, 0xfffffff0
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jne 0x40930d
push str.nRefs___0
push ebx
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x40930d
int3
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x409323
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x688], bl
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jne 0x409356
push str.nRefs___0
push ebx
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x409356
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40936c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0x24], ebx
jne 0x409170
lea ecx, [esp + 0x34]
call fcn.00411640
lea ecx, [esp + 0x34]
mov dword [esp + 0x688], 0xffffffff
call fcn.004115d0
mov ecx, dword [esp + 0x680]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00439cd0
add esp, 0x678
ret