Function at 0x42cb00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a1cb
mov eax, dword fs:[0]
push eax
mov eax, 0x192b0
call fcn.00475e50
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x192ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
xor eax, esp
push eax
lea eax, [esp + 0x192c4]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x192cc], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.0044d340
mov byte [esp + 0x192cc], 2
call fcn.00426570
cmp eax, ebx
je 0x42cbf2
push str._CopyFileFromWM_hRapiResult___S_OK
call fcn.00403170
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x192cc], 1
call fcn.0044cf20
mov eax, dword [esp + 0x192d4]
add eax, 0xfffffff0
mov byte [esp + 0x192cc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cbba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x192d8]
add eax, 0xfffffff0
mov dword [esp + 0x192cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cbe8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42ce30
mov edx, dword [esp + 0x192d4]
lea ecx, [esp + 0x90]
push ecx
push edx
call dword [esp + 0x3c]
cmp eax, 0xffffffff
jne 0x42cc95
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42cc23
and eax, 0xffff
or eax, 0x80070000
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x192cc], 1
call fcn.0044cf20
mov eax, dword [esp + 0x192d4]
add eax, 0xfffffff0
mov byte [esp + 0x192cc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cc60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x192d8]
add eax, 0xfffffff0
mov dword [esp + 0x192cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cc8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x42ce30
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xac]
xor ecx, ecx
cmp ecx, ebx
ja 0x42ccb8
cmp eax, ebx
jbe 0x42cdbc
mov ecx, dword [esp + 0x192d4]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ecx
call dword [esp + 0x44]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x42cd01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jg 0x42ccee
mov dword [esp + 0x14], eax
jmp 0x42cdbc
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
jmp 0x42cdbc
mov edx, dword [esp + 0x192d8]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42cd49
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jg 0x42cd39
mov dword [esp + 0x14], eax
jmp 0x42cdb7
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
jmp 0x42cdb7
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
nop
push ebx
lea eax, [esp + 0x1c]
push eax
push 0x19000
lea ecx, [esp + 0x2cc]
push ecx
push ebp
call dword [esp + 0x50]
test eax, eax
je 0x42cd98
mov eax, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x2cc]
push ecx
push esi
call edi
test eax, eax
je 0x42cd8e
cmp dword [esp + 0x18], ebx
jne 0x42cd50
jmp 0x42cdb0
mov dword [esp + 0x14], 1
jmp 0x42cdb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42cdac
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [esp + 0x34]
call dword [esp + 0x8c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x192cc], 1
call fcn.0044cf20
mov eax, dword [esp + 0x192d4]
add eax, 0xfffffff0
mov byte [esp + 0x192cc], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cdfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x192d8]
add eax, 0xfffffff0
mov dword [esp + 0x192cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ce2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x192c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x192ac]
xor ecx, esp
call fcn.00475d76
add esp, 0x192bc
ret