Function at 0x402a00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x48b0
call fcn.004140a0
mov eax, dword [0x4312d0]
xor eax, ebp
mov dword [ebp - 0x24], eax
movzx eax, byte [0x434624]
test eax, eax
je 0x402a27
jmp 0x403047
push 0
mov ecx, dword [0x43b62c]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov edx, dword [0x43b628]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov byte [ebp - 8], 0
mov byte [ebp - 7], 0
mov byte [ebp - 4], 0
mov byte [ebp - 3], 0
mov dword [ebp - 0xc], 0
jmp 0x402a67
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x402ff9
cmp dword [ebp - 0xc], 0
jne 0x402a85
mov ecx, dword [0x43b638]
mov dword [ebp - 0x48a8], ecx
jmp 0x402a91
mov edx, dword [0x43b63c]
mov dword [ebp - 0x48a8], edx
mov eax, dword [ebp - 0x48a8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], 0
jne 0x402aae
mov ecx, dword [0x43b644]
mov dword [ebp - 0x48ac], ecx
jmp 0x402aba
mov edx, dword [0x43b630]
mov dword [ebp - 0x48ac], edx
mov eax, dword [ebp - 0x48ac]
mov dword [ebp - 0x20], eax
push 0x2000
push 0
lea ecx, [ebp - 0x2028]
push ecx
call fcn.00413c30
add esp, 0xc
push 0x42bbac
lea edx, [ebp - 0x2028]
push edx
call fcn.00413c0e
add esp, 8
lea eax, [ebp - 0x2028]
push eax
call fcn.004162c8
add esp, 4
lea ecx, [ebp + eax*2 - 0x2028]
mov dword [ebp - 0x10], ecx
push 0
push 0
push 0x147
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402b3a
push 0x42bbb4
push 0
push 0xc
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402a5e
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x148
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x2028]
push ecx
call fcn.00408020
add esp, 4
cmp eax, 0xffffffff
jne 0x402b7d
push str.Unknown_EXE_file:_this_does_not_look_like_PES2009_or_PES2009_DEMO__n
push 0
push 0xc
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402a5e
lea eax, [ebp - 0x2028]
push eax
call fcn.00408020
add esp, 4
push eax
call fcn.00408180
add esp, 4
movzx ecx, al
xor edx, edx
cmp dword [ebp - 0xc], 0
sete dl
cmp ecx, edx
je 0x402c14
cmp dword [ebp - 0xc], 0
jne 0x402bc0
push str.You_selected_a_settings_executable_instead_a_a_game_executable.
push 0
push 0xc
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402c0f
push 0x800
push 0
lea ecx, [ebp - 0x2828]
push ecx
call fcn.00413c30
add esp, 0xc
lea edx, [ebp - 0x2028]
push edx
call fcn.00408020
add esp, 4
push eax
push str.You_selected_a_game_executable_instead_a_a_settings__executable__type_d_
lea eax, [ebp - 0x2828]
push eax
call fcn.00404400
add esp, 0xc
lea ecx, [ebp - 0x2828]
push ecx
push 0
push 0xc
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402a5e
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 8], 1
push 0x42bd64
lea ecx, [ebp - 0x2028]
push ecx
call fcn.004162b1
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x402fe1
push 0x28
push 0
lea edx, [ebp - 0x2854]
push edx
call fcn.00413c30
add esp, 0xc
mov dword [ebp - 0x2858], 0
mov dword [ebp - 0x282c], 0
push str..rdata
mov eax, dword [ebp - 0x14]
push eax
call fcn.00408a10
add esp, 8
mov byte [ebp - 0x2859], al
movzx ecx, byte [ebp - 0x2859]
test ecx, ecx
jne 0x402c9d
push str..rsrc
mov edx, dword [ebp - 0x14]
push edx
call fcn.00408a10
add esp, 8
mov byte [ebp - 0x2859], al
movzx eax, byte [ebp - 0x2859]
test eax, eax
jne 0x402cbf
push 0x42bd7c
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00408a10
add esp, 8
mov byte [ebp - 0x2859], al
movzx edx, byte [ebp - 0x2859]
test edx, edx
je 0x402d40
mov eax, dword [ebp - 0x14]
push eax
push 1
push 0x28
lea ecx, [ebp - 0x2854]
push ecx
call fcn.004161ce
add esp, 0x10
mov edx, dword [ebp - 0x2848]
add edx, dword [ebp - 0x2844]
mov dword [ebp - 0x282c], edx
cmp dword [ebp - 0x2840], 0
je 0x402d10
mov eax, dword [ebp - 0x2840]
add eax, dword [ebp - 0x2844]
mov dword [ebp - 0x2858], eax
jmp 0x402d22
mov ecx, dword [ebp - 0x2848]
add ecx, dword [ebp - 0x2844]
mov dword [ebp - 0x2858], ecx
mov edx, dword [ebp - 0x2858]
sub edx, 0x20
mov dword [ebp - 0x2858], edx
mov eax, dword [ebp - 0x282c]
sub eax, 0x20
mov dword [ebp - 0x282c], eax
mov ecx, dword [ebp - 0x2858]
push ecx
push 0x42bd80
call fcn.00401000
add esp, 8
mov edx, dword [ebp - 0x282c]
push edx
push str.dataVA___08x
call fcn.00401000
add esp, 8
cmp dword [ebp - 0x2858], 0
je 0x402fc0
push 0x20
push 0
lea eax, [ebp - 0x289c]
push eax
call fcn.00413c30
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x2858]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00415ea9
add esp, 0xc
mov dword [ebp - 0x287c], 0
mov eax, dword [ebp - 0x14]
push eax
push 1
push 4
lea ecx, [ebp - 0x287c]
push ecx
call fcn.004161ce
add esp, 0x10
push 0x18
push 0
lea edx, [ebp - 0x2878]
push edx
call fcn.00413c30
add esp, 0xc
push 1
push 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00415ea9
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 0x18
lea edx, [ebp - 0x2878]
push edx
call fcn.004161ce
add esp, 0x10
push 0x5c
lea eax, [ebp - 0x2878]
push eax
call fcn.00404440
add esp, 8
add eax, 1
mov dword [ebp - 0x2860], eax
mov ecx, dword [ebp - 0xc]
mov byte [ebp + ecx - 4], 0
cmp dword [ebp - 0x287c], 0
je 0x402e6a
cmp dword [ebp - 0x2860], 1
je 0x402e6a
cmp dword [ebp - 0xc], 0
jne 0x402e3e
mov dword [ebp - 0x48b0], 0x42bdc0
jmp 0x402e48
mov dword [ebp - 0x48b0], 0x42bdc8
mov edx, dword [ebp - 0x48b0]
push edx
mov eax, dword [ebp - 0x2860]
push eax
call fcn.004164d0
add esp, 8
test eax, eax
jne 0x402e6a
mov ecx, dword [ebp - 0xc]
mov byte [ebp + ecx - 4], 1
mov edx, dword [ebp - 0xc]
movzx eax, byte [ebp + edx - 4]
test eax, eax
je 0x402f8e
push 0x1000
push 0
lea ecx, [ebp - 0x38a0]
push ecx
call fcn.00413c30
add esp, 0xc
mov edx, dword [ebp - 0x2860]
lea eax, [ebp - 0x2878]
sub edx, eax
sub edx, 1
push edx
lea ecx, [ebp - 0x2878]
push ecx
lea edx, [ebp - 0x38a0]
push edx
call fcn.004163a0
add esp, 0xc
push 0x434628
lea eax, [ebp - 0x38a0]
push eax
call fcn.004164d0
add esp, 8
test eax, eax
jne 0x402f05
push str.KitServer_INSTALLED_correctly_for_this_folder.
push 0
push 0xc
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edx, dword [0x43b62c]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x43b628]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402f8c
push 0x1000
push 0
lea ecx, [ebp - 0x48a0]
push ecx
call fcn.00413c30
add esp, 0xc
lea edx, [ebp - 0x38a0]
push edx
call fcn.00404460
add esp, 4
mov dword [ebp - 0x48a4], eax
mov eax, dword [ebp - 0x48a4]
push eax
push str.KitServer_INSTALLED__but_for_folder___s_.
mov ecx, dword [ebp - 0x48a4]
push ecx
call fcn.00404400
add esp, 0xc
mov edx, dword [ebp - 0x48a4]
push edx
call fcn.00404920
add esp, 4
lea eax, [ebp - 0x48a0]
push eax
push 0
push 0xc
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edx, dword [0x43b62c]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x43b628]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402fbe
push str.KitServer_not_installed.
push 0
push 0xc
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov edx, dword [0x43b62c]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, dword [0x43b628]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402fd3
push str.Information_unavailable
push 0
push 0xc
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x14]
push edx
call fcn.00414142
add esp, 4
jmp 0x402ff4
push str._ERROR:_Cant_open_file._
push 0
push 0xc
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402a5e
movzx ecx, byte [ebp - 8]
test ecx, ecx
jne 0x403009
movzx edx, byte [ebp - 7]
test edx, edx
je 0x403047
movzx eax, byte [ebp - 4]
test eax, eax
jne 0x403019
movzx ecx, byte [ebp - 3]
test ecx, ecx
je 0x403028
push 1
mov edx, dword [0x43b628]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
movzx eax, byte [ebp - 4]
test eax, eax
je 0x403038
movzx ecx, byte [ebp - 3]
test ecx, ecx
jne 0x403047
push 1
mov edx, dword [0x43b62c]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00414090
mov esp, ebp
pop ebp
ret