Function at 0x41bfe0
Capabilities:
Copy file

Disassembly:
mov eax, 0x1080
call fcn.00450100
push ebx
mov ebx, dword [esp + 0x1094]
xor edx, edx
push ebp
push esi
cmp ebx, edx
push edi
mov dword [esp + 0x28], edx
mov ebp, 0x40000
mov dword [esp + 0x10], edx
je 0x41c052
mov eax, dword [ebx + 6]
mov ecx, dword [ebx + 2]
cmp eax, edx
ja 0x41c03a
jb 0x41c01c
cmp ecx, 0x1000
ja 0x41c029
lea eax, [esp + 0x90]
mov dword [esp + 0x10], eax
jmp 0x41c037
cmp eax, edx
ja 0x41c03a
jb 0x41c037
cmp ecx, 0x40000
jae 0x41c03a
mov ebp, dword [ebx + 2]
mov ecx, 8
mov esi, ebx
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [esp + 0x1098]
jmp 0x41c076
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x1098]
push edi
call fcn.005b15e0
add esp, 4
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41c093
push ebp
call fcn.005c33c0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x41c331
push 0x80
push 3
push 3
lea ecx, [esp + 0x20]
push SysReAllocString
push ecx
push edi
call fcn.005b2720
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x41c2c8
test ebx, ebx
jne 0x41c131
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x5c]
push edx
push edi
push eax
call fcn.005b22a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41c123
mov edx, dword [esp + 0x80]
xor ecx, ecx
or ecx, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x3e], edx
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x42], edx
mov edx, dword [esp + 0x60]
xor edi, edi
mov dword [esp + 0x36], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3a], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x46], edx
mov edx, dword [esp + 0x74]
or eax, edi
mov dword [esp + 0x2e], ecx
mov dword [esp + 0x32], eax
mov dword [esp + 0x4a], edx
jmp 0x41c139
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x2e], ecx
mov dword [esp + 0x32], eax
jmp 0x41c139
mov eax, dword [esp + 0x32]
mov ecx, dword [esp + 0x2e]
mov dl, byte [0x77fb31]
mov edi, eax
mov eax, dword [esp + 0x109c]
mov ebx, ecx
mov cl, byte [eax + 1]
cmp cl, dl
jne 0x41c19d
mov edx, dword [0x7776c8]
mov al, byte [eax]
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x24], al
push 0
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0043c520
add esp, 0x10
test eax, eax
je 0x41c196
cmp edi, dword [esp + 0x54]
jb 0x41c196
ja 0x41c18c
cmp ebx, dword [esp + 0x50]
jbe 0x41c196
mov esi, 0x70
jmp 0x41c2b4
mov eax, dword [esp + 0x109c]
test esi, esi
jne 0x41c2b4
push 0x80
push 2
push 3
lea ecx, [esp + 0x24]
push 0x40000000
push ecx
push eax
call fcn.005b2720
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x41c2a1
mov dword [esp + 0x28], 1
mov edx, ebx
or edx, edi
je 0x41c272
xor ecx, ecx
mov eax, ebp
cmp ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jb 0x41c1fd
ja 0x41c1f3
cmp eax, ebx
jbe 0x41c1fd
mov eax, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call fcn.005b2880
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41c25c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.005b28c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41c25c
mov eax, dword [esp + 0x10a4]
test eax, eax
je 0x41c25c
mov edx, dword [esp + 0x10a8]
lea ecx, [esp + 0x1c]
push edx
push esi
push ecx
push 3
call eax
add esp, 0x10
test eax, eax
je 0x41c25c
mov esi, 0x4d3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub ebx, edx
sbb edi, eax
test esi, esi
je 0x41c1d3
jmp 0x41c290
test esi, esi
jne 0x41c290
lea ecx, [esp + 0x46]
lea edx, [esp + 0x3e]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x3a]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [esp + 0x18]
push edx
call fcn.005b2860
add esp, 4
test esi, esi
je 0x41c2b4
cmp esi, 0x4d3
je 0x41c2b4
push esi
call fcn.005c4990
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call fcn.005b2860
mov edi, dword [esp + 0x109c]
add esp, 4
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x90]
cmp eax, ecx
je 0x41c2e4
lea edx, [esp + 0x10]
push edx
call fcn.005c3400
add esp, 4
test esi, esi
je 0x41c375
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41c324
mov ebx, dword [esp + 0x109c]
push ebx
call fcn.0041b6d0
add esp, 4
test eax, eax
je 0x41c324
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1094]
push 0
push 0
push 0
push ebx
push eax
push ecx
call fcn.0041bf10
add esp, 0x18
cmp esi, 0x70
je 0x41c390
cmp esi, 0x4d3
je 0x41c390
mov ecx, dword [esp + 0x109c]
push 0
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x41c39d
mov eax, dword [esp + 0x10a4]
xor esi, esi
test eax, eax
je 0x41c390
mov edx, dword [esp + 0x10a8]
lea ecx, [esp + 0x2e]
push edx
push esi
push ecx
push 3
call eax
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1080
ret
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x109c]
and edx, 0xffff
push edx
push eax
call fcn.005b16a0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1080
ret
push 0
call fcn.005c4990
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1080
ret