Function at 0x482e30
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x505f10
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6503d0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
push 1
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], ebx
call fcn.004b384d
push ebx
push 4
lea eax, [ebp - 0x14]
push eax
push 2
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x7530
call fcn.004b3265
mov eax, dword [esi + 4]
push ebx
push ebx
push SysReAllocStringLen
push 1
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.004b41c9
mov edi, eax
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x48304b
push ebx
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0x20000013
mov ecx, edi
mov dword [ebp - 0x20], 4
call fcn.004b32d2
cmp eax, ebx
je 0x483037
mov eax, dword [ebp - 0x28]
add eax, 0xffffff38
cmp eax, 0x63
ja 0x483037
mov esi, dword [esi + 8]
push 0x612bac
push esi
mov byte [ebp - 4], 3
call fcn.004c7cb3
add esp, 8
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x483026
mov ecx, edi
call fcn.00478af0
push 0x401
lea ecx, [ebp]
push ebx
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], ebx
call fcn.004c5c50
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
add esp, 0xc
push 0x400
lea eax, [ebp]
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
je 0x48301a
lea esp, [esp]
mov eax, dword [ebp - 0x14]
push eax
push 1
lea ecx, [ebp]
push esi
push ecx
call fcn.004c830d
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
add esp, 0x10
add ebx, esi
mov esi, 0
adc eax, esi
mov ecx, eax
mov dword [ebp - 0x2c], eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], ebx
fild qword [ebp - 0x48]
mov dword [ebp - 0x40], esi
fild qword [ebp - 0x40]
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
fchs
mov dword [ebp - 0x50], edx
faddp st(1)
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], esi
fmul qword [0x50eab8]
fild qword [ebp - 0x50]
fild qword [ebp - 0x38]
fchs
faddp st(1)
fdivp st(1)
call fcn.004c5a60
mov ecx, dword [ebp - 0x24]
sub eax, dword [ecx + 0xc]
add ecx, 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0x401
lea eax, [ebp]
push esi
push eax
call fcn.004c5c50
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
add esp, 0xc
push 0x400
lea eax, [ebp]
push eax
mov ecx, edi
call edx
mov esi, eax
test esi, esi
jne 0x482f60
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 1
xor ebx, ebx
mov byte [ebp - 4], 0
cmp eax, ebx
je 0x483037
push eax
call fcn.004c7d41
add esp, 4
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
lea ecx, [ebp - 0x64]
call fcn.004b3e24
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.004b3f07
mov eax, dword [ebp - 0x18]
jmp 0x483084
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004c57d5
add ebp, 0x408
mov esp, ebp
pop ebp
ret