Function at 0x10084f70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x22c
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
mov ebx, dword [esp + 0x234]
push ebp
mov ebp, dword [esp + 0x244]
push esi
mov esi, dword [esp + 0x240]
push edi
mov edi, dword [esp + 0x248]
push 0x1ff
lea eax, [esp + 0x3d]
push 0
push eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x44], 0
call fcn.1012ea60
add esp, 0xc
mov ebp, ebp
cmp dword [0x101d08d0], 0x4c94
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [0x101d08c0], 0xffffa7c6
mov cl, cl
cmp dword [esp + 0x250], eax
jne 0x10085327
push esi
lea ecx, [esp + 0x3c]
push ecx
push ebx
call fcn.1005fa80
add esp, 0xc
cmp dword [0x101d08c4], 0xfffff546
push ebp
push edi
lea edx, [esp + 0x40]
push edx
push ebx
call fcn.10073900
add esp, 0x10
test eax, eax
jne 0x100852f7
cmp dword [esp + 0x254], eax
jne 0x10085154
mov byte [esp + 0x14], 0x72
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], al
mov esi, esi
push 0x40
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.1012f4a0
add esp, 0xc
mov edi, eax
cmp dword [0x101d08c8], 0xffff89b0
test edi, edi
jne 0x100850d1
mov al, 0xce
mov byte [esp + 0x24], al
mov byte [esp + 0x25], 0xde
mov byte [esp + 0x26], 0xb7
mov byte [esp + 0x27], 0xa8
mov byte [esp + 0x28], 0xb4
mov byte [esp + 0x29], 0xf2
mov byte [esp + 0x2a], 0xbf
mov byte [esp + 0x2b], 0xaa
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0xc4
mov byte [esp + 0x2e], 0xbc
mov byte [esp + 0x2f], 0xfe
mov byte [esp + 0x30], 0x3c
mov byte [esp + 0x31], 0x25
mov byte [esp + 0x32], 0x73
mov byte [esp + 0x33], 0x3e
mov byte [esp + 0x34], 0
push eax
pop eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.100583b0
add esp, 0xc
push eax
pop eax
xor eax, eax
jmp 0x100852fc
push 2
push 0
push edi
call fcn.1012f41b
add esp, 0xc
cmp dword [0x101d08d0], 0xffffb36b
push edi
call fcn.1012f326
add esp, 4
mov dword [esp + 0x10], eax
mov eax, eax
push 0
push 0
push edi
call fcn.1012f41b
add esp, 0xc
cmp dword [0x101d08bc], 0xffff896c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1012de1c
add esp, 4
mov esi, eax
push edx
pop edx
test esi, esi
push edi
jne 0x10085135
call fcn.1012ee5b
add esp, 4
push edx
pop edx
xor eax, eax
jmp 0x100852fc
mov edx, dword [esp + 0x14]
push edx
push 1
push esi
call fcn.1012f173
add esp, 0x10
push edx
pop edx
push edi
call fcn.1012ee5b
add esp, 4
push edx
pop edx
jmp 0x10085197
mov eax, dword [ebp]
push eax
call fcn.1012de1c
add esp, 4
mov esi, eax
mov bl, bl
test esi, esi
je 0x100850ca
mov ecx, dword [ebp]
mov edx, dword [edi]
push ecx
push edx
push esi
call fcn.1012fbf0
add esp, 0xc
cmp dword [0x101d08c4], 0xab9
mov eax, dword [ebp]
mov dword [esp + 0x10], eax
cmp dword [0x101d08d0], 0xffffb36b
mov ecx, dword [esp + 0x10]
push ecx
push esi
call fcn.1005dc10
add esp, 8
test eax, eax
je 0x10085315
mov eax, dword [esp + 0x10]
lea edx, [ebx + 0x2617]
push edx
push eax
push esi
call fcn.1005d9f0
add esp, 0xc
mov dword [esp + 0x10], eax
push eax
pop eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10085262
mov al, 0xdc
mov byte [esp + 0x24], 0xcd
mov byte [esp + 0x25], 0xbc
mov byte [esp + 0x26], 0xc6
mov byte [esp + 0x27], 0xac
mov byte [esp + 0x28], 0x5b
mov byte [esp + 0x29], 0x25
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2b], 0x5d
mov byte [esp + 0x2c], 0xbd
mov byte [esp + 0x2d], 0xe2
mov byte [esp + 0x2e], 0xc3
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], 0
cmp dword [0x101d08c0], 0x5839
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
call fcn.100583b0
add esp, 0xc
mov dl, dl
push esi
call fcn.1012dedf
add esp, 4
cmp dword [0x101d08cc], 0xffffb203
xor eax, eax
jmp 0x100852fc
push eax
call fcn.1012de1c
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov edx, edx
test edi, edi
jne 0x1008528e
push esi
call fcn.1012dedf
add esp, 4
cmp dword [0x101d08d0], 0xffffb36b
xor eax, eax
jmp 0x100852fc
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esi + 8]
push ecx
push edi
call fcn.1012fbf0
add esp, 0xc
cmp dword [0x101d08c0], 0xffffa7c6
push esi
call fcn.1012dedf
add esp, 4
cmp dword [0x101d08b0], 0x2f18
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.10084d50
add esp, 0xc
cmp dword [0x101d08d4], 0xfffffede
mov edx, dword [esp + 0x18]
mov dword [edx], edi
cmp dword [0x101d08b0], 0xffffd0e7
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
push edx
pop edx
mov eax, 1
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1012e3ba
add esp, 0x22c
ret
mov edi, esi
mov dword [esp + 0x1c], edi
cmp dword [0x101d08c0], 0x5839
jmp 0x100852bd
mov dword [esp + 0x14], eax
mov ebp, ebp
mov byte [esp + 0x1c], 0x25
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x2c
mov byte [esp + 0x1f], 0x25
mov byte [esp + 0x20], 0x64
mov byte [esp + 0x21], al
push edx
pop edx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.101302dd
add esp, 0x10
mov edi, edi
mov edx, dword [esp + 0x14]
push 4
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100853fd
mov cl, 0xd6
mov al, 0xb5
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0xb8
mov byte [esp + 0x26], 0xd5
mov byte [esp + 0x27], 0xeb
mov byte [esp + 0x28], 0x3a
mov byte [esp + 0x29], 0x25
mov byte [esp + 0x2a], 0x64
mov byte [esp + 0x2b], 0xca
mov byte [esp + 0x2c], 0xc7
mov byte [esp + 0x2d], 0xce
mov byte [esp + 0x2e], 0xde
mov byte [esp + 0x2f], 0xd0
mov byte [esp + 0x30], 0xa7
mov byte [esp + 0x31], al
mov byte [esp + 0x32], 0xc4
mov byte [esp + 0x33], al
mov byte [esp + 0x34], 0xd8
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], 0xb7
mov byte [esp + 0x37], 0
mov bh, bh
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
call fcn.100583b0
add esp, 0xc
mov bh, bh
xor eax, eax
jmp 0x100852fc
mov edi, dword [esp + 0x14]
nop
jmp 0x100852de