Function at 0x42a680
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 [0x4e2024]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [ecx], 0x4d0a78
lea esi, [ecx + 8]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 4]
xor edi, edi
dec edi
mov dword [esp], ecx
test byte [ecx + edx + 0x18], 5
mov dword [esp + 4], edi
jne 0x42a6f5
mov ebx, dword [esi + edx + 0x18]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
sub esp, 0x14
movaps xmm0, xmmword [0x4d4ae0]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov ecx, ebx
call edi
lea eax, [esp + 0x38]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
lea edi, [esp + 0x38]
push edi
call fcn.00449050
mov ecx, edi
push 0x4e708c
call fcn.004499c0
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 0xa
call ebx
mov ebx, eax
lea ecx, [esp + 0x38]
call fcn.00449190
movsx eax, bl
mov ecx, esi
push eax
call fcn.00411370
mov dword [esp + 0x14], esi
mov ecx, esi
call fcn.004104c0
lea edi, [esp + 0x1c]
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [esp]
lea ecx, [eax + 0xc]
mov dword [esp + 0x10], ecx
push edi
call fcn.00411600
test byte [0x4e4270], 0x19
jne 0x42a8b1
mov ecx, dword [0x4f28a4]
test ecx, ecx
je 0x42a7b6
mov eax, dword [esp]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], edx
mov esi, dword [eax + 0x90]
mov ebx, dword [eax + 0x98]
mov eax, dword [eax + 0x94]
mov dword [esp + 8], eax
call dword [section..00cfg]
push edi
push esi
push ebx
push dword [esp + 0x14]
push dword [esp + 0x1c]
call ecx
add esp, 0x14
test al, al
jne 0x42a7f2
mov eax, dword [0x4e3ea4]
test al, 2
jne 0x42a8d7
test al, 4
jne 0x42a86f
mov ecx, dword [esp]
cmp dword [ecx + 4], 2
jl 0x42a7dd
cmp eax, 1
jbe 0x42a86f
test al, 1
jne 0x42a8f3
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x42a933
cmp byte [esp + 0x27], 0
jns 0x42a805
push dword [esp + 0x1c]
call fcn.0046acdd
add esp, 4
mov esi, dword [esp]
lea ecx, [esi + 0x9c]
call fcn.0045cbd0
lea ebx, [esi + 0x40]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x4d0ab4
mov dword [esi + 0xc], 0x4d0df0
cmp byte [esi + 0x37], 0
jns 0x42a840
mov eax, dword [esp + 0x14]
push dword [eax + 0x24]
call fcn.0046acdd
add esp, 4
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00445750
mov ecx, esi
call fcn.00445b90
mov ecx, ebx
call fcn.00445740
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.0046b8b5
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [esp + 0x1c]
movzx ebx, byte [esi + 0xb]
test bl, bl
cmovs ebx, dword [esi + 4]
cmovs esi, dword [esi]
test ebx, ebx
je 0x42a7dd
xor edi, edi
mov eax, ebx
sub eax, edi
lea ecx, [esi + edi]
push eax
push ecx
push 2
call fcn.0047fd15
add esp, 0xc
test eax, eax
js 0x42a8a7
add edi, eax
cmp ebx, edi
ja 0x42a88a
mov eax, dword [0x4e3ea4]
jmp 0x42a7dd
mov eax, dword [esp]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov ecx, str.LogMessage
xor edx, edx
lea eax, [esp + 0x38]
push eax
push 0
call fcn.004afc10
add esp, 8
jmp 0x42a772
cmp byte [esp + 0x27], 0
jns 0x42a8e2
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4e3ea4]
jmp 0x42a7c3
call fcn.004af6c0
test al, al
je 0x42a7e5
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 [0x4f28b0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x42a7e5
mov ecx, dword [0x4f2944]
test ecx, ecx
je 0x42a95b
movzx eax, byte [esp + 0x27]
test al, al
jns 0x42a950
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x42a954
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.004b1ca0
mov edi, 0x400
push edi
push 0xff
lea eax, [esp + 0x40]
push eax
call fcn.0046e590
add esp, 0xc
cmp byte [esp + 0x27], 0
jns 0x42a980
mov eax, dword [esp + 0x1c]
jmp 0x42a984
lea eax, [esp + 0x1c]
push edi
push eax
lea esi, [esp + 0x40]
push esi
call fcn.00450eb0
add esp, 0xc
push esi
call fcn.00445b90
add esp, 4
call fcn.004af8f0
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x42aa71
mov dword [esp + 0x18], 0xffffffff
call fcn.004af8f0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
test edx, edx
cmove edx, ecx
dec edx
cmp ecx, edx
jb 0x42aa74
shl edx, 2
add edx, dword [eax]
lea edi, [esp + 0x18]
mov ecx, edi
push edx
call fcn.00450580
mov eax, dword [edi]
mov dword [esp + 0xc], eax
test eax, eax
je 0x42aa63
cmp byte [esp + 0x27], 0
jns 0x42a9f6
mov edi, dword [esp + 0x1c]
jmp 0x42a9fa
lea edi, [esp + 0x1c]
mov ebx, edi
add ebx, dword [esp + 4]
je 0x42aa77
push ebx
call fcn.00482a60
add esp, 4
mov edx, dword [esp]
mov ecx, dword [edx + 0x90]
mov esi, dword [esp + 4]
sub esi, ecx
add edi, ecx
mov ecx, dword [edx + 0x94]
mov dword [esp + 4], ecx
mov ecx, dword [edx + 0x98]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x30]
mov dword [ecx], edi
mov dword [ecx + 4], esi
lea esi, [esp + 0x28]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push edi
call ecx
add esp, 0x14
lea ecx, [esp + 0x18]
call fcn.00450550
jmp 0x42a7f2
int3
int3
int3