Function at 0x10061f20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x244
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [esp + 0x24c]
push ebx
push ebp
push edi
mov dword [esp + 0x18], eax
mov edi, edi
xor eax, eax
mov dword [esp + 0x1c], eax
push edx
pop edx
cmp dword [0x101d08a4], 0x755
mov dword [esp + 0xc], eax
cmp dword [0x101d0898], 0x5cf2
cmp dword [0x101d08a8], 0x389b
push ecx
pop ecx
cmp dword [0x101d0888], 0xffffba2c
push 0x1ff
push eax
lea ecx, [esp + 0x55]
push ecx
mov byte [esp + 0x58], al
call fcn.1012ea60
add esp, 0xc
mov ebx, ebx
mov ebp, dword [esp + 0x254]
mov edx, dword [esi + 0x228]
add ebp, ebp
add ebp, ebp
mov ebx, dword [edx + ebp]
call fcn.100589f0
push eax
pop eax
mov edi, dword [esi + 0x228]
add edi, ebp
xor ebx, ebx
cmp dword [edi], ebx
jne 0x10061ff0
push 0xe273c
call fcn.1012de1c
add esp, 4
mov dword [edi], eax
cmp dword [0x101d08a4], 0x755
mov edi, dword [edi]
cmp edi, ebx
je 0x10062610
push 0xe273c
push ebx
push edi
call fcn.1012ea60
add esp, 0xc
mov al, al
cmp dword [esp + 0x25c], ebx
jne 0x1006227d
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
call fcn.1005fa80
add esp, 0xc
nop
mov byte [esp + 0x10], 0x72
mov byte [esp + 0x11], 0x62
mov byte [esp + 0x12], bl
push eax
pop eax
push 0x20
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.1012f4a0
add esp, 0xc
mov edi, eax
mov eax, eax
cmp edi, ebx
jne 0x100620b5
mov al, 0xbf
mov byte [esp + 0x24], 0xb4
mov byte [esp + 0x25], 0xf2
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0xaa
mov byte [esp + 0x28], 0xd7
mov byte [esp + 0x29], 0xd6
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], 0xe2
mov byte [esp + 0x2c], 0x3c
mov byte [esp + 0x2d], 0x25
mov byte [esp + 0x2e], 0x73
mov byte [esp + 0x2f], 0x3e
mov byte [esp + 0x30], 0xca
mov byte [esp + 0x31], 0xa7
mov byte [esp + 0x32], 0xb0
mov byte [esp + 0x33], 0xdc
mov byte [esp + 0x34], bl
mov dl, dl
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
call fcn.100583b0
add esp, 0xc
cmp dword [0x101d0898], 0xffffa30d
jmp 0x10062610
push 2
push ebx
push edi
call fcn.1012f41b
add esp, 0xc
cmp dword [0x101d0884], 0x3d63
push edi
call fcn.1012f326
add esp, 4
mov dword [esp + 0xc], eax
mov al, al
push ebx
push ebx
push edi
call fcn.1012f41b
add esp, 0xc
cmp dword [0x101d08a0], 0xffffa218
mov eax, dword [esp + 0xc]
add eax, 1
push eax
call fcn.1012de1c
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp dword [0x101d0888], 0xffffba2c
cmp ebp, ebx
jne 0x10062164
mov byte [esp + 0x24], 0xc4
mov byte [esp + 0x25], 0xda
mov byte [esp + 0x26], 0xb4
mov byte [esp + 0x27], 0xe6
mov byte [esp + 0x28], 0xb2
mov byte [esp + 0x29], 0xbb
mov byte [esp + 0x2a], 0xd7
mov byte [esp + 0x2b], 0xe3
mov byte [esp + 0x2c], bl
mov edi, edi
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.100583b0
add esp, 8
mov ebx, ebx
push edi
call fcn.1012ee5b
add esp, 4
cmp dword [0x101d0884], 0xffffc29c
mov edx, dword [esp + 0xc]
push edi
push edx
push 1
push ebp
call fcn.1012f173
add esp, 0x10
mov edx, edx
push edi
call fcn.1012ee5b
add esp, 4
push ecx
pop ecx
mov eax, dword [esp + 0xc]
mov byte [eax + ebp], bl
cmp dword [0x101d0890], 0xffffff63
mov ecx, dword [ebp]
mov ebp, ebp
mov eax, dword [esp + 0xc]
cmp eax, 8
jl 0x1006226a
cmp ecx, 0x4d444d44
jne 0x1006226a
lea ecx, [esi + 0x260c]
push ecx
push eax
push ebp
call fcn.1005d9f0
add esp, 0xc
mov dword [esp + 0xc], eax
cmp dword [0x101d08a0], 0x5de7
cmp dword [esp + 0xc], ebx
jne 0x1006225c
mov al, 0xdc
mov cl, 0xc3
mov dl, 0xe2
mov byte [esp + 0x24], 0xbc
mov byte [esp + 0x25], 0xd3
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0xd7
mov byte [esp + 0x29], 0xd6
mov byte [esp + 0x2a], 0xbf
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], 0xbd
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], 0xca
mov byte [esp + 0x31], 0xa7
mov byte [esp + 0x32], 0xb0
mov byte [esp + 0x33], al
mov byte [esp + 0x34], 0x21
mov byte [esp + 0x35], bl
push eax
pop eax
lea edx, [esp + 0x24]
push edx
push esi
call fcn.100583b0
add esp, 8
mov al, al
push ebp
call fcn.1012dedf
add esp, 4
cmp dword [0x101d0890], 0x9c
jmp 0x10062610
add ebp, 8
mov dword [esp + 0x18], ebp
push ecx
pop ecx
jmp 0x10062375
mov dword [esp + 0x18], ebp
cmp dword [0x101d08a0], 0x5de7
jmp 0x10062375
mov dword [esp + 0x14], ebx
mov dl, dl
mov byte [esp + 0x24], 0x25
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x2c
mov byte [esp + 0x27], 0x25
mov byte [esp + 0x28], 0x64
mov byte [esp + 0x29], bl
cmp dword [0x101d08a0], 0x5de7
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.101302dd
add esp, 0x10
cmp dword [0x101d0898], 0xffffa30d
mov ecx, dword [esp + 0x14]
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1006236c
mov cl, 0xd6
mov al, 0xb5
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], 0xb8
mov byte [esp + 0x3a], 0xd5
mov byte [esp + 0x3b], 0xeb
mov byte [esp + 0x3c], 0x3a
mov byte [esp + 0x3d], 0x25
mov byte [esp + 0x3e], 0x64
mov byte [esp + 0x3f], 0xca
mov byte [esp + 0x40], 0xc7
mov byte [esp + 0x41], 0xce
mov byte [esp + 0x42], 0xde
mov byte [esp + 0x43], 0xd0
mov byte [esp + 0x44], 0xa7
mov byte [esp + 0x45], al
mov byte [esp + 0x46], 0xc4
mov byte [esp + 0x47], al
mov byte [esp + 0x48], 0xd8
mov byte [esp + 0x49], cl
mov byte [esp + 0x4a], 0xb7
mov byte [esp + 0x4b], bl
cmp dword [0x101d0894], 0xffffe953
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.100583b0
add esp, 0xc
push ebx
pop ebx
jmp 0x10062610
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
nop
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
call fcn.10058ac0
mov dword [esp + 0x20], eax
mov cl, cl
test eax, eax
jne 0x100623f5
mov al, 0xbf
mov byte [esp + 0x24], al
mov byte [esp + 0x25], 0xd5
mov byte [esp + 0x26], 0xb5
mov byte [esp + 0x27], 0xc4
mov byte [esp + 0x28], 0xd7
mov byte [esp + 0x29], 0xd6
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], 0xe2
mov byte [esp + 0x2c], 0
cmp dword [0x101d0888], 0x45d3
lea edx, [esp + 0x24]
push edx
push esi
call fcn.100583b0
add esp, 8
mov cl, cl
cmp dword [esp + 0x25c], 0
jne 0x10062610
mov eax, dword [esp + 0x1c]
push eax
call fcn.1012dedf
add esp, 4
mov cl, cl
jmp 0x10062610
cmp eax, 0x59d8
jl 0x1006246d
mov byte [esp + 0x24], 0xd7
mov byte [esp + 0x25], 0xd6
mov byte [esp + 0x26], 0xbf
mov byte [esp + 0x27], 0xe2
mov byte [esp + 0x28], 0xcc
mov byte [esp + 0x29], 0xab
mov byte [esp + 0x2a], 0xb4
mov byte [esp + 0x2b], 0xf3
mov byte [esp + 0x2c], 0
cmp dword [0x101d0888], 0xffffba2c
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.100583b0
add esp, 8
cmp dword [0x101d0890], 0x9c
cmp dword [esp + 0x25c], 0
jne 0x10062610
mov edx, dword [esp + 0x1c]
push edx
call fcn.1012dedf
add esp, 4
mov dh, dh
jmp 0x10062610
lea ebp, [eax*4]
push ebp
call fcn.1012de1c
add esp, 4
mov edi, eax
mov al, al
push ebp
call fcn.1012de1c
add esp, 4
mov ebx, eax
cmp dword [0x101d088c], 0xffff9ac8
test edi, edi
je 0x10062572
test ebx, ebx
je 0x10062572
push ebp
push 0
push edi
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d0894], 0xffffe953
push ebp
push 0
push ebx
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d08a0], 0xffffa218
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
push edi
push eax
mov ecx, ebx
call fcn.10058b20
add esp, 8
mov ebp, ebp
mov ebp, dword [esp + 0x254]
mov ecx, dword [esi + 0x228]
mov edx, dword [ecx + ebp*4]
mov eax, dword [esp + 0x18]
push ebp
push edi
push edx
push eax
mov eax, dword [esp + 0x30]
push esi
mov ecx, ebx
call fcn.1005f6c0
add esp, 0x14
cmp dword [0x101d08a4], 0x755
cmp dword [esp + 0x25c], 0
jne 0x10062532
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1012dedf
add esp, 4
mov dh, dh
push edi
call fcn.1012dedf
add esp, 4
mov eax, eax
push ebx
call fcn.1012dedf
add esp, 4
cmp dword [0x101d0890], 0xffffff63
push ebp
push esi
call fcn.1005bcd0
add esp, 8
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x244
ret
cmp dword [esp + 0x25c], 0
jne 0x10062593
mov edx, dword [esp + 0x1c]
push edx
call fcn.1012dedf
add esp, 4
cmp dword [0x101d08a8], 0x389b
test edi, edi
je 0x100625aa
push edi
call fcn.1012dedf
add esp, 4
cmp dword [0x101d088c], 0x6537
test ebx, ebx
je 0x100625c1
push ebx
call fcn.1012dedf
add esp, 4
cmp dword [0x101d088c], 0xffff9ac8
mov byte [esp + 0x24], 0xc4
mov byte [esp + 0x25], 0xda
mov byte [esp + 0x26], 0xb4
mov byte [esp + 0x27], 0xe6
mov byte [esp + 0x28], 0xb2
mov byte [esp + 0x29], 0xbb
mov byte [esp + 0x2a], 0xd7
mov byte [esp + 0x2b], 0xe3
mov byte [esp + 0x2c], 0
cmp dword [0x101d08a4], 0xfffff8aa
lea eax, [esp + 0x24]
push eax
push esi
call fcn.100583b0
add esp, 8
cmp dword [0x101d0894], 0x16ac
mov ecx, dword [esp + 0x24c]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1012e3ba
add esp, 0x244
ret