Function at 0x443500
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x440
mov eax, dword [0x53c014]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [ecx], 0x51fecc
lea edi, [ecx + 8]
mov dword [esp], ecx
add ecx, 0xc
lea esi, [esp + 0x38]
mov dword [esp + 8], ecx
push esi
call fcn.00411ef0
movzx ebx, byte [esp + 0x43]
test bl, bl
jns 0x443553
mov ebx, dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.004e8c56
add esp, 4
mov dword [esp + 0xc], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
push esi
call fcn.0042187a
mov ecx, esi
push 0x5413d8
call fcn.00434728
mov dword [esp + 4], edi
mov edi, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 0xa
call esi
mov ebx, eax
lea ecx, [esp + 0x38]
call fcn.004237b2
movsx eax, bl
mov esi, dword [esp + 4]
mov ecx, esi
push eax
call fcn.00411780
mov ecx, esi
call fcn.004107a0
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
lea eax, [esp + 0x18]
mov edi, dword [esp + 8]
mov ecx, edi
mov dword [esp + 4], eax
push eax
call fcn.00411ef0
test byte [0x53e130], 0x19
mov esi, dword [esp]
jne 0x443a16
cmp dword [esi + 4], 3
jne 0x4436d3
cmp byte [0x541b10], 0
jne 0x4436d3
mov byte [0x541b10], 1
mov eax, dword [0x541b18]
mov ecx, dword [0x540044]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x443a60
mov ecx, edi
lea ebx, [esp + 0x38]
push ebx
call fcn.00411ef0
cmp byte [esp + 0x43], 0
jns 0x44363c
mov ebx, dword [esp + 0x38]
add ebx, dword [esi + 0x90]
mov edi, dword [esi + 0x94]
mov esi, dword [esi + 0x98]
test edi, edi
je 0x443667
push 0x5c
push edi
call fcn.004ec4e0
add esp, 8
lea ecx, [eax + 1]
test eax, eax
cmove ecx, edi
jmp 0x443669
xor ecx, ecx
lea edi, [esp + 0x24]
push ebx
push esi
push ecx
push str._s:_d:__s
push edi
call fcn.00454580
add esp, 0x14
cmp byte [esp + 0x43], 0
jns 0x443691
push dword [esp + 0x38]
call fcn.004e8c56
add esp, 4
movzx eax, byte [esp + 0x2f]
test al, al
mov esi, dword [esp]
jns 0x4436a5
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push eax
push edi
push dword [0x541b14]
call fcn.00457f50
add esp, 0xc
cmp byte [esp + 0x2f], 0
jns 0x4436c8
push dword [esp + 0x24]
call fcn.004e8c56
add esp, 4
mov byte [0x541b10], 0
mov edi, dword [esp + 8]
mov ecx, dword [0x541ae8]
test ecx, ecx
je 0x443720
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
mov edi, dword [esi + 0x90]
mov ebx, dword [esi + 0x98]
mov eax, dword [esp]
mov esi, dword [eax + 0x94]
call dword [section..00cfg]
lea eax, [esp + 0x18]
push eax
push edi
mov edi, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x10]
push dword [esp + 0x20]
call ecx
add esp, 0x14
test al, al
jne 0x4439a4
mov eax, dword [0x53db20]
test al, 2
je 0x443747
cmp byte [esp + 0x23], 0
jns 0x443738
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x53db20]
test al, 4
jne 0x443756
cmp dword [esi + 4], 2
jl 0x4437a6
cmp eax, 1
ja 0x4437a6
movzx ebx, byte [esp + 0x23]
test bl, bl
cmovs ebx, dword [esp + 0x1c]
lea esi, [esp + 0x18]
cmovs esi, dword [esp + 0x18]
test ebx, ebx
je 0x4437a6
xor edi, edi
nop word cs:[eax + eax]
mov eax, ebx
sub eax, edi
lea ecx, [esi + edi]
push eax
push ecx
push 2
call fcn.004fddc3
add esp, 0xc
test eax, eax
js 0x44379d
add edi, eax
cmp edi, ebx
jb 0x443780
mov eax, dword [0x53db20]
mov edi, dword [esp + 8]
test al, 1
je 0x4437e5
call fcn.00442e10
test al, al
je 0x4437e5
mov dword [esp + 0x38], 0xffffffff
movzx eax, byte [esp + 0x23]
test al, al
cmovs eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmovs ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
push dword [0x541af4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [esp]
cmp dword [esi + 4], 3
jne 0x4439a4
mov ecx, dword [0x54c3bc]
test ecx, ecx
lea esi, [esp + 0x38]
je 0x44381e
movzx eax, byte [esp + 0x23]
test al, al
jns 0x443813
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x443817
lea edx, [esp + 0x18]
push eax
push edx
call fcn.004571a0
push 0x400
push 0xff
push esi
call fcn.004ec250
add esp, 0xc
cmp byte [esp + 0x23], 0
jns 0x44383e
mov eax, dword [esp + 0x18]
jmp 0x443842
lea eax, [esp + 0x18]
push 0x400
push eax
push esi
call fcn.00446d00
add esp, 0xc
push esi
call fcn.00410790
add esp, 4
mov eax, dword [0x541b0c]
mov ecx, dword [0x540044]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x443aa3
mov eax, dword [0x541b04]
cmp eax, dword [0x541b08]
je 0x443b0f
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [0x541b0c]
mov ecx, dword [0x540044]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x443ad9
mov eax, dword [0x541b08]
test eax, eax
mov ecx, dword [0x541b00]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x443b12
shl eax, 2
add eax, dword [0x541afc]
lea ecx, [esp + 0x14]
push eax
call fcn.00442b30
mov eax, dword [esp + 0x14]
test eax, eax
je 0x443998
cmp byte [esp + 0x23], 0
jns 0x4438fa
mov edi, dword [esp + 0x18]
jmp 0x4438fe
lea edi, [esp + 0x18]
mov ebx, edi
add ebx, dword [esp + 0xc]
mov dword [esp + 4], eax
je 0x443915
push ebx
call fcn.00500cd0
add esp, 4
jmp 0x443917
xor eax, eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x90]
mov esi, dword [esp + 0xc]
sub esi, ecx
add edi, ecx
mov ecx, dword [edx + 0x94]
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 0x98]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov eax, 1
mov esi, dword [esp + 4]
lock xadd dword [esi], eax
test eax, eax
jle 0x443b15
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 4]
call dword [section..00cfg]
lea eax, [esp + 0x30]
lea edx, [esp + 0x24]
push eax
push edx
push dword [esp + 0x18]
push dword [esp + 0x18]
push edi
call ecx
add esp, 0x14
lock dec dword [esi]
jne 0x443994
push esi
call fcn.00442a70
add esp, 4
mov edi, dword [esp + 8]
lea ecx, [esp + 0x14]
call fcn.00442b00
mov esi, dword [esp]
cmp byte [esp + 0x23], 0
jns 0x4439b7
push dword [esp + 0x18]
call fcn.004e8c56
add esp, 4
lea ecx, [esi + 0x9c]
call fcn.00455160
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x520524
mov dword [esi + 0xc], 0x520530
cmp byte [esi + 0x37], 0
jns 0x4439e8
push dword [esi + 0x2c]
call fcn.004e8c56
add esp, 4
add esi, 0x40
mov ecx, edi
call fcn.0041041e
mov ecx, edi
call fcn.00410790
mov ecx, esi
call fcn.00410414
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.004e96e3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x24], esi
lea eax, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
sub esp, 8
movsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
lea edx, [esp + 0x2c]
mov ecx, str.LogMessage
call fcn.00443e70
add esp, 8
cmp dword [esi + 4], 3
je 0x4435f0
jmp 0x4436d3
push 0x541b18
call fcn.004e8cc7
add esp, 4
cmp dword [0x541b18], 0xffffffff
jne 0x443625
push 0x400
push str.LOG_FATAL
call fcn.00457f10
add esp, 8
mov dword [0x541b14], eax
push 0x541b18
call fcn.004e8d3d
add esp, 4
jmp 0x443625
push 0x541b0c
call fcn.004e8cc7
add esp, 4
cmp dword [0x541b0c], 0xffffffff
jne 0x44387b
xorps xmm0, xmm0
movups xmmword [0x541afc], xmm0
push 0x541b0c
call fcn.004e8d3d
add esp, 4
jmp 0x44387b
push 0x541b0c
call fcn.004e8cc7
add esp, 4
cmp dword [0x541b0c], 0xffffffff
jne 0x4438b5
xorps xmm0, xmm0
movups xmmword [0x541afc], xmm0
push 0x541b0c
call fcn.004e8d3d
add esp, 4
jmp 0x4438b5
int3
int3
int3