Function at 0x41bec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4871b5
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4a9148]
mov byte [esi + 0x14], 1
test al, 1
jne 0x41bf3b
or eax, 1
mov dword [0x4a9148], eax
push 0xfc8
push 0
push 0x4a8180
mov dword [ebp - 4], 0
call fcn.00424c50
add esp, 0xc
mov ecx, 0x4a8180
call fcn.00417a20
push 0x488a90
call fcn.004236d4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4a8190]
mov ecx, 0x4a8190
push 6
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x41c058
mov eax, dword [0x4a9148]
test al, 1
jne 0x41bfa0
or eax, 1
mov dword [0x4a9148], eax
push 0xfc8
push 0
push 0x4a8180
mov dword [ebp - 4], 1
call fcn.00424c50
add esp, 0xc
mov ecx, 0x4a8180
call fcn.00417a20
push 0x488a90
call fcn.004236d4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4a8190]
mov ecx, 0x4a8190
push 6
push 0
call dword [eax + 0x6c]
mov ebx, eax
mov edx, 0x2000
mov ecx, dword [ebx + 0x20]
sub edx, ecx
lea edi, [ecx + 0x24]
mov ecx, 0x3a
add edi, ebx
mov dword [ebp - 0x64], ecx
add edx, edi
mov eax, edi
sub edx, edi
cmp edx, ecx
jae 0x41bfdd
mov ecx, edx
mov dword [ebp - 0x64], ecx
test edx, edx
je 0x41bff1
push ecx
push str.___________________start_run______________________________
push edi
call fcn.00424600
mov eax, dword [ebp - 0x64]
add esp, 0xc
add eax, edi
sub eax, edi
add dword [ebx + 0x20], eax
mov eax, dword [0x4a9148]
test al, 1
jne 0x41c040
or eax, 1
mov dword [0x4a9148], eax
push 0xfc8
push 0
push 0x4a8180
mov dword [ebp - 4], 2
call fcn.00424c50
add esp, 0xc
mov ecx, 0x4a8180
call fcn.00417a20
push 0x488a90
call fcn.004236d4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4a8190]
mov ecx, 0x4a8190
push 0x783
push str.log4z.cpp
push ebx
call dword [eax + 0x20]
push 0
push 1
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0x4c
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], 0
push 0
push eax
mov dword [ebp - 0x60], 0
call fcn.00424c50
push 0
call fcn.00426357
add esp, 0x10
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.0041b7c0
test al, al
je 0x41c0cb
nop
mov edi, dword [ebp - 0x64]
mov eax, dword [edi]
test eax, eax
js 0x41c0b2
cmp eax, dword [esi + 0x78]
jle 0x41c18a
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.0041b7c0
test al, al
jne 0x41c0a0
xor ebx, ebx
cmp dword [esi + 0x78], ebx
jl 0x41c123
lea edi, [esi + 0xf8]
cmp byte [edi - 0x24], 0
je 0x41c102
cmp dword [ebp + ebx*4 - 0x60], 0
jle 0x41c0fc
mov eax, dword [edi]
test eax, eax
je 0x41c0f4
push eax
call fcn.004265fe
add esp, 4
mov dword [ebp + ebx*4 - 0x60], 0
cmp byte [edi - 0x24], 0
jne 0x41c117
mov eax, dword [edi]
test eax, eax
je 0x41c117
push eax
call fcn.00423755
add esp, 4
mov dword [edi], 0
inc ebx
add edi, 0x88
cmp ebx, dword [esi + 0x78]
jle 0x41c0d8
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x14], 0
jne 0x41c13e
cmp dword [esi + 0xc4c], 0
je 0x41c30a
cmp dword [esi + 0x20], 0
je 0x41c090
push 0
call fcn.00426357
mov edi, eax
add esp, 4
sub edi, dword [ebp - 0x6c]
mov ecx, edx
mov eax, dword [esi + 0x20]
sbb ecx, dword [ebp - 0x68]
cdq
cmp ecx, edx
jl 0x41c090
jg 0x41c172
cmp edi, eax
jbe 0x41c090
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
call dword [eax + 0x50]
push 0
call fcn.00426357
add esp, 4
jmp 0x41c08a
imul eax, eax, 0x88
lea ebx, [esi + 0x80]
add ebx, eax
cmp dword [edi + 4], 0
je 0x41c23d
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x24]
push eax
push ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00406980
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 3
push eax
push dword [edi + 8]
mov ecx, esi
push dword [edi + 4]
push dword [edi]
call fcn.0041a800
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x41c202
push dword [ebp - 0x88]
call fcn.004235a4
add esp, 4
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
test eax, eax
je 0x41c22e
push eax
call fcn.00423755
add esp, 4
mov dword [ebx + 0x78], 0
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
jmp 0x41c090
add dword [esi + 0xfb0], 1
adc dword [esi + 0xfb4], 0
cmp byte [ebx + 0x54], 0
je 0x41c2fb
mov eax, dword [edi + 0xc]
cmp eax, dword [ebx + 0x48]
jl 0x41c2fb
cmp byte [ebx + 0x4c], 0
je 0x41c273
push eax
lea eax, [edi + 0x24]
mov ecx, esi
push eax
call fcn.0041c9a0
cmp byte [ebx + 0x4d], 0
je 0x41c2dd
push edi
mov ecx, esi
call fcn.0041a980
test al, al
jne 0x41c294
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
jmp 0x41c090
mov ecx, dword [ebx + 0x78]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x70], eax
test ecx, ecx
je 0x41c2d1
test eax, eax
je 0x41c2d1
push ecx
push eax
lea eax, [edi + 0x24]
push 1
push eax
call fcn.00423925
add esp, 0x10
cmp eax, dword [ebp - 0x70]
je 0x41c2d1
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x41c2d1
push eax
call fcn.00423755
add esp, 4
mov dword [ebx + 0x78], 0
mov eax, dword [edi + 0x20]
add dword [ebx + 0x74], eax
mov eax, dword [edi]
inc dword [ebp + eax*4 - 0x60]
add dword [esi + 0xfb8], 1
adc dword [esi + 0xfbc], 0
mov eax, dword [edi + 0x20]
cdq
add dword [esi + 0xfc0], eax
adc dword [esi + 0xfc4], edx
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
push edi
call dword [eax + 0x70]
jmp 0x41c090
xor ebx, ebx
cmp dword [esi + 0x78], ebx
jl 0x41c35b
lea edi, [esi + 0xf8]
cmp byte [edi - 0x24], 0
je 0x41c34f
mov byte [edi - 0x24], 0
test ebx, ebx
js 0x41c341
cmp ebx, dword [esi + 0x78]
jg 0x41c341
mov eax, dword [edi]
test eax, eax
je 0x41c34f
push eax
call fcn.00423755
add esp, 4
mov dword [edi], 0
jmp 0x41c34f
push 6
push str.log4z:_closeLogger_can_not_close__invalide_logger_id___r_n
mov ecx, esi
call fcn.0041c9a0
inc ebx
add edi, 0x88
cmp ebx, dword [esi + 0x78]
jle 0x41c317
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret