Function at 0x430a1b
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x524
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
push 0x40
xor edx, edx
and byte [ebp - 0x420], dl
pop ecx
xor eax, eax
lea edi, [ebp - 0x41f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
mov dword [ebp - 4], edx
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov dword [ebp - 8], edx
push eax
push edx
push dword [ebp + 0xc]
call esi
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 8]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push edi
call esi
test eax, eax
jne 0x430aae
push 8
push 0x40b6c0
push edi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x430ce0
push edi
call fcn.004234a9
add edi, 8
pop ecx
mov dword [ebx + 8], edi
mov esi, dword [sym.imp.MSVCRT.dll_strrchr]
push 0x5c
push dword [ebx + 8]
call esi
mov edx, eax
pop ecx
test edx, edx
pop ecx
jne 0x430ace
push 0x2f
push dword [ebx + 8]
call esi
pop ecx
mov edx, eax
pop ecx
inc edx
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x430ce0
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea esi, [ebp - 0x114]
not ecx
sub edi, ecx
mov edx, esi
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004268aa
xor edi, edi
mov dword [esp], 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x10], eax
je 0x430c26
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
mov esi, 0x104
lea eax, [ebp - 0x524]
push esi
push eax
push 0x90
push dword [0x531f10]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x31c]
push esi
push eax
mov ecx, 0x4969d0
call fcn.004436a8
lea eax, [ebp - 0x31c]
push eax
call fcn.00426238
push 0
push 0x80802
lea eax, [ebp - 0x114]
push 0x45e298
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x524]
push eax
push dword [0x531674]
push dword [0x531f10]
call fcn.0042558d
add esp, 0x24
test eax, eax
je 0x430c1a
lea eax, [ebp - 0x114]
push 0
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp + 0xc], eax
lea edi, [ebp - 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, esi
jbe 0x430be3
mov ecx, esi
jmp 0x430bf2
lea edi, [ebp - 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0xc]
add eax, 8
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0xc], eax
setne al
mov dword [ebp - 4], eax
jmp 0x430cd7
mov dword [ebp - 4], 2
jmp 0x430cd7
mov ecx, dword [ebp - 0xc]
mov esi, 0x104
push edi
lea eax, [ebp - 0x31c]
push esi
push eax
call fcn.00431277
lea eax, [ebp - 0x31c]
push eax
call fcn.004266d5
pop ecx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x31c]
push eax
push 0x40aa38
lea eax, [ebp - 0x420]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x218]
push esi
push eax
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00426ddf
add esp, 0x24
test eax, eax
je 0x430cd0
lea eax, [ebp - 0x218]
push edi
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp + 0xc], eax
lea edi, [ebp - 0x218]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, esi
jbe 0x430cb5
mov ecx, esi
jmp 0x430cc4
lea edi, [ebp - 0x218]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea eax, [ebp - 0x218]
jmp 0x430bf9
mov dword [ebp - 4], 3
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
test ebx, ebx
je 0x430cec
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc