Function at 0x1007e0f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x244
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [esp + 0x254]
push ebx
mov ebx, dword [esp + 0x25c]
push ebp
mov ebp, dword [esp + 0x258]
push esi
mov esi, dword [esp + 0x258]
push edi
mov edi, dword [esp + 0x258]
push 0x1ff
lea ecx, [esp + 0x55]
push 0
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x5c], 0
call fcn.10112240
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x26c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
jne 0x1007e378
push esi
lea edx, [esp + 0x54]
push edx
push edi
call fcn.10057990
mov esi, dword [esp + 0x28]
push ebx
push esi
push ebp
lea eax, [esp + 0x68]
push eax
push edi
call fcn.10069040
add esp, 0x20
test eax, eax
jne 0x1007e6c6
cmp dword [esp + 0x270], eax
jne 0x1007e291
push 0x40
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x24], 0x72
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], al
call fcn.10112c80
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1007e234
mov al, 0xce
mov byte [esp + 0x34], al
mov byte [esp + 0x3c], al
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
mov byte [esp + 0x41], 0xde
mov byte [esp + 0x42], 0xb7
mov byte [esp + 0x43], 0xa8
mov byte [esp + 0x44], 0xb4
mov byte [esp + 0x45], 0xf2
mov byte [esp + 0x46], 0xbf
mov byte [esp + 0x47], 0xaa
mov byte [esp + 0x49], 0xc4
mov byte [esp + 0x4a], 0xbc
mov byte [esp + 0x4b], 0xfe
mov byte [esp + 0x4c], 0x3c
mov byte [esp + 0x4d], 0x25
mov byte [esp + 0x4e], 0x73
mov byte [esp + 0x4f], 0x3e
mov byte [esp + 0x50], 0
call fcn.10051ef0
add esp, 0xc
xor eax, eax
jmp 0x1007e6cb
push 2
push 0
push esi
call fcn.10112bfb
push esi
call fcn.10112b06
push 0
push 0
push esi
mov dword [esp + 0x30], eax
call fcn.10112bfb
mov edx, dword [esp + 0x30]
push edx
call fcn.10111579
mov edi, eax
add esp, 0x20
test edi, edi
mov dword [esp + 0x10], edi
push esi
jne 0x1007e279
call fcn.1011263b
add esp, 4
xor eax, eax
jmp 0x1007e6cb
mov eax, dword [esp + 0x18]
push eax
push 1
push edi
call fcn.10112953
push esi
call fcn.1011263b
add esp, 0x14
jmp 0x1007e2bd
mov ecx, dword [ebx]
push ecx
call fcn.10111579
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x1007e22d
mov edx, dword [ebx]
mov ecx, dword [esi]
push edx
push ecx
push eax
call fcn.101132a0
mov edx, dword [ebx]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.100562a0
add esp, 8
test eax, eax
je 0x1007e371
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [esi + 0x260f]
push ecx
push edx
push edi
call fcn.10056080
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1007e369
mov al, 0xdc
mov byte [esp + 0x3f], al
mov byte [esp + 0x43], al
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
mov byte [esp + 0x40], 0xcd
mov byte [esp + 0x41], 0xbc
mov byte [esp + 0x42], 0xc6
mov byte [esp + 0x43], 0xac
mov byte [esp + 0x44], 0x5b
mov byte [esp + 0x45], 0x25
mov byte [esp + 0x46], 0x73
mov byte [esp + 0x47], 0x5d
mov byte [esp + 0x48], 0xbd
mov byte [esp + 0x49], 0xe2
mov byte [esp + 0x4a], 0xc3
mov byte [esp + 0x4c], 0xca
mov byte [esp + 0x4d], 0xa7
mov byte [esp + 0x4e], 0xb0
mov byte [esp + 0x50], 0
call fcn.10051ef0
push edi
call fcn.1011163c
add esp, 0x10
xor eax, eax
jmp 0x1007e6cb
lea eax, [edi + 8]
jmp 0x1007e444
mov eax, edi
jmp 0x1007e444
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x51], al
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
mov byte [esp + 0x58], 0x25
mov byte [esp + 0x59], 0x64
mov byte [esp + 0x5a], 0x2c
mov byte [esp + 0x5b], 0x25
mov byte [esp + 0x5c], 0x64
call fcn.10113843
mov edx, dword [esp + 0x28]
add esp, 0x10
push 4
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1007e440
mov al, 0xd6
mov cl, 0xb5
mov byte [esp + 0x34], al
mov byte [esp + 0x45], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x41], cl
mov byte [esp + 0x43], cl
push eax
lea ecx, [esp + 0x38]
push ecx
push edi
mov byte [esp + 0x41], 0xb8
mov byte [esp + 0x42], 0xd5
mov byte [esp + 0x43], 0xeb
mov byte [esp + 0x44], 0x3a
mov byte [esp + 0x45], 0x25
mov byte [esp + 0x46], 0x64
mov byte [esp + 0x47], 0xca
mov byte [esp + 0x48], 0xc7
mov byte [esp + 0x49], 0xce
mov byte [esp + 0x4a], 0xde
mov byte [esp + 0x4b], 0xd0
mov byte [esp + 0x4c], 0xa7
mov byte [esp + 0x4e], 0xc4
mov byte [esp + 0x50], 0xd8
mov byte [esp + 0x52], 0xb7
mov byte [esp + 0x53], 0
call fcn.10051ef0
add esp, 0xc
xor eax, eax
jmp 0x1007e6cb
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], 0x36
jae 0x1007e469
cmp dword [esp + 0x26c], 0
jne 0x1007e462
mov edx, dword [esp + 0x10]
push edx
call fcn.1011163c
add esp, 4
xor eax, eax
jmp 0x1007e6cb
cmp word [eax], 0x4d42
lea edx, [eax + 0xe]
je 0x1007e491
cmp dword [esp + 0x26c], 0
jne 0x1007e462
mov eax, dword [esp + 0x10]
push eax
call fcn.1011163c
add esp, 4
xor eax, eax
jmp 0x1007e6cb
mov ecx, 0xa
mov esi, edx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x2c], 1
jge 0x1007e4b6
neg ecx
mov dword [esp + 0x2c], esi
mov dword [ebp + 8], ecx
cmp word [edx + 0xe], 0x18
je 0x1007e547
mov edx, dword [esp + 0x20]
mov cl, 0xbb
mov al, 0xd6
mov byte [esp + 0x35], cl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x41], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
mov byte [esp + 0x36], al
mov byte [esp + 0x39], al
mov al, 0xce
push ecx
push edx
mov byte [esp + 0x3f], 0xa7
mov byte [esp + 0x40], 0xb3
mov byte [esp + 0x42], 0x32
mov byte [esp + 0x43], 0x34
mov byte [esp + 0x44], al
mov byte [esp + 0x46], 0xc9
mov byte [esp + 0x47], 0xab
mov byte [esp + 0x48], al
mov byte [esp + 0x4a], 0xcd
mov byte [esp + 0x4b], 0xbc
mov byte [esp + 0x4c], 0
call fcn.10051ef0
add esp, 8
cmp dword [esp + 0x26c], esi
jne 0x1007e462
mov eax, dword [esp + 0x10]
push eax
call fcn.1011163c
add esp, 4
xor eax, eax
jmp 0x1007e6cb
cmp dword [edx + 0x10], esi
jne 0x1007e607
mov ecx, dword [ebp + 4]
lea ecx, [ecx*4 + 3]
and ecx, 0xfffffffc
mov dword [ebx], ecx
mov edx, dword [eax + 0xa]
cmp edx, dword [esp + 0x14]
jbe 0x1007e589
cmp dword [esp + 0x26c], esi
jne 0x1007e462
mov edx, dword [esp + 0x10]
push edx
call fcn.1011163c
add esp, 4
xor eax, eax
jmp 0x1007e6cb
add edx, eax
mov eax, dword [ebp + 4]
add eax, 1
lea edi, [eax + eax*2]
mov eax, dword [ebp + 8]
imul eax, ecx
push eax
mov dword [esp + 0x28], edx
and edi, 0xfffffffc
call fcn.10111579
mov ecx, dword [esp + 0x20]
add esp, 4
cmp eax, esi
mov dword [ecx], eax
jne 0x1007e628
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
push eax
mov byte [esp + 0x3c], 0xc4
mov byte [esp + 0x3d], 0xda
mov byte [esp + 0x3e], 0xb4
mov byte [esp + 0x3f], 0xe6
mov byte [esp + 0x40], 0xb7
mov byte [esp + 0x41], 0xd6
mov byte [esp + 0x42], 0xc5
mov byte [esp + 0x43], 0xe4
mov byte [esp + 0x44], 0xca
mov byte [esp + 0x45], 0xa7
mov byte [esp + 0x46], 0xb0
mov byte [esp + 0x47], 0xdc
mov byte [esp + 0x48], 0
call fcn.10051ef0
add esp, 8
cmp dword [esp + 0x26c], esi
jne 0x1007e462
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1011163c
add esp, 4
xor eax, eax
jmp 0x1007e6cb
cmp dword [ebp + 8], esi
mov edx, eax
mov dword [esp + 0x28], esi
jle 0x1007e683
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x1007e66d
mov ecx, dword [esp + 0x24]
lea eax, [edx + 2]
add ecx, 2
movzx ebx, byte [ecx - 2]
mov byte [eax - 2], bl
movzx ebx, byte [ecx - 1]
mov byte [eax - 1], bl
movzx ebx, byte [ecx]
mov byte [eax], bl
mov byte [eax + 1], 0
add esi, 1
add ecx, 3
add eax, 4
cmp esi, dword [ebp + 4]
jl 0x1007e644
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add edx, dword [ebx]
add dword [esp + 0x24], edi
add eax, 1
cmp eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
jl 0x1007e633
cmp dword [esp + 0x2c], 0
je 0x1007e69a
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov edi, dword [ebx]
mov ecx, dword [edx]
call fcn.100609d0
cmp dword [esp + 0x26c], 0
jne 0x1007e6c6
mov eax, dword [esp + 0x10]
push eax
call fcn.1011163c
mov ecx, dword [esp + 0x20]
push ebx
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x5c]
push ebp
push edx
call fcn.1007dd20
add esp, 0x14
mov eax, 1
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10111b17
add esp, 0x244
ret