Function at 0x4de99a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4df0a1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x12c]
push eax
push 4
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x4dea02
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4df0a1
cmp dword [ebp - 0x130], 0x6111101
jne 0x4de9f6
push 0
lea eax, [ebp - 0x12c]
push eax
push 4
lea eax, [ebp - 0x134]
push eax
push esi
call ebx
test eax, eax
je 0x4de9f6
mov ecx, 0x6d70e8
call fcn.004de943
movzx eax, al
cmp dword [ebp - 0x134], eax
jne 0x4de9f6
push 0
lea eax, [ebp - 0x12c]
push eax
push 0x120
lea eax, [ebp - 0x124]
push eax
push esi
call ebx
push esi
test eax, eax
je 0x4de9f7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x6bee08
push 0x77d
mov ecx, ebx
call fcn.0043f7a8
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
mov ecx, esi
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4dea98
push dword [ebp - 0x20]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x24]
call dword [eax + 0x24]
push 0x84d
mov ecx, ebx
call fcn.0043f7a8
xor ebx, ebx
mov esi, eax
inc ebx
cmp dword [edi + 0x1c], 0
je 0x4deae5
mov ecx, esi
call fcn.00415101
mov edx, dword [ebp - 0xc]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4deae5
and edx, ebx
mov ecx, esi
push edx
call fcn.00407047
mov eax, dword [ebp - 0xc]
mov ecx, 0x6af520
and eax, ebx
push eax
call fcn.00414c49
mov ecx, eax
call fcn.004074b0
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4deb0b
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x14]
call dword [eax + 0x24]
push 0x1db
mov ecx, 0x6bee08
call fcn.0043f7a8
cmp dword [edi + 0x1c], 0
mov esi, eax
je 0x4deb44
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0x11c]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4deb44
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
push dword [ebp - 0x120]
mov ecx, esi
push dword [ebp - 0x124]
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4deb76
push dword [ebp - 0x120]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x124]
call dword [eax + 0x24]
push 0xed
mov ecx, 0x6bee08
call fcn.0043f7a8
cmp dword [edi + 0x1c], 0
mov esi, eax
je 0x4debaf
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0xdc]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4debb5
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [ebp - 0xdc]
and edx, 2
mov ecx, esi
push edx
call fcn.0044479f
push 0x124
mov ecx, 0x6bee08
call fcn.0043f7a8
cmp dword [edi + 0x1c], 0
mov esi, eax
je 0x4dec86
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0xcc]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4dec03
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [ebp - 0xcc]
test dl, 4
je 0x4dec0b
push ebx
jmp 0x4dec1b
test dl, 8
je 0x4dec14
push 2
jmp 0x4dec1b
test dl, 0x10
je 0x4dec22
push 4
mov ecx, esi
call fcn.004bdb8b
mov eax, dword [ebp - 0xc8]
mov ecx, esi
mov dword [ebp - 0x128], eax
call fcn.004bd370
movzx ebx, al
mov eax, dword [ebp - 0x128]
cmp eax, ebx
je 0x4dec6e
mov ecx, esi
push 0x40
push 0
cmp eax, ebx
jle 0x4dec59
push 0x132
call fcn.004bd960
inc ebx
jmp 0x4dec64
push 0x133
call fcn.004bd960
dec ebx
mov eax, dword [ebp - 0x128]
cmp ebx, eax
jne 0x4dec42
test dword [ebp - 0xcc], 0x100
je 0x4dec83
push 0
mov ecx, esi
call fcn.004bdbd0
xor ebx, ebx
inc ebx
mov esi, 0x6bee08
push 0x5d0
mov ecx, esi
call fcn.0043f7a8
test eax, eax
je 0x4decb5
cmp dword [edi + 0x1c], 0
je 0x4decb5
mov ecx, dword [ebp - 0xcc]
mov edx, dword [eax]
and ecx, 0x100
push ecx
mov ecx, eax
call dword [edx + 8]
push 0xf3
mov ecx, esi
call fcn.0043f7a8
push dword [ebp - 0xc0]
mov esi, eax
push dword [ebp - 0xc4]
mov ecx, esi
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4decf5
push dword [ebp - 0xc0]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0xc4]
call dword [eax + 0x24]
cmp dword [edi + 0x1c], 0
je 0x4ded42
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0xbc]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4ded23
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [ebp - 0xbc]
test dl, 4
je 0x4ded2b
push ebx
jmp 0x4ded3b
test dl, 8
je 0x4ded34
push 2
jmp 0x4ded3b
test dl, 0x10
je 0x4ded42
push 3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
push 0x61
mov ecx, 0x6bee08
call fcn.0043f7a8
cmp dword [edi + 0x1c], 0
mov esi, eax
je 0x4ded78
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0xac]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4ded78
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
push dword [ebp - 0xb0]
mov ecx, esi
push dword [ebp - 0xb4]
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4dedaa
push dword [ebp - 0xb0]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0xb4]
call dword [eax + 0x24]
push 0xc7
mov ecx, 0x6bee08
call fcn.0043f7a8
push dword [ebp - 0xa0]
mov esi, eax
push dword [ebp - 0xa4]
mov ecx, esi
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4deded
push dword [ebp - 0xa0]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0xa4]
call dword [eax + 0x24]
cmp dword [edi + 0x1c], 0
je 0x4dee89
push dword [ebp - 0x98]
mov ecx, esi
call fcn.004ed00c
mov ecx, eax
call fcn.00531c77
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0x9c]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4dee33
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [ebp - 0x9c]
test dl, 4
je 0x4dee89
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x68]
test byte [ebp - 0x9c], 0x20
je 0x4dee56
mov ecx, 0x6af520
call fcn.00418c2b
push ebx
jmp 0x4dee82
test byte [ebp - 0x9c], 0x40
je 0x4dee6d
mov ecx, 0x6af520
call fcn.00418c2b
push 2
jmp 0x4dee82
test byte [ebp - 0x9c], 0x80
je 0x4dee89
mov ecx, 0x6af520
call fcn.00418c2b
push 3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x68]
push 0x350
mov ecx, 0x6bee08
call fcn.0043f7a8
push dword [ebp - 0x90]
mov esi, eax
push dword [ebp - 0x94]
mov ecx, esi
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4deecc
push dword [ebp - 0x90]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x94]
call dword [eax + 0x24]
cmp dword [edi + 0x1c], 0
je 0x4def19
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0x8c]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4deefa
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [ebp - 0x8c]
test dl, 4
je 0x4def02
push ebx
jmp 0x4def12
test dl, 8
je 0x4def0b
push 2
jmp 0x4def12
test dl, 0x10
je 0x4def19
push 3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
push 0x510
mov ecx, 0x6bee08
call fcn.0043f7a8
push dword [ebp - 0x80]
mov esi, eax
push dword [ebp - 0x84]
mov ecx, esi
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4def56
push dword [ebp - 0x80]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x84]
call dword [eax + 0x24]
cmp dword [edi + 0x1c], 0
je 0x4def7b
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0x7c]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4def7b
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
push 0x4a8
mov ecx, 0x6bee08
call fcn.0043f7a8
mov esi, eax
test esi, esi
je 0x4defdb
push dword [ebp - 0x70]
mov ecx, esi
push dword [ebp - 0x74]
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4defb6
push dword [ebp - 0x70]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x74]
call dword [eax + 0x24]
cmp dword [edi + 0x1c], 0
je 0x4defdb
mov ecx, esi
call fcn.0044670e
mov edx, dword [ebp - 0x6c]
xor ecx, ecx
cmp eax, edx
setne cl
test bl, cl
je 0x4defdb
mov eax, dword [esi]
and edx, ebx
push edx
mov ecx, esi
call dword [eax + 8]
push 0x214
mov ecx, 0x6bee08
call fcn.0043f7a8
mov ecx, 0x6af520
mov ebx, eax
call fcn.00414f6b
mov esi, eax
test esi, esi
je 0x4df04d
push dword [ebp - 0x60]
mov ecx, ebx
push dword [ebp - 0x64]
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4df022
push dword [ebp - 0x60]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x64]
call dword [eax + 0x24]
cmp dword [edi + 0x1c], 0
je 0x4df04d
xor ebx, ebx
mov ecx, esi
inc ebx
test byte [ebp - 0x5c], bl
je 0x4df036
push 0
jmp 0x4df037
push ebx
call fcn.00465af6
mov ecx, esi
test byte [ebp - 0x58], bl
je 0x4df047
push 0
jmp 0x4df048
push ebx
call fcn.00465ae4
mov ebx, dword [ebp - 0x48]
mov ecx, 0x6bee08
test ebx, ebx
jne 0x4df060
push 0x68e
jmp 0x4df065
push 0x6a1
call fcn.0043f7a8
mov esi, eax
test esi, esi
je 0x4df0a1
push dword [ebp - 0x50]
mov ecx, esi
push dword [ebp - 0x54]
call fcn.00421a96
push eax
mov ecx, edi
call fcn.004de951
test eax, eax
je 0x4df096
push dword [ebp - 0x50]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x54]
call dword [eax + 0x24]
push ebx
mov ecx, 0x6d48a0
call fcn.00440b44
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 4