Function at 0x442a30
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 [0x521014]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [ecx], 0x5058d4
lea edi, [ecx + 8]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 4]
xor esi, esi
dec esi
mov dword [esp + 4], ecx
test byte [ecx + edx + 0x18], 5
mov dword [esp + 8], esi
jne 0x442a96
mov ecx, dword [edi + edx + 0x18]
mov eax, dword [ecx]
sub esp, 0x14
movaps xmm0, xmmword [0x50cc60]
movups xmmword [esp + 4], xmm0
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
call dword [eax + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
lea esi, [esp + 0x38]
push esi
call fcn.0046bc00
mov ecx, esi
push 0x52675c
call fcn.0046bfe0
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ebx, eax
mov ecx, esi
call fcn.0046bd40
movsx eax, bl
mov ecx, edi
push eax
call fcn.004111e0
mov dword [esp + 0x14], edi
mov ecx, edi
call fcn.00410470
lea ebx, [esp + 0x1c]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov eax, dword [esp + 4]
lea edi, [eax + 0xc]
mov ecx, edi
push ebx
call fcn.00411440
test byte [0x522fa0], 0x19
jne 0x442c34
mov eax, dword [0x526e3c]
test eax, eax
je 0x442b30
push ebx
mov ecx, dword [esp + 8]
push dword [ecx + 0x90]
push dword [ecx + 0x98]
push dword [ecx + 0x94]
push dword [ecx + 4]
call eax
add esp, 0x14
test al, al
jne 0x442b6e
mov eax, dword [0x522bb0]
test al, 2
jne 0x442c5b
test al, 4
jne 0x442be8
mov ecx, dword [esp + 4]
cmp dword [ecx + 4], 2
jl 0x442b58
cmp eax, 1
jbe 0x442be8
test al, 1
jne 0x442c77
mov eax, dword [esp + 4]
cmp dword [eax + 4], 3
je 0x442cb7
cmp byte [esp + 0x27], 0
jns 0x442b81
push dword [esp + 0x1c]
call fcn.0048b376
add esp, 4
mov esi, dword [esp + 4]
lea ecx, [esi + 0x9c]
call fcn.00474840
lea ebx, [esi + 0x40]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x505e58
mov dword [esi + 0xc], 0x505e70
cmp byte [esi + 0x37], 0
jns 0x442bbd
mov eax, dword [esp + 0x14]
push dword [eax + 0x24]
call fcn.0048b376
add esp, 4
mov ecx, edi
call fcn.00466200
mov ecx, edi
call fcn.00466670
mov ecx, ebx
call fcn.004661f0
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.0048b980
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, edi
mov edi, 2
push edi
call fcn.0048fb9f
add esp, 4
lea ecx, [esp + 0x1c]
movzx edx, byte [ecx + 0xb]
test dl, dl
cmovs edx, dword [ecx + 4]
cmovs ecx, dword [ecx]
push eax
push 1
push edx
push ecx
call fcn.004a2fd0
add esp, 0x10
push edi
mov edi, ebx
call fcn.0048fb9f
add esp, 4
push eax
call fcn.004a2066
add esp, 4
mov eax, dword [0x522bb0]
jmp 0x442b58
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov ecx, str.LogMessage
xor edx, edx
lea eax, [esp + 0x38]
push eax
push 0
call fcn.004cdb60
add esp, 8
jmp 0x442b04
cmp byte [esp + 0x27], 0
jns 0x442c66
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x522bb0]
jmp 0x442b3d
call fcn.004cd550
test al, al
je 0x442b60
lea eax, [esp + 0x1c]
movzx ecx, byte [eax + 0xb]
test cl, cl
cmovs ecx, dword [eax + 4]
mov dword [esp + 0x38], 0xffffffff
cmovs eax, dword [eax]
push 0
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
push dword [0x526e48]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x442b60
mov dword [esp + 0x10], edi
mov ecx, dword [0x527bb4]
test ecx, ecx
je 0x442ce3
movzx eax, byte [esp + 0x27]
test al, al
jns 0x442cd8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x442cdc
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.004dcf60
mov edi, 0x400
push edi
push 0xff
lea eax, [esp + 0x40]
push eax
call fcn.0048ef90
add esp, 0xc
cmp byte [esp + 0x27], 0
jns 0x442d08
mov eax, dword [esp + 0x1c]
jmp 0x442d0c
lea eax, [esp + 0x1c]
push edi
push eax
lea esi, [esp + 0x40]
push esi
call fcn.00474eb0
add esp, 0xc
push esi
call fcn.00466670
add esp, 4
call fcn.004cd840
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x442deb
mov dword [esp + 0x18], 0xffffffff
call fcn.004cd840
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
test edx, edx
cmove edx, ecx
dec edx
cmp ecx, edx
jb 0x442dee
shl edx, 2
add edx, dword [eax]
lea ebx, [esp + 0x18]
mov ecx, ebx
push edx
call fcn.0046da70
mov esi, dword [ebx]
test esi, esi
je 0x442dd9
cmp byte [esp + 0x27], 0
jns 0x442d7a
mov edi, dword [esp + 0x1c]
jmp 0x442d7e
lea edi, [esp + 0x1c]
mov ebx, edi
add ebx, dword [esp + 8]
je 0x442df1
push ebx
call fcn.004a43f0
add esp, 4
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x90]
mov eax, dword [esp + 8]
sub eax, ecx
add edi, ecx
mov ecx, dword [edx + 0x94]
mov dword [esp + 8], ecx
mov edx, dword [edx + 0x98]
lea ecx, [esp + 0x30]
mov dword [ecx], edi
mov dword [ecx + 4], eax
lea edi, [esp + 0x28]
mov dword [edi], ebx
mov eax, dword [esp + 0xc]
mov dword [edi + 4], eax
push edi
push ecx
push edx
push dword [esp + 0x14]
push esi
call dword [esi + 4]
add esp, 0x14
lea ecx, [esp + 0x18]
call fcn.0046da50
mov edi, dword [esp + 0x10]
jmp 0x442b6e
int3
int3
int3