Function at 0x4ccb50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x644113
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x6bc858]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x6bc858]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edi
cmp ecx, dword [eax + 0x2c]
ja 0x4cd132
xor edi, edi
cmp dword [ebp + 0x14], edi
je 0x4cd132
cmp edx, edi
je 0x4cd132
cmp esi, edi
je 0x4cd132
lea ecx, [esp + 0xc8]
call fcn.00412290
lea ecx, [esp + 0x48]
mov dword [esp + 0x118], edi
call fcn.00412290
lea ecx, [esp + 0xa8]
mov byte [esp + 0x118], 1
call fcn.00412290
mov bl, 2
mov byte [esp + 0x118], bl
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], edi
call fcn.00412330
mov esi, eax
lea edi, [esp + 0xa8]
mov byte [esp + 0x118], 3
call fcn.00419940
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], bl
call fcn.00412410
lea eax, [esp + 0x28]
push eax
mov ebx, edi
call fcn.004d2820
add esp, 4
mov esi, eax
mov byte [esp + 0x118], 4
call fcn.00419940
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 2
call fcn.00412410
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004d2950
add esp, 4
mov esi, eax
lea edi, [esp + 0xc8]
mov byte [esp + 0x118], 5
call fcn.00419940
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 2
call fcn.00412410
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x68]
push edx
call fcn.004cca40
mov edi, eax
lea esi, [esp + 0x88]
mov byte [esp + 0x118], 6
call fcn.004d3af0
mov bl, 7
mov byte [esp + 0x118], bl
mov edx, dword [esp + 0xcc]
mov esi, 0x10
cmp dword [esp + 0xe0], esi
jae 0x4cccec
lea edx, [esp + 0xcc]
cmp dword [edi + 0x18], esi
jb 0x4cccf6
mov edi, dword [edi + 4]
jmp 0x4cccf9
add edi, 4
mov ecx, dword [esp + 0xac]
cmp dword [esp + 0xc0], esi
jae 0x4ccd10
lea ecx, [esp + 0xac]
cmp dword [eax + 0x18], esi
jb 0x4ccd1a
mov eax, dword [eax + 4]
jmp 0x4ccd1d
add eax, 4
push edx
mov edx, dword [esp + 0x28]
push edi
push edx
mov edx, dword [esp + 0x28]
push edx
push ecx
push eax
push str.__s___s__s__d___s___s_n
lea ecx, [esp + 0x44]
call fcn.004d2ae0
add esp, 0x1c
mov esi, eax
lea edi, [esp + 0x48]
mov byte [esp + 0x118], 8
call fcn.00419940
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], bl
call fcn.00412410
lea ecx, [esp + 0x88]
mov byte [esp + 0x118], 6
call fcn.00412410
lea ecx, [esp + 0x68]
mov byte [esp + 0x118], 2
call fcn.00412410
mov esi, dword [esp + 0x14]
push esi
call fcn.004ce6b0
mov edi, 0x10
lea eax, [esi + 0x34]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x48], edi
jb 0x4ccda1
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
call fcn.004c33b0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [esi + 0x50]
jbe 0x4cd079
lea ecx, [esp + 0x28]
call fcn.00412290
mov bl, 9
lea esi, [esp + 0x68]
mov byte [esp + 0x118], bl
call fcn.004d3af0
mov esi, eax
lea edi, [esp + 0x28]
mov byte [esp + 0x118], 0xa
call fcn.00419940
lea ecx, [esp + 0x68]
mov byte [esp + 0x118], bl
call fcn.00412410
push 0x6745b6
lea ecx, [esp + 0x8c]
call fcn.00412330
mov edi, eax
push 0x68aaf4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x11c], 0xb
call fcn.00412330
mov esi, eax
push edi
lea eax, [esp + 0x2c]
mov byte [esp + 0x11c], 0xc
call fcn.004d2900
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.004126e0
lea ecx, [esp + 0x68]
mov byte [esp + 0x118], 0xb
call fcn.00412410
lea ecx, [esp + 0x88]
mov byte [esp + 0x118], bl
call fcn.00412410
push 0x6745b6
lea ecx, [esp + 0x8c]
call fcn.00412330
mov edi, eax
push 0x674cb8
lea ecx, [esp + 0x6c]
mov byte [esp + 0x11c], 0xd
call fcn.00412330
mov esi, eax
push edi
lea eax, [esp + 0x2c]
mov byte [esp + 0x11c], 0xe
call fcn.004d2900
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.004126e0
lea ecx, [esp + 0x68]
mov byte [esp + 0x118], 0xd
call fcn.00412410
lea ecx, [esp + 0x88]
mov byte [esp + 0x118], bl
call fcn.00412410
push 0x6745b6
lea ecx, [esp + 0x8c]
call fcn.00412330
mov edi, eax
push 0x686e70
lea ecx, [esp + 0x6c]
mov byte [esp + 0x11c], 0xf
call fcn.00412330
mov byte [esp + 0x118], 0x10
push edi
mov esi, eax
lea eax, [esp + 0x2c]
call fcn.004d2900
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.004126e0
lea ecx, [esp + 0x68]
mov byte [esp + 0x118], 0xf
call fcn.00412410
lea ecx, [esp + 0x88]
mov byte [esp + 0x118], bl
call fcn.00412410
push 0x675f5c
lea ecx, [esp + 0xec]
call fcn.00412330
mov ecx, dword [esp + 0x14]
add ecx, 0x30
push ecx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, eax
mov byte [esp + 0x120], 0x11
call fcn.004c4e50
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
mov byte [esp + 0x128], 0x12
call fcn.00460e40
add esp, 0x10
mov esi, eax
lea edi, [esp + 0x28]
mov byte [esp + 0x118], 0x13
call fcn.00419940
lea ecx, [esp + 0x68]
mov byte [esp + 0x118], 0x12
call fcn.00412410
lea ecx, [esp + 0x88]
mov byte [esp + 0x118], 0x11
call fcn.00412410
lea ecx, [esp + 0xe8]
mov byte [esp + 0x118], bl
call fcn.00412410
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4cd001
push eax
call fcn.005f64a0
add esp, 4
mov dword [esi + 0x28], 0
mov edx, dword [esp + 0x2c]
mov ebx, 0x10
cmp dword [esp + 0x40], ebx
jae 0x4cd014
lea edx, [esp + 0x2c]
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x48], ebx
jb 0x4cd021
mov ecx, dword [edi]
jmp 0x4cd025
mov ecx, dword [esp + 0x10]
call fcn.004c3980
cmp dword [esi + 0x48], ebx
jb 0x4cd033
mov eax, dword [edi]
jmp 0x4cd035
mov eax, edi
push 0x691b44
push eax
call fcn.005f5530
add esp, 8
mov dword [esi + 0x28], eax
test eax, eax
jne 0x4cd066
push esi
call fcn.004ce720
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 2
call fcn.00412410
jmp 0x4cd0f6
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], 2
call fcn.00412410
mov edi, ebx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4cd0a8
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x60], edi
jae 0x4cd08e
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0x5c]
push eax
push edx
push 1
push ecx
call fcn.005f5d70
mov eax, dword [esi + 0x28]
push eax
call fcn.005fdc00
add esp, 0x14
cmp byte [esi + 0x24], 0
je 0x4cd0f0
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x60], edi
jae 0x4cd0bc
lea eax, [esp + 0x4c]
push eax
call fcn.004cd160
mov eax, dword [esp + 0x50]
add esp, 4
cmp dword [esp + 0x60], edi
jae 0x4cd0d3
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], str.QLibLog.cpp
mov dword [esp + 0x24], 0xd1
call fcn.0041d7b0
add esp, 4
push esi
call fcn.004ce720
lea ecx, [esp + 0xa8]
mov byte [esp + 0x118], 1
call fcn.00412410
lea ecx, [esp + 0x48]
mov byte [esp + 0x118], 0
call fcn.00412410
lea ecx, [esp + 0xc8]
mov dword [esp + 0x118], 0xffffffff
call fcn.00412410
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret