Function at 0x403c00
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Get file size
Move file
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b8
push esi
push edi
mov dword [ebp - 0x4b8], ecx
mov ecx, 5
mov esi, str.TASAntiPhishing.dll
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 6
mov esi, str.TASAntiPhishing__d.dll
lea edi, [ebp - 0x4ac]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x44a0d4]
mov dword [ebp - 0x270], eax
mov ecx, dword [0x44a0d8]
mov dword [ebp - 0x26c], ecx
mov dl, byte [0x44a0dc]
mov byte [ebp - 0x268], dl
mov byte [ebp - 0x258], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x257]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x480], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x47f]
rep stosd dword es:[edi], eax
mov eax, dword [str.TAPToggleOn]
mov dword [ebp - 0x494], eax
mov ecx, dword [0x44a0e4]
mov dword [ebp - 0x490], ecx
mov edx, dword [0x44a0e8]
mov dword [ebp - 0x48c], edx
mov dword [ebp - 0x488], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x484], 0xffffffff
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x120], 0xffffffff
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x264], 0
mov byte [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov byte [ebp - 0x11c], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x378], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x377]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x144], 0
push 0x6c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x4b0], eax
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x124], 0
push 0x104
lea edx, [ebp - 0x378]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403d98
jmp 0x404248
xor eax, eax
test eax, eax
jne 0x403d7b
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x378]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jne 0x403dc9
jmp 0x404246
xor eax, eax
test eax, eax
jne 0x403dbb
cmp dword [ebp - 0x144], 0
je 0x403de1
mov ecx, dword [ebp - 0x144]
mov byte [ecx], 0
lea edx, [ebp - 0x378]
push edx
lea eax, [ebp - 0x258]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x258]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x378]
push eax
lea ecx, [ebp - 0x480]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x4ac]
push edx
lea eax, [ebp - 0x480]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
cmp dword [0x454bf4], 0
je 0x403e47
jmp 0x404244
xor ecx, ecx
test ecx, ecx
jne 0x403e39
push 0
push 0x80
push 3
push 0
push 1
push connect
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0xffffffff
je 0x403f9c
push 0
mov eax, dword [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jbe 0x403f3c
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 0x484]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x403f3c
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x403f3c
cmp dword [ebp - 0x140], 0
je 0x403f3c
mov ecx, dword [ebp - 0x140]
call fcn.0040102c
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov ecx, dword [ebp - 0x140]
call fcn.00401079
push 0x10
mov ecx, dword [ebp - 0x140]
call fcn.00401000
push eax
lea edx, [ebp - 0x14]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x148], 1
cmp dword [ebp - 0x14c], 0
je 0x403f5c
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0x25c], 0
je 0x403f7c
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x25c], 0
cmp dword [ebp - 0x484], 0
je 0x403f9c
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x484], 0xffffffff
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
push ecx
lea edx, [ebp - 0x480]
push edx
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
cmp dword [ebp - 0x264], 0
jne 0x40414b
cmp dword [ebp - 0x148], 0
je 0x40414b
push 0
push 0x80
push 3
push 0
push 1
push connect
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0xffffffff
je 0x4040eb
push 0
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jbe 0x4040eb
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
je 0x4040eb
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x4040eb
cmp dword [ebp - 0x140], 0
je 0x4040eb
mov ecx, dword [ebp - 0x140]
call fcn.0040102c
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x140]
call fcn.00401079
push 0x10
mov ecx, dword [ebp - 0x140]
call fcn.00401000
push eax
lea ecx, [ebp - 0x14]
push ecx
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4040eb
mov dword [ebp - 0x264], 1
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x120], edx
cmp dword [ebp - 0x14c], 0
je 0x40410b
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0x25c], 0
je 0x40412b
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x25c], 0
cmp dword [ebp - 0x484], 0
je 0x40414b
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x484], 0xffffffff
push 4
push 0
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x403f9c
cmp dword [ebp - 0x264], 0
je 0x4041a4
mov edx, dword [ebp - 0x120]
push edx
lea eax, [ebp - 0x480]
push eax
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
jmp 0x4041ba
push 0
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x454bf4], eax
cmp dword [0x454bf4], 0
jne 0x4041d7
jmp 0x404242
xor edx, edx
test edx, edx
jne 0x4041cc
lea eax, [ebp - 0x494]
push eax
mov ecx, dword [0x454bf4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x404216
mov edx, dword [0x454bf4]
push edx
call dword [ebp - 0x124]
add esp, 4
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x140], 0
je 0x40423a
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x4b4]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 0x488]
jmp 0x40424a
jmp 0x404216
jmp 0x404216
jmp 0x404216
jmp 0x404216
pop edi
pop esi
mov esp, ebp
pop ebp
ret