Function at 0x55906c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x46
add esp, 0xfffff004
push eax
dec eax
jne 0x559075
mov eax, dword [ebp - 4]
add esp, 0xfffff584
lea eax, [ebp - 0x4696c]
mov dword [ebp - 0x20], eax
push dword [ebp + 8]
lea edx, [ebp - 0x46a70]
push edx
call fcn.0066ce08
add esp, 8
push 0x2e
lea ecx, [ebp - 0x46a70]
push ecx
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x5590c5
xor eax, eax
jmp 0x559455
push str..uif
push dword [ebp - 0x2c]
call fcn.0066cdbc
add esp, 8
test eax, eax
je 0x5590e0
xor eax, eax
jmp 0x559455
push str..iso
push dword [ebp - 0x2c]
call fcn.0066ce08
add esp, 8
push dword [ebp + 8]
call fcn.0045dbc4
pop ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
cmp edx, 0xffffffff
jne 0x55910b
xor eax, eax
jmp 0x559455
push 0
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.00558a34
add esp, 0x10
test eax, eax
je 0x559131
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x559455
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x46a70]
push edx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xffffffff
jne 0x55916f
push dword [ebp - 0x20]
call fcn.005568e8
pop ecx
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x559455
call fcn.00404b70
call fcn.00441290
lea edx, [ebp - 0x46a70]
push edx
call fcn.004413f0
pop ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x4692c]
mov dword [ebp - 0x34], eax
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [0x6fb15c], ecx
mov dword [0x833f58], 0
mov dword [0x833f5c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x11c]
xor edx, edx
mov dword [0x833f50], eax
mov dword [0x833f54], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x5593fe
mov eax, dword [ebp - 0xc]
shl eax, 5
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x1e8]
mov eax, dword [ecx + eax + 0x10]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
shl edx, 5
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x1e8]
mov edx, dword [eax + edx + 0x18]
mov ecx, dword [ebp - 0xc]
shl ecx, 5
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1e8]
mov ecx, dword [eax + ecx + 0x14]
sub edx, ecx
inc edx
mov eax, dword [ebp - 0x20]
imul edx, dword [eax + 0x1b0]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0xc]
shl edx, 5
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x1e8]
mov dl, byte [eax + edx]
sub dl, 1
jb 0x5592f4
sub dl, 0x3f
je 0x55930c
sub dl, 0x40
jne 0x559357
push 0
mov ecx, dword [ebp - 0xc]
shl ecx, 5
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x1e8]
push dword [edx + ecx + 0xc]
push dword [edx + ecx + 8]
mov edx, dword [ebp - 0x20]
push dword [edx + 0x108]
call fcn.0045dbe8
add esp, 0x10
mov ecx, dword [ebp - 0x20]
push dword [ecx + 0x108]
push dword [ebp - 0x10]
push 1
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1dc]
call fcn.0045dce4
add esp, 0x10
push dword [ebp - 0x34]
call fcn.0050d0b8
pop ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x1dc]
mov dword [edx], eax
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x1e0]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x10], edx
push 2
push dword [ebp - 0x34]
call fcn.0050d2c8
add esp, 8
dec eax
jne 0x5592eb
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
je 0x55935e
mov dword [ebp - 8], 1
jmp 0x55935e
push dword [ebp - 0x18]
push 0
mov ecx, dword [ebp - 0x20]
push dword [ecx + 0x1e0]
call fcn.0066cc88
add esp, 0xc
jmp 0x55935e
push 0
mov eax, dword [ebp - 0xc]
shl eax, 5
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x1e8]
push dword [ecx + eax + 0xc]
push dword [ecx + eax + 8]
mov eax, dword [ebp - 0x20]
push dword [eax + 0x108]
call fcn.0045dbe8
add esp, 0x10
mov ecx, dword [ebp - 0x20]
push dword [ecx + 0x108]
push dword [ebp - 0x18]
push 1
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1e0]
call fcn.0045dce4
add esp, 0x10
jmp 0x55935e
mov dword [ebp - 8], 1
mov edx, dword [ebp - 8]
test edx, edx
jne 0x5593fb
push 0
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1e0]
push dword [ebp - 0x24]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x30]
shr eax, 0xb
xor edx, edx
add dword [0x833f58], eax
adc dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x46a78], eax
sub edx, 0x80000000
mov dword [ebp - 0x46a74], edx
fild qword [ebp - 0x46a78]
fadd qword [0x55945c]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x46a80], eax
sub edx, 0x80000000
mov dword [ebp - 0x46a7c], edx
fild qword [ebp - 0x46a80]
fadd qword [0x55945c]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x559422
mov eax, dword [0x6fb15c]
test eax, eax
jne 0x559422
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x129]
cmp edx, eax
jb 0x5591d4
push dword [ebp - 0x24]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x20]
call fcn.005568e8
pop ecx
push dword [ebp - 0x28]
call sub.KERNEL32.DLL_CloseHandle
call fcn.00441378
call fcn.00404b84
mov edx, dword [ebp - 8]
test edx, edx
je 0x559450
xor eax, eax
jmp 0x559455
mov eax, 1
mov esp, ebp
pop ebp
ret