Function at 0x44fda0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63df56
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2478
call fcn.005ba2b0
mov eax, dword [0x6dff44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2450], edi
push 0x200
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea eax, [edi + 0xa4]
push 0x134e8
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea esi, [edi + 0x1358c]
push 0x874
push 0
push esi
call fcn.005f6720
add esp, 0xc
lea eax, [edi + 0x13e00]
push 0x3fc
push 0
push eax
call fcn.005f6720
add esp, 0xc
mov dword [edi + 0x14610], 0
mov dword [edi + 0x14614], 0
push esi
push dword [ebx + 8]
push 0x75e0c0
call dword [0x75d78c]
add esp, 0xc
lea eax, [ebp - 0x1440]
push 0x104
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea eax, [ebp - 0x1440]
push eax
push dword [edi + 0x13694]
push 0x75e0c0
call dword [0x75d784]
add esp, 0xc
lea eax, [ebp - 0x1230]
push 0x104
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea eax, [ebp - 0x1230]
push eax
push dword [edi + 0x13698]
push 0x75e0c0
call dword [0x75d780]
add esp, 0xc
lea eax, [ebp - 0x1128]
push 0x104
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea eax, [ebp - 0x1128]
push eax
push dword [edi + 0x1369c]
push 0x75e0c0
call dword [0x75d77c]
add esp, 0xc
lea eax, [ebp - 0x1338]
push 0x104
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea eax, [ebp - 0x1338]
push eax
push dword [edi + 0x136a0]
push 0x75e0c0
call dword [0x75d778]
add esp, 0xc
mov dword [ebp - 0x244c], 0
lea eax, [ebp - 0x244c]
push eax
push 0
push dword [edi + 0x13698]
push 0x75e0c0
call dword [0x75d8ac]
push dword [ebp - 0x244c]
call fcn.00488d93
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0x244c]
push eax
push esi
push dword [edi + 0x13698]
push 0x75e0c0
call dword [0x75d8ac]
add esp, 0x10
push 1
push dword [ebp - 0x244c]
push esi
call dword [0x64ebb4]
push eax
push dword [edi + 4]
call dword [0x64eb4c]
push esi
call fcn.00488d8e
mov eax, dword [edi + 0x13690]
add esp, 4
mov esi, dword [0x64e5e0]
cmp eax, 1
je 0x4500ce
cmp eax, 2
je 0x4500ce
cmp eax, 5
je 0x4500ce
cmp eax, 6
je 0x4500ce
cmp eax, 4
jne 0x4501b0
cmp dword [0x75e2e0], 1
jne 0x450013
lea esi, [edi + 0x13590]
push esi
lea eax, [ebp - 0x1124]
push eax
lea eax, [ebp - 0x1334]
push eax
lea eax, [ebp - 0x122c]
push eax
lea eax, [ebp - 0x230]
push str._s____s____s____s
push eax
call dword [0x64e5e0]
jmp 0x450043
lea eax, [edi + 0x13610]
push eax
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x12b4]
push eax
lea eax, [ebp - 0x11ac]
push eax
lea eax, [ebp - 0x230]
push str._s____s____s____s
push eax
call esi
lea esi, [edi + 0x13590]
add esp, 0x18
lea eax, [ebp - 0x230]
push eax
push dword [edi + 0xc]
mov eax, dword [0x64eb48]
call eax
cmp dword [0x75e2e0], 1
jne 0x450077
push esi
lea eax, [ebp - 0x1124]
push eax
lea eax, [ebp - 0x1334]
push eax
lea eax, [ebp - 0x122c]
jmp 0x450092
lea eax, [edi + 0x13610]
push eax
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x12b4]
push eax
lea eax, [ebp - 0x11ac]
push eax
lea eax, [edi + 0x1440c]
push str._s__s__s__s
push eax
call dword [0x64e5e0]
mov ecx, edi
add esp, 0x18
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi + 0x1420a], ax
test ax, ax
jne 0x4500b0
mov esi, dword [0x64e5e0]
jmp 0x4501b0
cmp dword [0x75e2e0], 1
jne 0x4500f4
lea eax, [edi + 0x13590]
push eax
lea eax, [ebp - 0x1124]
push eax
lea eax, [ebp - 0x122c]
push eax
lea eax, [ebp - 0x143c]
jmp 0x45010f
lea eax, [edi + 0x13610]
push eax
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x11ac]
push eax
lea eax, [ebp - 0x13bc]
push eax
lea eax, [ebp - 0x230]
push str._s____s____s____s
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x230]
push eax
push dword [edi + 0xc]
mov eax, dword [0x64eb48]
call eax
cmp dword [0x75e2e0], 1
jne 0x450158
lea eax, [edi + 0x13590]
push eax
lea eax, [ebp - 0x1124]
push eax
lea eax, [ebp - 0x122c]
push eax
lea eax, [ebp - 0x143c]
jmp 0x450173
lea eax, [edi + 0x13610]
push eax
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x11ac]
push eax
lea eax, [ebp - 0x13bc]
push eax
lea eax, [edi + 0x1440c]
push str._s__s__s__s
push eax
call esi
lea ecx, [ebp - 0x1124]
mov eax, edi
mov edx, ecx
add esp, 0x18
sub eax, edx
lea edx, [eax + 0x1420c]
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4501a0
cmp dword [edi + 0x13690], 1
jne 0x450356
mov eax, dword [edi + 0x13df8]
cmp eax, 2
jne 0x45029a
mov edx, 0x1458
lea ecx, [ebp - 0x2c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x4501e1
mov eax, dword [eax]
mov esi, dword [0x64ebbc]
push eax
push dword [edi + 0x1c]
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x450227
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45021d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e69
push edx
push ecx
call fcn.005b978b
add esp, 8
mov edx, 0x1456
lea ecx, [ebp - 0x2c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x45023c
mov eax, dword [eax]
push eax
push dword [edi + 0x18]
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x45027c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e6e
push edx
push ecx
call fcn.005b978b
add esp, 8
mov esi, dword [0x64eb54]
push 0
push dword [edi + 0x14]
call esi
push 1
push dword [edi + 0x1c]
call esi
push 1
push dword [edi + 0x18]
jmp 0x4506e9
cmp eax, 3
jne 0x4506eb
mov edx, 0x1457
lea ecx, [ebp - 0x2c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x4502b8
mov eax, dword [eax]
mov esi, dword [0x64ebbc]
push eax
push dword [edi + 0x1c]
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4502fe
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4502f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e73
push edx
push ecx
call fcn.005b978b
add esp, 8
mov edx, 0x1456
lea ecx, [ebp - 0x2c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x450313
mov eax, dword [eax]
push eax
push dword [edi + 0x18]
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x45027c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e78
jmp 0x450272
cmp dword [edi + 0x139b4], 0
jle 0x450ae7
cmp dword [edi + 0x13ae8], 0
jle 0x450647
cmp dword [edi + 0x13bec], 0
jle 0x450647
push 0x200
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.005f6720
mov edx, dword [edi + 0x13df4]
lea ecx, [ebp - 0x246c]
add esp, 0xc
cmp dword [0x75e2e0], 1
jne 0x450496
call fcn.0044fb40
mov dword [ebp - 0x2454], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov edx, dword [edi + 0x139b4]
call fcn.0044fb40
mov ecx, eax
mov eax, dword [ebp - 0x2454]
cmp dword [eax + 0x14], 8
jb 0x4503dc
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x4503e4
mov ecx, dword [ecx]
push eax
lea eax, [edi + 0x13aec]
push eax
push ecx
lea eax, [edi + 0x136a8]
push eax
lea eax, [ebp - 0x430]
push str._s__s______s__s_
push eax
call esi
mov edx, dword [ebp - 0x18]
add esp, 0x18
cmp edx, 8
jb 0x45043f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450435
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e7d
push edx
push ecx
call fcn.005b978b
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2458]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x4504ec
mov ecx, dword [ebp - 0x246c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4504e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e82
jmp 0x4504e2
call fcn.0044fb40
mov dword [ebp - 0x2454], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov edx, dword [edi + 0x139b4]
call fcn.0044fb40
mov ecx, eax
mov eax, dword [ebp - 0x2454]
cmp dword [eax + 0x14], 8
jb 0x4504c6
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x4504ce
mov ecx, dword [ecx]
push eax
lea eax, [edi + 0x13b6c]
push eax
push ecx
lea eax, [edi + 0x13728]
jmp 0x4503f3
push edx
push ecx
call fcn.005b978b
add esp, 8
mov edx, 0x137d
lea ecx, [ebp - 0x246c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x450504
mov eax, dword [eax]
lea ecx, [ebp - 0x430]
push ecx
push eax
lea eax, [ebp - 0x230]
push eax
call esi
mov edx, dword [ebp - 0x2458]
add esp, 0xc
cmp edx, 8
jb 0x450558
mov ecx, dword [ebp - 0x246c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45054e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e7d
push edx
push ecx
call fcn.005b978b
add esp, 8
lea eax, [ebp - 0x230]
push eax
push dword [edi + 0x10]
call dword [0x64eb48]
mov edx, dword [edi + 0x139b4]
lea ecx, [ebp - 0x246c]
call fcn.0044fb40
cmp dword [eax + 0x14], 8
jb 0x450581
mov eax, dword [eax]
mov esi, dword [0x64ebbc]
push eax
push dword [edi + 0x1c]
call esi
mov edx, dword [ebp - 0x2458]
cmp edx, 8
jb 0x4505cd
mov ecx, dword [ebp - 0x246c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4505c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e7d
push edx
push ecx
call fcn.005b978b
add esp, 8
mov edx, dword [edi + 0x13df4]
lea ecx, [ebp - 0x246c]
call fcn.0044fb40
cmp dword [eax + 0x14], 8
jb 0x4505e6
mov eax, dword [eax]
push eax
push dword [edi + 0x18]
call esi
mov edx, dword [ebp - 0x2458]
cmp edx, 8
jb 0x45062c
mov ecx, dword [ebp - 0x246c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450622
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e7d
push edx
push ecx
call fcn.005b978b
add esp, 8
mov esi, dword [0x64eb54]
push 0
push dword [edi + 0x14]
call esi
push 1
push dword [edi + 0x18]
call esi
push 1
jmp 0x4506e6
cmp dword [0x75e2e0], 1
lea ecx, [ebp - 0x246c]
mov edx, 0x137d
jne 0x450acf
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x45066c
mov eax, dword [eax]
lea ecx, [edi + 0x136a8]
push ecx
push eax
lea eax, [ebp - 0x230]
push eax
call esi
mov edx, dword [ebp - 0x2458]
add esp, 0xc
cmp edx, 8
jb 0x4506c0
mov ecx, dword [ebp - 0x246c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4506b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e7d
push edx
push ecx
call fcn.005b978b
add esp, 8
lea eax, [ebp - 0x230]
push eax
push dword [edi + 0x10]
call dword [0x64eb48]
mov esi, dword [0x64eb54]
push 1
push dword [edi + 0x14]
call esi
push 0
push dword [edi + 0x18]
call esi
push 0
push dword [edi + 0x1c]
call esi
mov esi, dword [edi + 0x13ac0]
test esi, esi
jle 0x450740
push 0x1004
lea eax, [ebp - 0x2448]
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea eax, [ebp - 0x2448]
push eax
push esi
push 0x75e0c0
call dword [0x75d8b4]
add esp, 0xc
lea eax, [ebp - 0x2444]
cmp dword [0x75e2e0], 1
je 0x450736
lea eax, [ebp - 0x1c44]
push eax
push dword [edi + 0x30]
call dword [0x64eac8]
push 0x190
lea eax, [ebp - 0x5c8]
push 0
push eax
call fcn.005f6720
lea ecx, [edi + 0x139b8]
add esp, 0xc
lea edx, [ebp - 0x5c8]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x450764
lea eax, [ebp - 0x5c8]
mov esi, 1
mov ecx, eax
lea edi, [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
nop dword [eax]
push 0x2c
push eax
call fcn.005f5a1b
add esp, 8
test eax, eax
je 0x4507b2
xor ecx, ecx
inc esi
mov word [eax], cx
add eax, 2
mov dword [edi], eax
add edi, 4
cmp esi, 0x14
jl 0x450790
mov edi, dword [ebp - 0x2450]
lea eax, [esi - 1]
push dword [edi + 0x2c]
mov dword [edi + 0x14204], eax
call dword [0x64ebdc]
xor esi, esi
mov dword [ebp - 0x2454], eax
cmp dword [edi + 0x14204], esi
jle 0x450872
nop
mov edx, dword [ebp + esi*4 - 0x1020]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2450], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4507f2
sub ecx, dword [ebp - 0x2450]
sar ecx, 1
je 0x450865
push edx
call fcn.005ff877
add esp, 4
mov dword [ebp - 0x2450], eax
lea ecx, [ebp - 0x2f8]
push ecx
lea ecx, [ebp - 0x1510]
push ecx
push eax
push 0x75e0c0
call dword [0x75d8a8]
add esp, 0x10
lea eax, [ebp - 0x1510]
cmp dword [0x75e2e0], 1
je 0x450848
lea eax, [ebp - 0x2f8]
push eax
push dword [ebp - 0x2454]
call dword [0x64ebd4]
push dword [ebp - 0x2450]
push eax
push dword [edi + 0x2c]
call dword [0x64ebd8]
inc esi
cmp esi, dword [edi + 0x14204]
jl 0x4507e0
push 0
push dword [edi + 0x2c]
call dword [0x64eab8]
mov eax, dword [edi + 0x2c]
push 0
push 0
push 0x56
push eax
push eax
call dword [0x64ec30]
mov eax, dword [0x75e2e0]
lea ecx, [edi + 0x13590]
mov dword [edi + 0xa8], eax
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx - 0x134da], ax
test ax, ax
jne 0x4508a0
lea ecx, [edi + 0x13610]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx - 0x134da], ax
test ax, ax
jne 0x4508c0
mov eax, dword [edi + 0x13ae4]
mov dword [edi + 0xb0], eax
mov eax, dword [edi + 0x13ab8]
push 0x500000
mov dword [edi + 0x33dc], eax
call fcn.00488d93
mov esi, dword [edi + 0x13690]
add esp, 4
mov dword [edi + 0x3478], eax
mov eax, dword [edi + 0x137a8]
mov dword [edi + 0x33c], eax
push 0x800
mov dword [edi + 0x3468], eax
lea eax, [ebp - 0xfd0]
push 0
push eax
mov dword [edi + 0x33e4], esi
call fcn.005f6720
add esp, 0xc
lea eax, [edi + 0x13610]
push eax
lea eax, [ebp - 0x11ac]
push eax
push esi
push dword [ebx + 8]
lea eax, [ebp - 0xfd0]
push str.Dashboard_aid_d__functype_d__brand_s__name_s_
push eax
call fcn.00421570
add esp, 0x18
lea eax, [ebp - 0xfd0]
push eax
call fcn.004127e0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea edx, [edi + 0x13ac4]
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.004685d0
mov esi, eax
lea ecx, [ebp - 0x28]
push esi
lea eax, [edi + 0x3480]
push ecx
push eax
call fcn.005f5c20
add esp, 0xc
mov dword [edi + 0x3494], esi
cmp esi, 3
je 0x4509c3
cmp esi, 4
je 0x4509c3
xorps xmm0, xmm0
movups xmmword [edi + 0x3480], xmm0
mov dword [edi + 0x3490], 0
mov dword [edi + 0x3494], 0
mov ecx, dword [edi + 0x137ac]
test ecx, ecx
je 0x450b6a
lea eax, [edi + 0x13e04]
push eax
lea eax, [edi + 0x13f0c]
push eax
lea esi, [edi + 0x13ecc]
push esi
push ecx
push 0x75e0c0
call dword [0x75d74c]
add esp, 0x14
test eax, eax
jne 0x450bfa
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x450a00
sub esi, ecx
je 0x450bfa
push dword [edi + 0x137ac]
lea eax, [ebp - 0x438]
push 0x75e0c0
push str._sCalc_d.dat
push eax
call dword [0x64e5e0]
lea eax, [ebp - 0x438]
push 0x691dd8
push eax
call fcn.005fdf05
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x450b0f
push dword [edi + 0x137ac]
push str.Open_File_error__binfid:
call fcn.00412c70
mov edx, 0x13ab
lea ecx, [ebp - 0x246c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x450a72
mov eax, dword [eax]
push 0
push 0x69166c
push eax
push dword [0x75d8b8]
call dword [0x64e5e4]
mov edx, dword [ebp - 0x2458]
cmp edx, 8
jb 0x450e39
mov ecx, dword [ebp - 0x246c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450ac0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450e7d
push edx
push ecx
call fcn.005b978b
add esp, 8
jmp 0x450e39
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x450adc
mov eax, dword [eax]
lea ecx, [edi + 0x13728]
jmp 0x450672
cmp dword [0x75e2e0], 1
lea ecx, [ebp - 0x246c]
mov edx, 0x137d
jne 0x450acf
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x45066c
jmp 0x45066a
push 2
push 0
push esi
call fcn.005fa78e
add esp, 0xc
push esi
call fcn.005fe511
add esp, 4
mov dword [edi + 0x13f4c], eax
push esi
call fcn.005fe51c
add esp, 4
push dword [edi + 0x13f4c]
call fcn.00488d93
add esp, 4
mov dword [edi + 0x13f50], eax
push esi
push dword [edi + 0x13f4c]
push 1
push eax
call fcn.005fa975
push esi
call fcn.005f9c3e
add esp, 0x14
mov dword [edi + 0x14614], 1
mov ecx, dword [edi + 0x137b0]
test ecx, ecx
je 0x450c84
lea eax, [edi + 0x13f58]
push eax
lea eax, [edi + 0x14060]
push eax
lea esi, [edi + 0x14020]
push esi
push ecx
push 0x75e0c0
call dword [0x75d74c]
add esp, 0x14
test eax, eax
jne 0x450d64
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x450ba7
sub esi, ecx
je 0x450d64
push dword [edi + 0x137b0]
lea eax, [ebp - 0x1650]
push 0x75e0c0
push str._sCalc_d.dat
push eax
call dword [0x64e5e0]
lea eax, [ebp - 0x1650]
push 0x691dd8
push eax
call fcn.005fdf05
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x450c29
push dword [edi + 0x137b0]
push str.Open_File_error__luafid:
jmp 0x450c05
push dword [edi + 0x137ac]
push str.Read_File_error__binfid:
call fcn.00412c70
mov edx, 0x13ab
lea ecx, [ebp - 0x246c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x450a72
jmp 0x450a70
push 2
push 0
push esi
call fcn.005fa78e
add esp, 0xc
push esi
call fcn.005fe511
add esp, 4
mov dword [edi + 0x140a0], eax
push esi
call fcn.005fe51c
add esp, 4
push dword [edi + 0x140a0]
call fcn.00488d93
add esp, 4
mov dword [edi + 0x140a4], eax
push esi
push dword [edi + 0x140a0]
push 1
push eax
call fcn.005fa975
push esi
call fcn.005f9c3e
add esp, 0x14
mov dword [edi + 0x14610], 1
mov ecx, dword [edi + 0x13bf0]
test ecx, ecx
je 0x450dc5
lea eax, [edi + 0x140ac]
push eax
lea eax, [edi + 0x141b4]
push eax
lea esi, [edi + 0x14174]
push esi
push ecx
push 0x75e0c0
call dword [0x75d74c]
add esp, 0x14
test eax, eax
jne 0x450e59
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x450cc1
sub esi, ecx
je 0x450e59
push dword [edi + 0x13bf0]
lea eax, [ebp - 0x7d0]
push 0x75e0c0
push str._sCalc_d.dat
push eax
call dword [0x64e5e0]
lea eax, [ebp - 0x7d0]
push 0x691dd8
push eax
call fcn.005fdf05
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x450d74
push dword [edi + 0x13bf0]
push str.Open_File_error__bcmfid:
call fcn.00412c70
mov edx, 0x13ab
lea ecx, [ebp - 0x2484]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x450d2f
mov eax, dword [eax]
push 0
push 0x69166c
push eax
push dword [0x75d8b8]
call dword [0x64e5e4]
mov edx, dword [ebp - 0x2470]
cmp edx, 8
jb 0x450e39
mov ecx, dword [ebp - 0x2484]
lea edx, [edx*2 + 2]
jmp 0x450aa2
push dword [edi + 0x137b0]
push str.Read_File_error__luafid:
jmp 0x450c05
push 2
push 0
push esi
call fcn.005fa78e
add esp, 0xc
push esi
call fcn.005fe511
add esp, 4
mov dword [edi + 0x141f4], eax
push esi
call fcn.005fe51c
add esp, 4
push dword [edi + 0x141f4]
call fcn.00488d93
add esp, 4
mov dword [edi + 0x141f8], eax
push esi
push dword [edi + 0x141f4]
push 1
push eax
call fcn.005fa975
push esi
call fcn.005f9c3e
add esp, 0x14
push 0
lea esi, [edi + 0x14200]
push esi
push dword [ebx + 8]
push 0x75e0c0
call dword [0x75d898]
mov eax, dword [esi]
add esp, 0x10
test eax, eax
jle 0x450e39
xor ecx, ecx
mov edx, 0x2002c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00488d93
imul ecx, dword [esi], 0x2002c
add esp, 4
mov dword [edi + 0x141fc], eax
push ecx
push 0
push eax
call fcn.005f6720
add esp, 0xc
push dword [edi + 0x141fc]
push 0
push dword [ebx + 8]
push 0x75e0c0
call dword [0x75d898]
add esp, 0x10
mov dword [edi + 0x14610], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b977a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push dword [edi + 0x13bf0]
push str.Read_File_error__bcmfid:
jmp 0x450c05
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
int3