Function at 0x4062c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x40
xor eax, eax
mov al, byte [0x429b25]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ebx, [esi + 0xe78]
mov ecx, ebx
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, 0x42a808
call fcn.00411c20
mov edi, eax
lea eax, [edi - 2]
cmp eax, 8
ja case.0x4062f2.4
jmp dword [eax*4 + 0x40660c]
mov ecx, dword [0x42b01c]
mov eax, dword [ecx + 0x9fb4]
jmp 0x406357
mov edx, dword [0x42b01c]
mov eax, dword [edx + 0x9fb8]
jmp 0x406357
mov eax, dword [0x42b01c]
mov eax, dword [eax + 0x9fc8]
jmp 0x406357
mov ecx, dword [0x42b01c]
mov eax, dword [ecx + 0x9fcc]
jmp 0x406357
mov edx, dword [0x42b01c]
mov eax, dword [edx + 0x9fd0]
jmp 0x406357
mov eax, dword [0x42b01c]
mov eax, dword [eax + 0x9fd4]
jmp 0x406357
mov ecx, dword [0x42b01c]
mov eax, dword [ecx + 0x9fc0]
push eax
lea ecx, [esi + 0xe08]
call fcn.0041cae0
cmp edi, 3
jne 0x406376
mov edx, dword [0x42b01c]
mov eax, dword [edx + 0x46a8]
jmp 0x406381
mov eax, dword [0x42b01c]
mov eax, dword [eax + 0x578]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov al, byte [0x429b25]
test al, al
je 0x406578
mov ecx, 0x428f10
call fcn.0040d2d0
test eax, eax
je 0x406578
mov ebp, dword [sym.imp.MSVCRT.dll_fopen]
lea ebx, [esi + 0x60]
push 0x424400
push ebx
call ebp
mov edi, eax
add esp, 8
test edi, edi
jne 0x4063df
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x424390
push ebx
call ebp
mov edi, eax
add esp, 8
test edi, edi
je 0x4065f8
push edi
push 1
lea ecx, [esp + 0x18]
push 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
push edi
jne 0x40655e
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [esp + 0x34]
add esp, 4
mov ecx, 0x428f10
push edx
call fcn.0040cff0
push eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esi + 0x10f8]
push str._d____d____d
push ecx
call fcn.0041ce20
mov edx, dword [esp + 0x48]
add esp, 0x14
mov ecx, 0x428f10
push edx
call fcn.0040d070
push eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esi + 0x1048]
push str._d____d____d
push ecx
call fcn.0041ce20
mov edx, dword [esp + 0x4c]
add esp, 0x14
mov ecx, 0x428f10
push edx
call fcn.0040d0d0
push eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esi + 0xc28]
push str._d____d____d
push ecx
call fcn.0041ce20
mov edx, dword [esp + 0x50]
add esp, 0x14
mov ecx, 0x428f10
push edx
call fcn.0040d130
push eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 0xcd8]
push str._d____d____d
push ecx
call fcn.0041ce20
mov edx, dword [esp + 0x54]
add esp, 0x14
mov ecx, 0x428f10
push edx
call fcn.0040d030
push eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esi + 0x8b8]
push str._d____d____d
push ecx
call fcn.0041ce20
mov edx, dword [esp + 0x58]
add esp, 0x14
mov ecx, 0x428f10
push edx
call fcn.0040d190
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esi + 0xa48]
push str._d____d____d
push ecx
call fcn.0041ce20
mov edx, dword [esp + 0x5c]
add esp, 0x14
mov ecx, 0x428f10
push edx
call fcn.0040d280
push eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esi + 0x998]
push str._d____d____d
push ecx
call fcn.0041ce20
mov edx, dword [esp + 0x60]
add esp, 0x14
mov ecx, 0x428f10
push edx
call fcn.0040d1f0
push eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esi + 0xaf8]
push str._d____d____d
push ecx
call fcn.0041ce20
add esp, 0x14
mov ecx, esi
call fcn.00406a60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, esi
call fcn.00406a60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
push 0x42a800
lea ecx, [esi + 0xc28]
call fcn.0041cae0
push 0x42a800
lea ecx, [esi + 0xcd8]
call fcn.0041cae0
push 0x42a800
lea ecx, [esi + 0x10f8]
call fcn.0041cae0
push 0x42a800
lea ecx, [esi + 0x1048]
call fcn.0041cae0
push 0x42a800
lea ecx, [esi + 0x8b8]
call fcn.0041cae0
push 0x42a800
lea ecx, [esi + 0xa48]
call fcn.0041cae0
push 0x42a800
lea ecx, [esi + 0xaf8]
call fcn.0041cae0
push 0x42a800
lea ecx, [esi + 0x998]
call fcn.0041cae0
mov ecx, esi
call fcn.00406a60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4