Function at 0x49c2e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x64e9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, ecx
push 0x67997c
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edi
call fcn.004030a0
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov ebp, dword [edi + 4]
cmp ebp, ebx
je 0x49c3d3
lea ebx, [ebx]
mov eax, ebp
mov edx, dword [eax + 8]
mov ebp, dword [ebp]
push 0xa
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.00628c74
lea eax, [esp + 0x38]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49c360
sub eax, edx
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402e00
cmp ebp, ebx
je 0x49c3d3
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x49c3a5
push esi
lea ecx, [esp + 0x18]
call fcn.004020b0
mov edx, dword [esp + 0x14]
cmp esi, ebx
mov byte [edi + edx], 0x20
jl 0x49c3c9
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x49c3c9
mov edi, dword [esp + 0x18]
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], bl
jmp 0x49c340
push 0x80070057
call fcn.00401090
call fcn.0049bc10
xor edx, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], dx
mov byte [esp + 0x84], 1
mov esi, dword [0x75dc38]
cmp esi, ebx
jne 0x49c3fe
mov esi, 0x75dc3c
mov ecx, dword [edi + 0x84]
push ebx
push 0xa
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.006238f2
add esp, 0xc
push eax
push esi
push str._sSchedulerq__s.dt
lea ecx, [esp + 0x30]
call fcn.00402310
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49c431
lea eax, [esp + 0x24]
push 0x68559c
push eax
call fcn.0062385d
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x49c4ba
call fcn.006263a4
mov esi, dword [eax]
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x84], 2
push ebx
push ebx
lea edx, [esp + 0x24]
push edx
push 0x400
push esi
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x49c482
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x75f190]
push ecx
push eax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x18]
call fcn.00402560
jmp 0x49c4e3
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49c4c3
push esi
sub eax, edi
push eax
push 1
push edx
call fcn.00623715
push esi
call fcn.00623537
mov edi, dword [esp + 0x2c]
add esp, 0x14
cmp dword [edi + 0x84], 1
jne 0x49c4f8
mov edx, dword [esp + 0x14]
push edx
mov ecx, edi
call fcn.0049b820
mov byte [esp + 0x84], bl
lea ecx, [esp + 0x20]
call fcn.00401210
mov dword [esp + 0x84], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00620b8d
add esp, 0x74
ret