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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4a3270
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [esi], 0x658bb8
cmp dword [esi + 8], 0
jne 0x424a16
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], 2
push 0x658bbc
mov dword [ebp - 0x44], eax
push eax
mov dword [ebp - 0x20], esi
call fcn.005df800
add esp, 8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x28], edx
lea ecx, [eax + 0x14]
push edx
call fcn.00424130
mov ecx, dword [0x6d1090]
test ecx, ecx
je 0x42490d
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 8]
mov edi, dword [eax + 0xa8]
mov ebx, dword [eax + 0xb0]
mov esi, dword [eax + 0xac]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x24], edx
call dword [0x64689c]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x10], 3
push eax
push edi
push ebx
push esi
push dword [ebp - 0x24]
call ecx
add esp, 0x14
test al, al
je 0x42490d
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x424a16
mov ecx, dword [ebp - 0x40]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x424a0c
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jb 0x424a02
mov dword [ebp - 0x10], 1
call fcn.006207e0
mov eax, dword [0x6d1084]
mov esi, dword [ebp - 0x20]
test al, 2
je 0x42493d
cmp dword [ebp - 0x2c], 0xf
jbe 0x424925
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 3
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x6d1084]
mov esi, dword [ebp - 0x20]
test al, 4
jne 0x42494c
cmp eax, 1
ja 0x4249a0
cmp dword [esi + 8], 2
jl 0x4249a0
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0xf
jbe 0x42495a
mov edx, dword [ebp - 0x40]
jmp 0x42495d
lea edx, [ebp - 0x40]
test ecx, ecx
mov dword [ebp - 0x24], edx
je 0x4249a0
xor edx, edx
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x48], ecx
mov eax, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
sub eax, edx
add ecx, edx
push eax
push ecx
push 2
call fcn.0062976f
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x28]
test eax, eax
js 0x424998
add edx, eax
cmp edx, ecx
jb 0x424970
mov eax, dword [0x6d1084]
mov esi, dword [ebp - 0x20]
test al, 1
je 0x4249df
mov dword [ebp - 0x10], 3
call fcn.004a24d0
mov esi, dword [ebp - 0x20]
test al, al
je 0x4249df
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0xf
jbe 0x4249c5
mov ecx, dword [ebp - 0x40]
jmp 0x4249c8
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x4c]
push 0
push edx
push eax
push ecx
push dword [0x6d109c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x424a16
mov ecx, dword [ebp - 0x40]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x424a0c
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x424a3c
mov ecx, esi
mov esi, dword [ebp - 0x20]
add eax, 0x24
mov edx, eax
push edx
push ecx
call fcn.005d319e
add esp, 8
lea ecx, [esi + 0xb4]
call fcn.00424b00
add esi, 0x10
mov ecx, esi
call fcn.00424ba0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop dword [eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x424aab
mov ecx, dword [ebp - 0x40]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x424aa1
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x424ac2
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
add esp, 0x14
pop ebp
ret
call fcn.006207e0
nop word [eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0xb4
call fcn.00424b00
mov ecx, dword [ebp - 0x44]
call fcn.00424ba0
call fcn.0061de80
int3