Function at 0x44e0c0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477fe3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x48e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 2
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x44e13e
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44e187
mov eax, dword [0x48f8fc]
test eax, eax
je 0x44e76c
cmp dword [edi + 0x14], 0x10
jb 0x44e173
mov edi, dword [edi]
push edi
push str.____Shader_not_found:__s_n
push eax
call fcn.0041d6e0
add esp, 0xc
jmp 0x44e76c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
push esi
mov ecx, eax
mov dword [ebp - 0x60], esi
call fcn.0041fe40
push 0
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x44e755
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x5c]
jne 0x44e755
cmp byte [0x48ebaa], 0
je 0x44e24d
mov eax, dword [0x48f8fc]
test eax, eax
je 0x44e1fa
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x44e1eb
mov ecx, dword [edi]
push ecx
push str.Disassembling__MS___s..._n
push eax
call fcn.0041d6e0
add esp, 0xc
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x6c]
sub edx, ecx
push eax
call fcn.0044c870
add esp, 4
test eax, eax
js 0x44e76c
cmp byte [0x48ebce], 0
je 0x44e232
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x28]
call fcn.0044cde0
test eax, eax
jne 0x44e76c
lea eax, [ebp - 0x28]
mov edx, str..msasm
push eax
mov ecx, edi
call fcn.0044de80
add esp, 4
test eax, eax
jne 0x44e76c
cmp byte [0x48ebab], 0
mov al, byte [0x48ebb0]
mov esi, dword [0x48ebac]
jne 0x44e26d
test esi, esi
jne 0x44e26d
test al, al
je 0x44e2f3
mov ecx, dword [0x48f8fc]
test ecx, ecx
je 0x44e29b
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x44e281
mov eax, dword [edi]
push eax
push str.Disassembling__Flugan___s..._n
push ecx
call fcn.0041d6e0
mov al, byte [0x48ebb0]
add esp, 0xc
mov esi, dword [0x48ebac]
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
sub edx, ecx
movzx eax, al
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0044cd20
add esp, 0xc
test eax, eax
js 0x44e76c
cmp byte [0x48ebce], 0
je 0x44e2d8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x28]
call fcn.0044cde0
test eax, eax
jne 0x44e76c
lea eax, [ebp - 0x28]
mov edx, str..asm
push eax
mov ecx, edi
call fcn.0044de80
add esp, 4
test eax, eax
jne 0x44e76c
cmp byte [0x48ebcc], 0
je 0x44e597
mov ecx, dword [0x48f8fc]
test ecx, ecx
je 0x44e323
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x44e314
mov eax, dword [edi]
push eax
push str.Assembling__s..._n
push ecx
call fcn.0041d6e0
add esp, 0xc
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 3
cmp dword [0x48ebc4], 0
jne 0x44e367
push ecx
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x6c]
call fcn.0041f6a0
mov ebx, dword [ebp - 0x70]
add esp, 4
mov esi, dword [ebp - 0x78]
test eax, eax
jns 0x44e4d7
jmp 0x44e531
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
push 0
push 0x80
push 3
push 0
mov byte [ebp - 4], 4
mov eax, 0x48ebb4
cmp dword [0x48ebc8], 0x10
push 1
cmovae eax, dword [0x48ebb4]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44e3ee
mov ecx, dword [0x48f8fc]
test ecx, ecx
je 0x44e6f2
cmp dword [0x48ebc8], 0x10
mov eax, 0x48ebb4
cmovae eax, dword [0x48ebb4]
push eax
push str.____Shader_not_found:__s_n
push ecx
call fcn.0041d6e0
add esp, 0xc
jmp 0x44e6f2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [ebp - 0x88]
push eax
push esi
mov ecx, eax
mov dword [ebp - 0x60], esi
call fcn.0041fe40
push 0
lea eax, [ebp - 0x5c]
push eax
push esi
push dword [ebp - 0x88]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x44e6db
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x5c]
jne 0x44e6db
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0
sub esp, 0xc
mov byte [ebp - 4], 5
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.0041f860
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x94]
call fcn.004182d0
add esp, 0x10
lea ecx, [ebp - 0x78]
call fcn.00419820
mov ecx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], ebx
test ecx, ecx
je 0x44e4d7
mov edx, dword [ebp - 0x80]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e4cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e84e
push edx
push ecx
call fcn.00457e8e
add esp, 8
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
sub eax, esi
mov dword [ebp - 0x48], 0
push eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0041c560
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x74]
push esi
call fcn.0044e9c0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00419e70
lea ecx, [ebp - 0x58]
call fcn.00419e20
lea eax, [ebp - 0x28]
mov edx, str..shdr
push eax
mov ecx, edi
call fcn.0044de80
add esp, 4
test eax, eax
je 0x44e565
test esi, esi
je 0x44e76c
sub ebx, esi
mov eax, esi
cmp ebx, 0x1000
jb 0x44e559
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e853
push ebx
push esi
call fcn.00457e8e
jmp 0x44e769
mov byte [ebp - 4], 2
test esi, esi
je 0x44e597
sub ebx, esi
mov eax, esi
cmp ebx, 0x1000
jb 0x44e58d
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e858
push ebx
push esi
call fcn.00457e8e
add esp, 8
cmp byte [0x48eba8], 0
je 0x44e751
mov edx, dword [0x48f8fc]
test edx, edx
je 0x44e5c4
mov ecx, edi
call fcn.00419b60
push eax
push str.Decompiling__s..._n
push edx
call fcn.0041d6e0
add esp, 0xc
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x6c]
sub edx, ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044d4d0
add esp, 8
test eax, eax
js 0x44e76c
cmp byte [0x48ebce], 0
je 0x44e73a
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x5c]
push edx
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push edx
push 0
push 0x4000
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], 0
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push eax
cmovae ecx, dword [ebp - 0x28]
push str.main
push 1
push 0
push str.wrapper1349
push dword [ebp - 0x18]
push ecx
call dword [sym.imp.D3DCOMPILER_47.dll_D3DCompile]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], eax
test edx, edx
je 0x44e64d
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x48f8fc]
test ecx, ecx
je 0x44e6c3
test eax, eax
je 0x44e6c3
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x5c]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [0x48f8fc]
mov ebx, eax
test ecx, ecx
je 0x44e68e
push str.______________________________________________BEGIN_______________________________________________n
push ecx
call fcn.0041d6e0
mov ecx, dword [0x48f8fc]
add esp, 8
push ecx
lea eax, [ebx - 1]
push eax
push 1
push esi
call fcn.004640a9
mov eax, dword [0x48f8fc]
add esp, 0x10
test eax, eax
je 0x44e6b5
push str._______________________________________________END________________________________________________n
push eax
call fcn.0041d6e0
add esp, 8
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x48f8fc]
cmp dword [ebp - 0x7c], 0
jge 0x44e728
test eax, eax
je 0x44e76c
push str._n_Decompiler_validation_pass_failed__n
jmp 0x44e763
mov eax, dword [0x48f8fc]
test eax, eax
je 0x44e6f2
push str.____Error_reading_input_file_n
push eax
call fcn.0041d6e0
add esp, 8
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x44e76c
mov edx, dword [ebp - 0x80]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e71f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e85d
push edx
push ecx
call fcn.00457e8e
jmp 0x44e769
test eax, eax
je 0x44e73a
push str.____Decompiler_validation_pass_succeeded_n
push eax
call fcn.0041d6e0
add esp, 8
lea eax, [ebp - 0x28]
mov edx, str..hlsl
push eax
mov ecx, edi
call fcn.0044de80
add esp, 4
test eax, eax
jne 0x44e76c
xor esi, esi
jmp 0x44e771
mov eax, dword [0x48f8fc]
test eax, eax
je 0x44e76c
push str.____Error_reading_input_file_n
push eax
call fcn.0041d6e0
add esp, 8
mov esi, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x44e7a5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44e79b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e862
push edx
push ecx
call fcn.00457e8e
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test ecx, ecx
je 0x44e800
mov edx, dword [ebp - 0x64]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x44e7e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e867
push edx
push ecx
call fcn.00457e8e
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44e830
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44e826
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e86c
push edx
push ecx
call fcn.00457e8e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004578ba
mov esp, ebp
pop ebp
ret
call fcn.004632e6
call fcn.004632e6
call fcn.004632e6
call fcn.004632e6
call fcn.004632e6
call fcn.004632e6
call fcn.004632e6
int3