Function at 0x44d3e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47607c
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4921c0]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921c0]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov eax, dword [esp + 0x194]
mov ecx, dword [str.envdata]
mov dword [esp + 0x40], eax
mov eax, dword [0x49731c]
xor ebx, ebx
mov dword [eax], ecx
mov edx, dword [0x482f50]
push ebx
push eax
mov dword [eax + 4], edx
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x44da0d
mov eax, dword [0x49731c]
push 0x48814c
push eax
mov dword [esp + 0x2c], ebx
call fcn.00408b67
mov esi, eax
mov dword [esp + 0x28], esi
push esi
mov dword [esp + 0x198], ebx
push 1
lea ecx, [esp + 0x48]
push 4
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ebx
call fcn.00408e1e
add esp, 0x18
test eax, eax
jne 0x44d49f
mov dword [esp + 0x38], ebx
push esi
push 1
lea edx, [esp + 0x44]
push 4
push edx
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d4b9
mov dword [esp + 0x3c], ebx
push esi
push 1
lea eax, [esp + 0x34]
push 4
push eax
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d4d3
mov dword [esp + 0x2c], ebx
push esi
push 1
lea ecx, [esp + 0x3c]
push 4
push ecx
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d4ed
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x7c]
lea esi, [esp + 0x18]
call fcn.00402710
cmp dword [esp + 0x24], ebx
je 0x44d530
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x1c]
cmp eax, 0x32000
jl 0x44d54e
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
jmp 0x44d54e
mov eax, dword [esp + 0x20]
push eax
push 1
lea ecx, [esp + 0x30]
push 4
push ecx
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d54e
mov dword [esp + 0x28], ebx
mov edx, dword [0x49731c]
mov eax, dword [0x497b6c]
mov ecx, dword [eax + 0x10]
push 0x100
push edx
push ecx
call dword [0x478368]
mov eax, dword [0x49731c]
cmp byte [eax], 0x4f
jne 0x44d58b
cmp byte [eax + 1], 0x4e
jne 0x44d58b
cmp byte [eax + 2], 0x45
jne 0x44d58b
cmp byte [eax + 3], 0x32
jne 0x44d58b
lea eax, [esp + 0x6c]
jmp 0x44d59c
mov eax, 0x58caac
cmp dword [0x58ccc4], ebx
je 0x44d59c
lea eax, [esp + 0x60]
lea esi, [esp + 0x18]
call fcn.00402710
xor eax, eax
mov dword [0x5478b8], ebx
mov dword [0x5492dc], eax
mov dword [0x547d08], ebx
cmp dword [esp + 0x24], ebx
je 0x44d64c
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esi, 4
mov dword [esi - 4], eax
mov edx, esi
sub edx, edi
cmp edx, 0x32000
mov dword [esp + 0x18], esi
jl 0x44d5f2
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
mov eax, dword [0x5478b8]
add esi, 4
mov dword [esi - 4], eax
mov ecx, esi
sub ecx, edi
cmp ecx, 0x32000
mov dword [esp + 0x18], esi
jl 0x44d61f
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
mov edx, dword [0x549f00]
mov dword [esi], edx
add esi, 4
mov dword [esp + 0x18], esi
sub esi, edi
cmp esi, 0x32000
jl 0x44d6a4
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
jmp 0x44d6a4
mov esi, dword [esp + 0x20]
push esi
push 1
push 4
push 0x5492dc
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d66c
mov dword [0x5492dc], ebx
push esi
push 1
push 4
push 0x5478b8
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d688
mov dword [0x5478b8], ebx
push esi
push 1
push 4
push 0x549f00
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d6a4
mov dword [0x549f00], ebx
mov eax, dword [0x549f00]
mov dword [0x547d08], eax
cmp dword [esp + 0x24], ebx
je 0x44d716
mov esi, dword [esp + 0x18]
mov ecx, dword [0x54153c]
mov edi, dword [esp + 0x1c]
add esi, 4
mov dword [esi - 4], ecx
mov edx, esi
sub edx, edi
cmp edx, 0x32000
mov dword [esp + 0x18], esi
jl 0x44d6ea
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
mov eax, dword [0x58ce4c]
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x18], esi
sub esi, edi
cmp esi, 0x32000
jl 0x44d752
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
jmp 0x44d752
mov esi, dword [esp + 0x20]
push esi
push 1
push 4
push 0x54153c
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d736
mov dword [0x54153c], ebx
push esi
push 1
push 4
push 0x58ce4c
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d752
mov dword [0x58ce4c], ebx
mov eax, 0x58cba0
lea esi, [esp + 0x18]
call fcn.00402710
cmp dword [esp + 0x24], ebx
je 0x44d894
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x1c]
cmp eax, 0x32000
jl 0x44d798
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x44d7a5
mov dword [0x4937f4], eax
cmp eax, 0x1869f
jne 0x44d7b2
mov dword [0x4937f4], ebx
xor eax, eax
mov cl, byte [esp + eax + 0x7c]
mov byte [eax + 0x4a85b8], cl
inc eax
test cl, cl
jne 0x44d7b4
xor eax, eax
mov cl, byte [esp + eax + 0x7c]
mov byte [eax + 0x5370c8], cl
inc eax
test cl, cl
jne 0x44d7c5
mov ebp, dword [0x478394]
cmp dword [esp + 0x38], ebx
je 0x44d7f7
mov ecx, dword [0x497b6c]
mov edx, dword [ecx + 0x10]
push ebx
push 0x9c42
push 0x111
push edx
call ebp
cmp dword [esp + 0x3c], ebx
jne 0x44d813
mov eax, dword [0x497b6c]
mov ecx, dword [eax + 0x10]
push ebx
push 0x9c52
push 0x111
push ecx
call ebp
cmp dword [esp + 0x28], ebx
jne 0x44d830
mov edx, dword [0x497b6c]
mov eax, dword [edx + 0x10]
push ebx
push 0x9c56
push 0x111
push eax
call ebp
cmp dword [0x54153c], ebx
jne 0x44d84f
mov ecx, dword [0x497b6c]
mov edx, dword [ecx + 0x10]
push ebx
push 0x9c5a
push 0x111
push edx
call ebp
cmp dword [esp + 0x34], ebx
je 0x44d86b
mov eax, dword [0x497b6c]
mov ecx, dword [eax + 0x10]
push ebx
push 0x9c47
push 0x111
push ecx
call ebp
mov eax, dword [esp + 0x2c]
sub eax, ebx
je 0x44d8d2
sub eax, 1
je 0x44d8bb
sub eax, 1
jne 0x44d8e8
mov edx, dword [0x497b6c]
mov eax, dword [edx + 0x10]
push ebx
push 0x9c50
push 0x111
push eax
jmp 0x44d8e6
mov edx, dword [esp + 0x20]
push edx
push 1
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x44d798
mov dword [esp + 0x30], ebx
jmp 0x44d7b2
mov ecx, dword [0x497b6c]
mov edx, dword [ecx + 0x10]
push ebx
push 0x9c4f
push 0x111
push edx
jmp 0x44d8e6
mov eax, dword [0x497b6c]
mov ecx, dword [eax + 0x10]
push ebx
push 0x9c4e
push 0x111
push ecx
call ebp
mov ecx, 0x493808
lea eax, [esp + 0x7c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44d911
test dl, dl
je 0x44d90d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44d911
add eax, 2
add ecx, 2
test dl, dl
jne 0x44d8f1
xor eax, eax
jmp 0x44d916
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x44d980
mov ebx, dword [0x4ebed0]
xor esi, esi
test ebx, ebx
jle 0x44d997
mov edi, 0x4ec068
jmp 0x44d930
lea ecx, [esp + 0x7c]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44d956
test dl, dl
je 0x44d952
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44d956
add eax, 2
add ecx, 2
test dl, dl
jne 0x44d936
xor eax, eax
jmp 0x44d95b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44d96c
inc esi
add edi, 0x3e8
cmp esi, ebx
jl 0x44d930
jmp 0x44d997
mov edx, dword [0x497b6c]
mov eax, dword [edx + 0x10]
push 0
push esi
push 0x111
push eax
jmp 0x44d995
mov ecx, dword [0x497b6c]
mov edx, dword [ecx + 0x10]
push ebx
push 0x9c44
push 0x111
push edx
call ebp
mov esi, dword [0x47829c]
mov edi, dword [0x4782a4]
mov ebx, dword [0x478288]
mov ebp, 0x64
mov edi, edi
push 1
push 0
push 0
push 0
lea eax, [esp + 0x54]
push eax
call esi
test eax, eax
je 0x44d9ef
mov edx, dword [0x497c78]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [eax + 0x10]
push edx
push ecx
call edi
test eax, eax
jne 0x44d9e4
lea edx, [esp + 0x44]
push edx
call ebx
lea eax, [esp + 0x44]
push eax
call dword [0x4782ac]
sub ebp, 1
jne 0x44d9b0
cmp dword [esp + 0x24], ebp
jne 0x44da0d
cmp dword [esp + 0x20], ebp
je 0x44da0d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00408fa4
add esp, 4
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00407ed0
add esp, 0x17c
ret 4