Function at 0x44ffa0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x481f3b
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x49b470]
xor eax, esp
mov dword [esp + 0xc34], eax
push ebp
push esi
push edi
mov eax, dword [0x49b470]
xor eax, esp
push eax
lea eax, [esp + 0xc48]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc58]
mov dword [esp + 0x1c], eax
push 0x10000
mov dword [esp + 0xc54], 0
call fcn.0045fd36
push 0x10000
mov ebp, eax
push 0
push ebp
mov dword [esp + 0x30], ebp
call fcn.00463f50
push ebx
push 0x4b3848
lea ecx, [esp + 0x45c]
push str._s_txt_s.TXT
push ecx
call fcn.0045f116
push ebx
push 0x4b3848
lea edx, [esp + 0x86c]
push str._sSCR_s.scr
push edx
call fcn.0045f116
push ebx
lea eax, [esp + 0x58]
push str._s.SCR
push eax
call fcn.0045f116
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x3c
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
lea ecx, [esp + 0x45c]
push ecx
call edi
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
lea edx, [esp + 0x85c]
push edx
mov esi, eax
call edi
mov edi, eax
cmp esi, 0xffffffff
je 0x4500de
mov ecx, dword [0x4b3d24]
push 0
lea eax, [esp + 0x18]
push eax
push 0x400000
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
push ebx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..scr
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x4501c8
cmp edi, 0xffffffff
je 0x45013f
mov edx, dword [0x4b3d20]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x400000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x4b3d24]
mov edx, dword [0x4b3d20]
push eax
call fcn.00443070
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push 0xffffffffffffffff
call esi
push edi
call esi
push ebx
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..scr
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x4501c8
mov ecx, dword [0x4b3cfc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x24]
push edx
call eax
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x450188
mov eax, dword [0x4b3d20]
mov ecx, dword [0x4b3cfc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call edx
mov eax, dword [0x4b3d24]
mov edx, dword [0x4b3d20]
push eax
call fcn.00443070
add esp, 4
jmp 0x4501c8
push ebx
lea ecx, [esp + 0x48]
push 0x495580
push ecx
call fcn.0045f116
mov eax, dword [0x4b3c9c]
add esp, 0xc
push 0
push 0x4938a8
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [0x4b3d24]
mov ecx, 5
mov esi, str.::START_r_nret_r_n::END_r_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0x4b3d10
call fcn.00450b20
push 0x4b5b98
call fcn.00450b20
push 0x4b5b9c
call fcn.00450b20
add esp, 0xc
lea esp, [esp]
mov ecx, dword [0x4b3d24]
mov dword [esp + 0x18], ecx
mov esi, 1
lea edx, [esp + 0x18]
push edx
push ebp
mov dword [esp + 0x18], esi
call fcn.0044f940
push 6
push 0x4955ac
push ebp
call fcn.0046023d
add esp, 0x14
test eax, eax
jne 0x450252
cmp byte [ebp + 8], 0x22
lea ecx, [ebp + 8]
mov eax, 8
je 0x45023d
cmp byte [eax + ebp], 0x29
je 0x45023d
inc eax
cmp byte [eax + ebp], 0x22
jne 0x450230
mov byte [eax + ebp], 0
lea eax, [esp + 0x18]
push eax
call fcn.004504c0
dec esi
add esp, 4
inc esi
jmp 0x4501ff
push 0
push ebp
push 0x24
push 0xa
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.00460624
add esp, 0xc
push 0x4b3d10
call fcn.004506e0
add esp, 0x10
cmp byte [ebp], 0x3a
jne 0x45029d
cmp byte [ebp + 1], 0x3a
jne 0x45029d
push 0
lea edx, [esp + 0x14]
push edx
push 0x25
lea eax, [ebp + 2]
push 0x4b5b98
call fcn.004506e0
mov esi, dword [esp + 0x20]
add esp, 0x10
mov ecx, str.::END
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4502c4
test dl, dl
je 0x4502c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4502c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4502a4
xor eax, eax
jmp 0x4502c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4502d3
inc esi
jmp 0x4501ff
mov edi, dword [esp + 0x1c]
mov esi, dword [0x4b5b98]
test edi, edi
jne 0x45032c
test esi, esi
je 0x45036f
lea esp, [esp]
mov ecx, str.START
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x450317
test dl, dl
je 0x450313
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x450317
add eax, 2
add ecx, 2
test dl, dl
jne 0x4502f7
xor eax, eax
jmp 0x45031c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x450369
mov esi, dword [esi + 0xfc]
test esi, esi
jne 0x4502f0
jmp 0x45036f
test esi, esi
je 0x45036f
mov ecx, edi
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x450354
test dl, dl
je 0x450350
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x450354
add eax, 2
add ecx, 2
test dl, dl
jne 0x450334
xor eax, eax
jmp 0x450359
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x450369
mov esi, dword [esi + 0xfc]
test esi, esi
jne 0x450330
jmp 0x45036f
mov eax, esi
test eax, eax
jne 0x4503ca
push ebx
test edi, edi
je 0x450381
push edi
push 0x4955c0
lea eax, [esp + 0x50]
push eax
jmp 0x450390
push str.START
push 0x4955c0
lea ecx, [esp + 0x50]
push ecx
call fcn.0045f116
mov eax, dword [0x4b3c9c]
add esp, 0x10
push 0
push 0x4938a8
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [0x4b3d24]
mov ecx, 5
mov esi, str.::START_r_nret_r_n::END_r_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4501f0
mov ecx, dword [eax + 0xf4]
mov eax, dword [ecx]
push 0xa
lea edx, [esp + 0x38]
inc eax
push edx
push eax
mov dword [0x4b5b80], eax
call fcn.00460624
mov esi, dword [0x4b3d10]
add esp, 0xc
mov edi, eax
test esi, esi
je 0x45042b
mov edx, edi
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x450418
test al, al
je 0x450414
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x450418
add ecx, 2
add edx, 2
test al, al
jne 0x4503f8
xor eax, eax
jmp 0x45041d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45042d
mov esi, dword [esi + 0xfc]
test esi, esi
jne 0x4503f4
xor esi, esi
mov eax, dword [0x4b5b80]
cmp eax, 0x10000
mov dword [0x4b5b8c], esi
mov dword [esp + 0x10], eax
jge 0x450483
mov ecx, dword [esi + 0xf4]
cmp byte [ecx], 0x3a
jne 0x450471
cmp byte [ecx + 1], 0x3a
lea eax, [ecx + 1]
je 0x450483
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x25
push 0x4b5b9c
call fcn.004506e0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov esi, dword [esi + 0xfc]
inc eax
cmp eax, 0x10000
mov dword [esp + 0x10], eax
jl 0x450443
push ebp
call fcn.0045fc59
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xc48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.0045f0aa
add esp, 0xc44
ret