Function at 0x41b2c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x447c70
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov edi, ecx
cmp esi, dword [edi + 4]
jg 0x41b645
push 0x464f40
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x3c]
push eax
call fcn.00435125
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041ab50
cmp esi, 8
mov dword [esp + 0x5c], 0
ja case.default.0x41b33c
jmp dword [esi*4 + 0x41b668]
push str.__Always_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push str.__Fatal_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push str.__Warning_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push str.__Message_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push str.__Info_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push str.__Trace_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push str.__Stats_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push str.__Debug_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push str.__VDebug_
lea ecx, [esp + 0x18]
call fcn.0041ab10
jmp 0x41b49d
push 0x44cc60
lea ecx, [esp + 0x28]
call fcn.004010e0
push str.__CL_
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 1
call fcn.004010e0
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
mov byte [esp + 0x64], 2
call fcn.00401270
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push ecx
mov bl, 3
mov ecx, eax
mov byte [esp + 0x64], bl
call fcn.004011f0
lea esi, [eax + 4]
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x5c], 4
jle 0x41b45a
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x18]
call fcn.0041ab10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], bl
call fcn.0040ed90
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call fcn.0040ed90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 1
call fcn.0040ed90
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0
call fcn.0040ed90
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041ab50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
mov bl, 5
push edx
mov byte [esp + 0x68], bl
call fcn.0041a9f0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 6
call fcn.00401b30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b4f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 2
push 0x45602c
lea ecx, [esp + 0x20]
call fcn.00401e50
cmp byte [edi + 0x34], 0
je 0x41b5ed
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.0041ae40
add eax, 4
lea ecx, [edi + 0x28]
push eax
mov byte [esp + 0x60], 7
call fcn.00401b30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.0040ed90
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x28]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x41b561
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov eax, dword [esi]
push 0
push eax
call fcn.00434bdf
xor ecx, ecx
add esp, 8
cmp eax, 0xffffffff
mov eax, dword [esi]
setne cl
sub eax, 0x10
cmp dword [eax + 0xc], ebx
mov edi, ecx
jle 0x41b58d
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push 0x44bad4
lea eax, [esp + 0x20]
push esi
push eax
call fcn.00433fcb
add esp, 0xc
test edi, edi
jne 0x41b5c7
test eax, eax
jne 0x41b5c7
mov ecx, dword [esp + 0x1c]
push ecx
push 2
lea edx, [esp + 0x2c]
push ebx
push edx
mov dword [esp + 0x34], 0xfeff
call fcn.00433ce9
add esp, 0x10
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x41b5ed
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push edx
push ecx
push 2
push eax
call fcn.00433ce9
mov eax, dword [esp + 0x2c]
push eax
call fcn.00433665
add esp, 0x14
push 0x464f40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b61d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b645
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00431df7
add esp, 0x4c
ret 8