Function at 0x402a10
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6c10
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x1c]
call fcn.00412940
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x506c08
call fcn.00432f50
mov byte [ebp - 4], 1
push str.Client_64ESTSIP_flmondrv.inf
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0040f270
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, 0x506c08
call fcn.0043cbb0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x402af9
mov eax, str.Client_64ESTSIP_flmondrv
test eax, eax
jne 0x402aa3
mov dword [ebp - 0x38], 0
jmp 0x402ab3
push str.Client_64ESTSIP_flmondrv
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
push str.Client_64ESTSIP_flmondrv
lea ecx, [ebp - 0x14]
call fcn.00411880
mov edx, str.Client_64ESTSIP
test edx, edx
jne 0x402ad6
mov dword [ebp - 0x3c], 0
jmp 0x402ae6
push str.Client_64ESTSIP
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
push str.Client_64ESTSIP
lea ecx, [ebp - 0x1c]
call fcn.00411880
jmp 0x402b5f
mov ecx, str.ClientESTSIP_flmondrv
test ecx, ecx
jne 0x402b0b
mov dword [ebp - 0x40], 0
jmp 0x402b1b
push str.ClientESTSIP_flmondrv
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
push edx
push str.ClientESTSIP_flmondrv
lea ecx, [ebp - 0x14]
call fcn.00411880
mov eax, str.ClientESTSIP
test eax, eax
jne 0x402b3e
mov dword [ebp - 0x44], 0
jmp 0x402b4e
push str.ClientESTSIP
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
push str.ClientESTSIP
lea ecx, [ebp - 0x1c]
call fcn.00411880
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402ba9
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004129d0
mov eax, dword [ebp - 0x28]
jmp 0x402d9a
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx]
sub edx, 0x10
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 3
push 0x4d1934
lea ecx, [ebp - 0x10]
call fcn.0040ef90
mov edx, str.ESTSIP
test edx, edx
jne 0x402bf2
mov dword [ebp - 0x70], 0
jmp 0x402c02
push str.ESTSIP
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
push str.ESTSIP
lea ecx, [ebp - 0x10]
call fcn.00411880
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402c33
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str._flmondrv.inf
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0040f270
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
push 0
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, 0x4d1938
test eax, eax
jne 0x402c74
mov dword [ebp - 0x7c], 0
jmp 0x402c84
push 0x4d1938
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
push 0x4d1938
lea ecx, [ebp - 0x10]
call fcn.00411880
push 1
push ecx
mov edx, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
add edx, 0x10
mov eax, dword [ebp - 0x88]
mov dword [eax], edx
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 5
push ecx
mov edx, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
add edx, 0x10
mov eax, dword [ebp - 0x94]
mov dword [eax], edx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 4
call fcn.0044f5a0
add esp, 0xc
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x402d51
push 1
mov ecx, dword [ebp - 0xac]
call fcn.004024b0
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004129d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004129d0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret