Function at 0x48d6f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cc85
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
xor ebx, ebx
push 0x20
mov dword [ebp - 0x38], ebx
call fcn.004daf9a
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [esi], esi
mov dword [esi + 4], esi
push 0xffffffffffffffff
mov dword [ebp - 4], ebx
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48d777
lea ecx, [ebp - 0x3c]
call fcn.0048dc50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x34]
push 0xffffffffffffffff
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x3c]
lea ecx, [edi + 0x2c]
cmp eax, ecx
je 0x48d7a3
mov eax, esi
mov esi, dword [ecx]
mov dword [ecx], eax
mov eax, ebx
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ebx
mov dword [ecx + 4], eax
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebx, ebx
je 0x48d97e
add edi, 0x28
cmp dword [edi], 0
jne 0x48d82c
mov eax, dword [ebp - 0x34]
add eax, 0x10
cmp dword [eax + 0x14], 8
jb 0x48d7ca
mov eax, dword [eax]
push 0x5346b8
push eax
push edi
call fcn.004e63b9
mov eax, dword [edi]
add esp, 0xc
test eax, eax
je 0x48d823
push 2
push 0
push eax
call fcn.004e69e9
push dword [edi]
call fcn.004e6fe2
push 0
push 0
push dword [edi]
mov esi, eax
call fcn.004e69e9
add esp, 0x1c
test esi, esi
jne 0x48d820
push dword [edi]
lea eax, [ebp - 0x30]
mov word [ebp - 0x30], 0xfeff
push 2
push 1
push eax
mov byte [ebp - 0x2e], 0
call fcn.004f28bc
add esp, 0x10
mov esi, dword [ebp - 0x2c]
cmp dword [edi], 0
je 0x48d774
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
nop dword [eax + eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
add eax, 8
cmp ecx, eax
je 0x48d872
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x48d866
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044a750
mov esi, dword [esi]
dec ebx
mov dword [ebp - 0x38], ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x1c]
cmp ecx, 8
jb 0x48d8bf
mov eax, dword [esi + 8]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x48d8b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d99f
mov eax, edx
push ecx
push eax
call fcn.004dafca
add esp, 8
xor eax, eax
mov dword [esi + 0x18], 0
push 0x20
push esi
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
call fcn.004dafca
add esp, 8
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x48d912
mov eax, dword [edi]
test eax, eax
je 0x48d912
push esi
push eax
call fcn.0048ddd0
push 0x5346c0
push dword [edi]
call fcn.0048ddd0
add esp, 0x10
mov esi, dword [ebp - 0x2c]
test ebx, ebx
jne 0x48d850
mov eax, dword [edi]
test eax, eax
je 0x48d932
push eax
call fcn.004efce0
add esp, 4
mov dword [edi], 0
mov edi, dword [ebp - 0x34]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
cmp edx, 8
jb 0x48d777
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d96c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d99f
push edx
push ecx
call fcn.004dafca
mov esi, dword [ebp - 0x2c]
add esp, 8
jmp 0x48d777
cmp dword [edi], 0
jne 0x48d74e
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48d777
jmp 0x48d74e
call fcn.004e002c
int3