Function at 0x100070f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
xor ebx, ebx
push edi
xor edi, edi
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0x64
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jbe 0x1000761a
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x18]
push 2
push ecx
mov dword [esp + 0x20], ebx
call fcn.1000e456
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp ebp, 0x4d4d
jne 0x10007145
movzx dx, ah
mov dh, al
movzx eax, dx
movsx eax, ax
cmp eax, 0x102
jb 0x10007157
mov dword [esp + 0x14], 0xc8
cmp eax, 0x107
ja 0x10007385
je 0x100072c5
cmp eax, 0x100
ja 0x100071d3
je case.0x10007184.0
add eax, 0xffffffff
cmp eax, 0xd
ja case.0x10007184.3
movzx eax, byte [eax + 0x1000762c]
jmp dword [eax*4 + 0x10007624]
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x18]
push 2
push edx
mov dword [esp + 0x20], ebx
call fcn.1000e456
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x28]
push 2
push ecx
mov dword [esp + 0x30], ebx
call fcn.1000e456
add esp, 0x20
cmp word [esp + 0x14], 0xc8
jne 0x10007601
mov edi, 3
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 0x101
je 0x1000725f
jbe case.0x10007184.3
cmp eax, 0x106
ja case.0x10007184.3
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
mov byte [esp + 0x1f], bl
call fcn.1000e456
movzx eax, byte [esp + 0x1f]
add esp, 0x10
cmp eax, 0x80
jl 0x1000721a
cmp eax, 0x85
jle 0x1000721f
mov edi, 4
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x17]
push 1
push edx
mov byte [esp + 0x1f], bl
call fcn.1000e456
add esp, 0x10
cmp byte [esp + 0xf], bl
je 0x10007242
mov edi, 5
push ebp
mov eax, esi
call fcn.10007080
add esp, 4
test eax, eax
je 0x10007256
mov edi, 5
cmp dword [esp + 0x18], ebx
jmp 0x100075fb
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
mov byte [esp + 0x1f], bl
call fcn.1000e456
add esp, 0x10
cmp byte [esp + 0xf], 0xff
jne 0x10007286
mov dword [esp + 0x18], 1
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
mov byte [esp + 0x1f], bl
call fcn.1000e456
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x28]
push 2
push edx
mov dword [esp + 0x30], ebx
call fcn.1000e456
add esp, 0x20
cmp word [esp + 0x14], 0xc8
je 0x100071c5
jmp 0x10007601
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
mov byte [esp + 0x1f], bl
call fcn.1000e456
movzx eax, byte [esp + 0x1f]
add esp, 0x10
cmp eax, 0x80
jl 0x100072f0
cmp eax, 0x85
jle 0x100072f5
mov edi, 4
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
mov byte [esp + 0x1f], bl
call fcn.1000e456
movzx eax, byte [esp + 0x1f]
add esp, 0x10
cmp eax, 0x80
jl 0x10007320
cmp eax, 0x85
jle 0x10007325
mov edi, 4
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x17]
push 1
push edx
mov byte [esp + 0x1f], bl
call fcn.1000e456
movzx eax, byte [esp + 0x1f]
add esp, 0x10
cmp eax, 0x80
jl 0x10007350
cmp eax, 0x85
jle 0x10007355
mov edi, 4
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
mov byte [esp + 0x1f], bl
call fcn.1000e456
add esp, 0x10
cmp byte [esp + 0xf], bl
je 0x10007256
cmp dword [esp + 0x18], ebx
mov edi, 5
jmp 0x100075fb
cmp eax, 0x303
ja 0x1000749d
cmp eax, 0x302
jae 0x1000756d
cmp eax, 0x110
je 0x10007406
cmp eax, 0x301
jne case.0x10007184.3
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
mov byte [esp + 0x1f], bl
call fcn.1000e456
add esp, 0x10
cmp byte [esp + 0xf], 0xff
jne 0x100073d4
mov dword [esp + 0x1c], 1
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x17]
push 1
push edx
mov byte [esp + 0x1f], bl
call fcn.1000e456
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x28]
push 2
push ecx
mov dword [esp + 0x30], ebx
call fcn.1000e456
add esp, 0x20
jmp 0x10007601
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
mov byte [esp + 0x1f], bl
call fcn.1000e456
movzx eax, byte [esp + 0x1f]
add esp, 0x10
cmp eax, 0x80
jl 0x10007431
cmp eax, 0x85
jle 0x10007436
mov edi, 4
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x17]
push 1
push edx
mov byte [esp + 0x1f], bl
call fcn.1000e456
add esp, 0x10
cmp byte [esp + 0xf], bl
je 0x10007459
mov edi, 5
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x18]
push 2
push ecx
mov dword [esp + 0x20], ebx
call fcn.1000e456
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp ebp, 0x4d4d
jne 0x10007486
movzx dx, ah
mov dh, al
movzx eax, dx
cmp ax, bx
je 0x100075fd
mov edi, 5
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
sub eax, 0x306
je 0x1000756d
sub eax, 0xa
je 0x100074df
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x18]
push 2
push ecx
mov dword [esp + 0x20], ebx
call fcn.1000e456
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x28]
push 2
push eax
mov dword [esp + 0x30], ebx
call fcn.1000e456
add esp, 0x20
jmp 0x10007601
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x17]
push 1
push edx
mov byte [esp + 0x1f], bl
call fcn.1000e456
movzx eax, byte [esp + 0x1f]
add esp, 0x10
cmp eax, 0x80
jl 0x1000750a
cmp eax, 0x85
jle 0x1000750f
mov edi, 4
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x17]
push 1
push ecx
mov byte [esp + 0x1f], bl
call fcn.1000e456
add esp, 0x10
cmp byte [esp + 0xf], bl
je 0x10007532
mov edi, 5
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x18]
push 2
push eax
mov dword [esp + 0x20], ebx
call fcn.1000e456
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp ebp, 0x4d4d
jne 0x1000755f
movzx cx, ah
mov ch, al
movzx eax, cx
cmp ax, bx
jne 0x1000748f
jmp 0x100075fd
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
mov byte [esp + 0x1f], bl
call fcn.1000e456
movzx eax, byte [esp + 0x1f]
add esp, 0x10
cmp eax, 0x80
jl 0x10007598
cmp eax, 0x85
jle 0x1000759d
mov edi, 4
mov ecx, dword [esi]
push ecx
push 1
lea edx, [esp + 0x17]
push 1
push edx
mov byte [esp + 0x1f], bl
call fcn.1000e456
add esp, 0x10
cmp byte [esp + 0xf], bl
je 0x100075c0
mov edi, 5
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x18]
push 2
push ecx
mov dword [esp + 0x20], ebx
call fcn.1000e456
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp ebp, 0x4d4d
jne 0x100075ed
movzx dx, ah
mov dh, al
movzx eax, dx
cmp ax, bx
je 0x100075f7
mov edi, 5
cmp dword [esp + 0x1c], ebx
je 0x10007615
cmp edi, ebx
jne 0x1000761a
sub dword [esp + 0x28], 1
jne 0x10007118
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
mov edi, 7
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret