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

Disassembly:
sub esp, 0x34c
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x348], eax
push ebp
mov ebp, dword [esp + 0x358]
push esi
push edi
mov edi, dword [esp + 0x35c]
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42cec0
sub eax, edx
cmp eax, 2
ja 0x42d06a
movzx eax, byte [edi]
add eax, 0xffffffbe
cmp eax, 0x2b
ja case.0x42ceea.67
movzx eax, byte [eax + 0x42d1a4]
jmp dword [eax*4 + 0x42d198]
cmp byte [0x4bd248], 0
jne 0x42cfbf
push 0x202
push 0x4bd248
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xc]
push ecx
call fcn.004815b3
lea edx, [esp + 0x10]
push edx
call fcn.00481c65
add esp, 8
lea edx, [esp + 0x10]
jmp 0x42cf30
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x42cf30
lea eax, [esp + 0x10]
push eax
push 0x4bd248
push str.2.1.358
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x5c]
push str._r_n_Pz_MDK_Build__s___PalDebug_from__s_on__s_r_n_r_n_r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x2e
push 0x4bd248
call fcn.00481160
mov edx, dword [str..inf]
mov dword [eax], edx
mov cl, byte [0x49f938]
push 0x49f930
push 0x4bd248
mov byte [eax + 4], cl
call fcn.00482bdb
mov esi, eax
add esp, 0x24
test esi, esi
je 0x42d17e
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42cfa1
sub eax, edx
push esi
push eax
lea edx, [esp + 0x58]
push 1
push edx
call fcn.00482a8a
add esp, 0x10
jmp 0x42cfdb
push 0x49f92c
push 0x4bd248
call fcn.00482bdb
mov esi, eax
add esp, 8
test esi, esi
je 0x42d17e
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42cfe0
jmp 0x42d169
push 0x202
lea eax, [esp + 0x154]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x150]
push ecx
lea edx, [esp + 0x54]
push str.PalDebug_from__s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x40
lea eax, [esp + 0x54]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.004810ab
add esp, 0x34c
ret
push ebp
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.004810ab
add esp, 0x34c
ret
mov ecx, edi
mov eax, 0x4bd248
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42d091
test dl, dl
je 0x42d08d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42d091
add eax, 2
add ecx, 2
test dl, dl
jne 0x42d071
xor eax, eax
jmp 0x42d096
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42d13e
lea ecx, [esp + 0xc]
push ecx
call fcn.004815b3
lea edx, [esp + 0x10]
push edx
call fcn.00481c65
add esp, 8
lea edx, [esp + 0x10]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x42d0c0
lea eax, [esp + 0x10]
push eax
push edi
push str.2.1.358
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x5c]
push str._r_n_Pz_MDK_Build__s___PalDebug_from__s_on__s_r_n_r_n_r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x49f930
push edi
call fcn.00482bdb
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x42d17e
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42d108
sub eax, edx
push esi
push eax
lea edx, [esp + 0x58]
push 1
push edx
call fcn.00482a8a
mov edx, 0x4bd248
add esp, 0x10
mov eax, edi
sub edx, edi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x42d130
jmp 0x42d156
push 0x49f92c
push 0x4bd248
call fcn.00482bdb
mov esi, eax
add esp, 8
test esi, esi
je 0x42d17e
mov eax, ebp
lea edx, [eax + 1]
jmp 0x42d160
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42d160
push esi
sub eax, edx
push eax
push 1
push ebp
call fcn.00482a8a
push esi
call fcn.004828f4
add esp, 0x14
mov ecx, dword [esp + 0x354]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004810ab
add esp, 0x34c
ret