Function at 0x47df30
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4fe840
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x646274]
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.004ac8d7
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.004ac267
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.004ad253
mov edi, eax
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x47e14b
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.004ac2d4
cmp eax, ebx
je 0x47e137
mov eax, dword [ebp - 0x28]
add eax, 0xffffff38
cmp eax, 0x63
ja 0x47e137
mov esi, dword [esi + 8]
push 0x60bd4c
push esi
mov byte [ebp - 4], 3
call fcn.004c11aa
add esp, 8
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x47e126
mov ecx, edi
call fcn.004748c0
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.004beb80
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 0x47e11a
lea esp, [esp]
mov eax, dword [ebp - 0x14]
push eax
push 1
lea ecx, [ebp]
push esi
push ecx
call fcn.004c1804
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 [0x506ae0]
fild qword [ebp - 0x50]
fild qword [ebp - 0x38]
fchs
faddp st(1)
fdivp st(1)
call fcn.004be990
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.004beb80
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 0x47e060
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 1
xor ebx, ebx
mov byte [ebp - 4], 0
cmp eax, ebx
je 0x47e137
push eax
call fcn.004c1238
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.004aceae
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.004acf91
mov eax, dword [ebp - 0x18]
jmp 0x47e17e
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.004be710
add ebp, 0x408
mov esp, ebp
pop ebp
ret