Function at 0x414ef0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48b3a4
push eax
mov dword fs:[0], esp
sub esp, 0x350
xor eax, eax
lea edx, [esp + 0x124]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 5
mov esi, str.DisplayDiagnoseData
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x14
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xor ebx, ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
push 0xffff
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
jne 0x414f7d
xor al, al
jmp 0x415523
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
cmp edx, ebx
mov dword [ebp], edx
jne 0x414f99
xor al, al
jmp 0x415523
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x298]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea esi, [ebp + 0xc]
not ecx
sub edi, ecx
mov eax, esi
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004155f0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00415630
push ebx
mov ecx, ebp
call fcn.00415630
lea ecx, [esp + 0x5c]
push ecx
call fcn.00417ab0
mov dword [esp + 0x36c], ebx
call fcn.00417aa0
fstp qword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x78]
push str._.2f
push ecx
call fcn.0047edef
mov dl, byte [esp + 0x70]
add esp, 4
mov ecx, esp
mov dword [esp + 0x28], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x49014c]
lea edx, [esp + 0x6c]
push eax
push ebx
push edx
call fcn.0040f3e0
mov ecx, ebp
call fcn.00415690
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x6c]
push ecx
push eax
mov ecx, ebp
call fcn.00415650
fld qword [esp + 0x20]
sub esp, 8
lea ecx, [esp + 0xd8]
fstp qword [esp]
push str._.2f
push ecx
call fcn.0047edef
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0xd0]
push ecx
push edx
mov ecx, ebp
call fcn.00415650
mov ecx, ebp
call fcn.00415550
mov ecx, ebp
call fcn.004155e0
lea esi, [eax + 4]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
lea ebx, [ecx + esi + 1]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ecx + ebx + 1]
or ecx, 0xffffffff
mov edi, edx
mov dword [esp + 0x18], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebp, [ecx + edx + 1]
or ecx, 0xffffffff
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [ecx + ebp + 1]
lea edx, [ecx + ebp + 2]
mov byte [esp + 0x24], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], edx
lea edx, [ecx + edx + 1]
or ecx, 0xffffffff
mov edi, edx
mov dword [esp + 0x20], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov cl, byte [ecx + edx + 1]
mov byte [esp + 0x16], cl
call fcn.00419b40
push ebx
call fcn.00419d40
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x198]
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x198]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
js 0x41519d
mov al, 0x5c
cmp byte [esp + ecx + 0x198], al
jne 0x415195
inc edx
cmp edx, 4
je 0x41519d
dec ecx
jns 0x41518b
mov byte [esp + ecx + 0x199], 0
lea ecx, [esp + 0x198]
push ecx
call fcn.00419940
mov edx, dword [esp + 0x18]
push edx
call fcn.00419f40
add esp, 8
mov eax, 0x49d054
mov dl, byte [ebp]
mov bl, byte [eax]
mov cl, dl
cmp dl, bl
jne 0x4151ed
test cl, cl
je 0x4151e9
mov dl, byte [ebp + 1]
mov bl, byte [eax + 1]
mov cl, dl
cmp dl, bl
jne 0x4151ed
add ebp, 2
add eax, 2
test cl, cl
jne 0x4151c4
xor eax, eax
jmp 0x4151f2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4151fa
push 1
jmp 0x4151fc
push 0
call fcn.0041a000
mov eax, dword [esp + 0x20]
add esp, 4
mov esi, 0x49d054
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x415235
test cl, cl
je 0x415231
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x415235
add eax, 2
add esi, 2
test cl, cl
jne 0x41520d
xor eax, eax
jmp 0x41523a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415242
push 1
jmp 0x415244
push 0
call fcn.0041a010
mov al, byte [esp + 0x16]
add esp, 4
cmp al, 1
jne 0x415258
push 1
jmp 0x41525a
push 0
call fcn.0041a6a0
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.0041a490
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0041a4a0
add esp, 8
lea edx, [esp + 0x12]
push 0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
push 0x49d050
call fcn.0040f1c0
sub esp, 0x10
lea eax, [esp + 0x4e]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
push str.CurrentSelected
mov byte [esp + 0x394], 1
call fcn.0040f1c0
sub esp, 0x10
lea edx, [esp + 0x5d]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
push str.Language
mov byte [esp + 0x3a4], 2
call fcn.0040f1c0
lea eax, [esp + 0x70]
mov byte [esp + 0x39c], 3
push eax
call fcn.00419a00
sub esp, 0xc
mov byte [esp + 0x3ac], 4
mov ecx, esp
mov dword [esp + 0x58], esp
push str.display.ini
push eax
push ecx
call fcn.004158e0
add esp, 0xc
lea edx, [esp + 0x70]
mov byte [esp + 0x3ac], 5
push edx
call fcn.00420b70
add esp, 0x48
mov eax, dword [esp + 0x40]
xor edi, edi
mov bl, 7
cmp eax, edi
mov byte [esp + 0x368], bl
je 0x41534a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x415341
cmp al, 0xff
je 0x415341
dec al
mov byte [ecx], al
jmp 0x41534a
push ecx
call fcn.0047e190
add esp, 4
push edi
push 0x3a8
sub esp, 0x10
lea ecx, [esp + 0x44]
mov eax, esp
mov dword [esp + 0x30], esp
push ecx
push str.CodePage
push eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
call fcn.00413290
push ecx
lea edx, [esp + 0x3b]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
push str.Language
mov byte [esp + 0x398], 8
call fcn.0040f1c0
lea eax, [esp + 0x74]
mov byte [esp + 0x390], 9
push eax
call fcn.00419a00
sub esp, 0xc
mov byte [esp + 0x3a0], 0xa
mov ecx, esp
mov dword [esp + 0x54], esp
push str.display.ini
push eax
push ecx
call fcn.004158e0
add esp, 0xc
mov byte [esp + 0x3a0], 0xb
call fcn.004211b0
mov esi, eax
mov eax, dword [esp + 0x88]
add esp, 0x38
cmp eax, edi
mov byte [esp + 0x368], bl
je 0x415406
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4153fd
cmp al, 0xff
je 0x4153fd
dec al
mov byte [ecx], al
jmp 0x415406
push ecx
call fcn.0047e190
add esp, 4
push esi
call fcn.0041a2f0
add esp, 4
lea edx, [esp + 0x13]
push edi
push edi
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
push str.DsPrintMode
call fcn.0040f1c0
sub esp, 0x10
lea eax, [esp + 0x53]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
push str.Diagnosis
mov byte [esp + 0x398], 0xc
call fcn.0040f1c0
lea ecx, [esp + 0x74]
mov byte [esp + 0x390], 0xd
push ecx
call fcn.00419a00
sub esp, 0xc
mov byte [esp + 0x3a0], 0xe
mov edx, esp
mov dword [esp + 0x54], esp
push str.display.ini
push eax
push edx
call fcn.004158e0
add esp, 0xc
mov byte [esp + 0x3a0], 0xf
call fcn.004211b0
mov esi, eax
mov eax, dword [esp + 0x88]
add esp, 0x38
cmp eax, edi
mov byte [esp + 0x368], bl
je 0x4154bc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4154b3
cmp al, 0xff
je 0x4154b3
dec al
mov byte [ecx], al
jmp 0x4154bc
push ecx
call fcn.0047e190
add esp, 4
cmp esi, edi
jne 0x4154c3
push edi
jmp 0x4154c5
push 1
call fcn.0041a310
mov ecx, dword [esp + 0x34]
add esp, 4
cmp ecx, edi
je 0x4154f1
mov al, byte [ecx - 1]
test al, al
je 0x4154e7
cmp al, 0xff
je 0x4154e7
dec al
mov byte [ecx - 1], al
jmp 0x4154f1
dec ecx
push ecx
call fcn.0047e190
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x30], edi
cmp ecx, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
je 0x415521
mov al, byte [ecx - 1]
test al, al
je 0x415517
cmp al, 0xff
je 0x415517
dec al
mov byte [ecx - 1], al
jmp 0x415521
dec ecx
push ecx
call fcn.0047e190
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x360]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x35c
ret