Function at 0x48e3d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494030
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4ae248]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x10]
call fcn.0048ee80
mov dword [ebp - 4], 0
mov byte [ebp - 0x35], 0
push 0
lea ecx, [ebp - 0x34]
push ecx
call fcn.0048e660
add esp, 8
mov byte [ebp - 4], 1
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x34]
call fcn.0041f110
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x48e48d
push 1
lea edx, [ebp - 0x54]
push edx
call fcn.0048e660
add esp, 8
mov byte [ebp - 4], 2
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x54]
call fcn.0041f110
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0041ec10
cmp dword [ebp - 0x14], reloc.NETAPI32.dll_NetApiBufferFree
je 0x48e5a0
push 0
lea eax, [ebp - 0x58]
push eax
push 4
push reloc.NETAPI32.dll_NetWkstaTransportEnum
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48e596
cmp dword [ebp - 0x58], 4
jne 0x48e596
push 0
lea edx, [ebp - 0x58]
push edx
push 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48e596
cmp dword [ebp - 0x58], 0x10
jne 0x48e596
mov byte [ebp - 0x68], 0
xor edx, edx
mov dword [ebp - 0x67], edx
mov dword [ebp - 0x63], edx
mov dword [ebp - 0x5f], edx
mov word [ebp - 0x5b], dx
mov byte [ebp - 0x59], dl
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0048a300
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040b920
push eax
call dword [sym.imp.bdminiopenssl.dll_BD_MD5]
add esp, 0xc
push 0
lea ecx, [ebp - 0x58]
push ecx
push 0x10
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48e596
cmp dword [ebp - 0x58], 0x10
jne 0x48e596
mov byte [ebp - 0x78], 0
xor ecx, ecx
mov dword [ebp - 0x77], ecx
mov dword [ebp - 0x73], ecx
mov dword [ebp - 0x6f], ecx
mov word [ebp - 0x6b], cx
mov byte [ebp - 0x69], cl
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0048a300
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040b920
push eax
call dword [sym.imp.bdminiopenssl.dll_BD_MD5]
add esp, 0xc
push 0
lea eax, [ebp - 0x58]
push eax
push 0x10
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48e596
cmp dword [ebp - 0x58], 0x10
jne 0x48e596
mov byte [ebp - 0x35], 1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [ebp - 0x35]
mov byte [ebp - 0x79], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0041ec10
mov dword [ebp - 4], reloc.NETAPI32.dll_NetApiBufferFree
lea ecx, [ebp - 0x10]
call fcn.0048eeb0
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00492cee
mov esp, ebp
pop ebp
ret 0xc