Function at 0x42ba30
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x477e2b
mov eax, dword fs:[0]
push eax
mov eax, 0x192b0
call fcn.00473d60
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x192ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
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.0044b8c0
mov byte [esp + 0x192cc], 2
call fcn.004253e0
cmp eax, ebx
je 0x42bb22
push str._CopyFileFromWM_hRapiResult___S_OK
call fcn.00403120
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x192cc], 1
call fcn.0044b4a0
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 0x42baea
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 0x42bb18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42bd60
mov edx, dword [esp + 0x192d4]
lea ecx, [esp + 0x90]
push ecx
push edx
call dword [esp + 0x3c]
cmp eax, 0xffffffff
jne 0x42bbc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42bb53
and eax, 0xffff
or eax, 0x80070000
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x192cc], 1
call fcn.0044b4a0
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 0x42bb90
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 0x42bbbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x42bd60
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 0x42bbe8
cmp eax, ebx
jbe 0x42bcec
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 0x42bc31
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jg 0x42bc1e
mov dword [esp + 0x14], eax
jmp 0x42bcec
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
jmp 0x42bcec
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 0x42bc79
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jg 0x42bc69
mov dword [esp + 0x14], eax
jmp 0x42bce7
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
jmp 0x42bce7
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 0x42bcc8
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 0x42bcbe
cmp dword [esp + 0x18], ebx
jne 0x42bc80
jmp 0x42bce0
mov dword [esp + 0x14], 1
jmp 0x42bce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42bcdc
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.0044b4a0
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 0x42bd2e
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 0x42bd5c
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.00473c8a
add esp, 0x192bc
ret