Function at 0x4825e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509bf1
mov eax, dword fs:[0]
push eax
mov eax, 0x106c
call fcn.0044e6b0
mov eax, dword [0x55b008]
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 esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1038]
mov edi, dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x102c], eax
mov dword [ebp - 0x1048], edi
call fcn.00482db0
push 0xbb8
push 2
lea ecx, [ebp - 0x1038]
mov dword [ebp - 4], 0
call fcn.00482e30
push 5
push 3
lea ecx, [ebp - 0x1038]
call fcn.00482e30
lea ecx, [ebp - 0x1044]
call fcn.00483210
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x48267c
mov edx, dword [edi]
jmp 0x48267e
mov edx, edi
xor eax, eax
mov dword [ebp - 0x1014], 7
mov dword [ebp - 0x1018], 0
mov word [ebp - 0x1028], ax
cmp word [edx], ax
jne 0x4826a4
xor ecx, ecx
jmp 0x4826c5
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4826b0
sub ecx, edi
mov edi, dword [ebp - 0x1048]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1028]
call fcn.00418960
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1038]
call fcn.00482d00
push eax
lea ecx, [ebp - 0x1044]
call fcn.00483680
test al, al
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1014]
sete bl
cmp eax, 8
jb 0x48271b
inc eax
lea ecx, [ebp - 0x1028]
push eax
push dword [ebp - 0x1028]
call fcn.00418ae0
lea ecx, [ebp - 0x1044]
test bl, bl
jne 0x48298a
call fcn.00483560
test al, al
jne 0x482969
lea ecx, [ebp - 0x1044]
call fcn.00483510
mov ebx, eax
test ebx, ebx
je 0x482969
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x1050], eax
test ecx, ecx
je 0x48279a
mov eax, dword [ecx]
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push edi
call dword [eax + 0xc]
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi]
push dword [ebp - 0x1050]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi]
sub esp, 8
xorps xmm0, xmm0
mov eax, dword [ecx]
movsd qword [esp], xmm0
push 0
push ebx
push edi
call dword [eax + 0xc]
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1030], 0
push 0
push eax
call fcn.0042ce60
add esp, 0xc
mov dword [ebp - 0x1070], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x106c], 0
movlpd qword [ebp - 0x1068], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0x1078], eax
mov dword [ebp - 0x1074], eax
mov eax, dword [ebp - 0x1064]
movups xmmword [ebp - 0x1060], xmm0
test eax, eax
ja 0x482859
jb 0x482805
cmp dword [ebp - 0x1068], ebx
jae 0x48285f
mov ecx, dword [esi]
test ecx, ecx
je 0x48281a
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x482951
lea eax, [ebp - 0x1078]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00483750
mov edi, eax
cmp edi, 0xffffffff
jne 0x4828ba
cmp dword [esi], 0
jne 0x48296e
mov eax, dword [ebp - 0x1030]
cmp eax, 5
mov eax, dword [ebp - 0x1064]
jbe 0x4827f7
cmp dword [ebp - 0x1068], ebx
jne 0x482969
test eax, eax
jne 0x482969
add dword [esi + 4], ebx
mov ecx, dword [esi]
test ecx, ecx
je 0x48289d
movsd xmm0, qword [ebp - 0x1058]
sub esp, 8
mov eax, dword [ecx]
movsd qword [esp], xmm0
push ebx
push ebx
push dword [ebp - 0x1048]
call dword [eax + 0xc]
mov ecx, dword [esi]
push dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x1044]
call fcn.00483240
lea ecx, [ebp - 0x1038]
call fcn.00482df0
mov al, 1
jmp 0x48299c
test edi, edi
je 0x482937
push 0
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x104c], 0
push eax
push edi
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x102c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x104c], edi
je 0x4828f2
cmp dword [esi], 0
jne 0x48295d
mov ecx, dword [esi]
test ecx, ecx
je 0x482848
movsd xmm0, qword [ebp - 0x1058]
sub esp, 8
mov eax, dword [ecx]
movsd qword [esp], xmm0
push dword [ebp - 0x1068]
push ebx
push dword [ebp - 0x1048]
call dword [eax + 0xc]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x1068]
add eax, dword [ebp - 0x1050]
push eax
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x482848
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x1030]
inc eax
mov dword [ebp - 0x1030], eax
jmp 0x48284e
sub esp, 0x18
mov ecx, esp
push 0x51c06c
jmp 0x482978
sub esp, 0x18
mov ecx, esp
push 0x51c080
jmp 0x482978
cmp dword [esi], 0
je 0x482984
sub esp, 0x18
mov ecx, esp
push 0x51c05c
call fcn.00418720
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x1044]
call fcn.00483240
lea ecx, [ebp - 0x1038]
call fcn.00482df0
xor al, al
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.0041e191
mov esp, ebp
pop ebp
ret 0xc