Function at 0x11f2b6c0
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fc6021
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov ecx, 0x84
xor eax, eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [esp + 0xb0]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xb8]
mov ecx, 0x84
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [0x12135d40], ebx
call esi
mov ebp, dword [esp + 0xa8]
mov dword [0x12135d48], eax
cmp ebp, ebx
je 0x11f2c089
cmp word [ebp], bx
je 0x11f2c089
mov eax, dword [esp + 0xac]
cmp eax, ebx
je 0x11f2c089
cmp word [eax], bx
je 0x11f2c089
cmp dword [0x12135d4c], ebx
jne 0x11f2b764
mov dword [0x12135d40], 2
mov dword [0x12135d44], 0x170f
jmp 0x11f2c09d
mov eax, dword [0x11fd6250]
mov dword [esp + 0x20], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0xb4]
or esi, 0xffffffff
xor eax, eax
cmp edi, ebx
setne al
mov dword [esp + 0x24], eax
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x74]
mov dword [esp + 0x70], ebx
mov byte [esp + 0xa0], 2
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], ebx
push ecx
push 0x60
push 1
push 5
push 0x80
push 0x120089
push ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
call fcn.11f2fb50
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
jne 0x11f2b82e
cmp dword [esp + 0x48], 0xc0000034
je 0x11f2bce7
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push ebp
call fcn.11f2fb50
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
mov dword [esp + 0x28], edi
je 0x11f2bc24
jmp 0x11f2b832
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x70]
push 0x28
push edx
push edi
call fcn.11f2ed60
add esp, 0xc
test eax, eax
je 0x11f2bc4c
test byte [esp + 0x90], 0x10
jne 0x11f2bc65
push edi
call fcn.11ee1880
add esp, 4
cmp eax, ebx
push edi
jne 0x11f2bcbf
call fcn.11ee1a50
add esp, 4
test eax, eax
jne 0x11f2bcbe
mov eax, dword [0x12136280]
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x12052ea0
push esi
mov dword [esp + 0x3c], ebx
call fcn.11f2f670
add esp, 0x10
test eax, eax
je 0x11f2b942
push esi
call fcn.11f2fbe0
add esp, 4
test eax, eax
je 0x11f2b942
mov edx, dword [esp + 0x18]
push edx
call fcn.11f2fbe0
add esp, 4
test eax, eax
je 0x11f2b942
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x44], 1
call fcn.11e7f410
mov ecx, dword [esp + 0x14]
push ebx
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push ecx
call fcn.11f2fb50
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x11f2bd23
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.11f2ef40
add esp, 8
test eax, eax
je 0x11f2bbb3
mov dword [esp + 0x30], 1
jmp 0x11f2bbb3
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x14]
push esi
call fcn.11e7f500
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.11f2ef40
add esp, 8
test eax, eax
je 0x11f2ba13
mov eax, dword [esp + 0x6c]
mov ebp, 1
mov edi, ebp
cmp eax, ebx
mov dword [esp + 0x30], edi
jne 0x11f2b997
cmp dword [esp + 0x68], ebx
je 0x11f2ba1c
mov edx, dword [0x12136280]
lea eax, [esp + 0x10]
push edx
push eax
push 0x1204f154
push esi
call fcn.11f2f670
add esp, 0x10
test eax, eax
je 0x11f2b9f2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ebp
push ecx
push esi
call fcn.11f2f3a0
add esp, 8
test eax, eax
je 0x11f2b9d1
mov dword [esp + 0x1c], ebp
jmp 0x11f2ba1c
mov dword [0x12135d40], 0x28
mov dword [0x12135d44], 0x17bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135d48], eax
jmp 0x11f2ba1c
mov dword [0x12135d40], 0x24
mov dword [0x12135d44], 0x17c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135d48], eax
jmp 0x11f2ba1c
mov edi, dword [esp + 0x30]
mov ebp, 1
mov edx, dword [esp + 0x14]
push ebx
push 0x60
push 3
push ebp
push 0x80
push 0x12019f
push edx
call fcn.11f2fb50
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
jne 0x11f2ba74
mov eax, dword [esp + 0x14]
push ebp
push ebx
push eax
call fcn.11f2ede0
mov ecx, dword [esp + 0x20]
push ebx
push 0x60
push ebp
push 7
push 0x80
push 0x12019f
push ecx
call fcn.11f2fb50
mov esi, eax
add esp, 0x28
cmp esi, 0xffffffff
je 0x11f2bd39
cmp edi, ebx
je 0x11f2ba84
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
cmp eax, ebx
je 0x11f2ba88
mov dword [esp + 0x38], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, ebx
je 0x11f2bb0c
cmp dword [esp + 0x1c], ebx
je 0x11f2bb16
mov edx, dword [esp + 0x10]
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push edx
call fcn.11f2fb50
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x11f2bb0c
cmp dword [esp + 0x24], ebx
je 0x11f2bb05
mov dword [esp + 0x44], ebx
mov dword [0x12135d40], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135d48], eax
lea eax, [esp + 0x44]
push eax
push edi
call ebp
cmp eax, ebx
jne 0x11f2baea
cmp dword [esp + 0x44], ebx
je 0x11f2bb01
cmp dword [esp + 0xb4], 1
jne 0x11f2bb05
push edi
call fcn.11ee1880
add esp, 4
test eax, eax
je 0x11f2bb05
mov dword [esp + 0x24], ebx
push edi
call dword [0x1213494c]
cmp dword [esp + 0x1c], ebx
jne 0x11f2bbb3
cmp dword [esp + 0x2c], ebx
je 0x11f2bbb3
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x11f2bbb3
mov dword [esp + 0x2c], ebx
mov dword [0x12135d40], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x2c]
mov dword [0x12135d48], eax
push edx
push esi
call ebp
cmp eax, ebx
jne 0x11f2bb5a
cmp dword [esp + 0x2c], ebx
jne 0x11f2bb5a
mov dword [esp + 0x24], ebx
jmp 0x11f2bbb3
mov eax, dword [esp + 0x10]
push ebx
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push eax
call fcn.11f2fb50
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x11f2bba4
push 0xffffffffffffffff
push edi
push esi
call fcn.11ee01e0
add esp, 0xc
test eax, eax
je 0x11f2bb97
mov dword [esp + 0x1c], 1
push edi
call dword [0x1213494c]
cmp dword [esp + 0x1c], ebx
jne 0x11f2bbb3
mov ecx, dword [esp + 0x10]
push 1
push ecx
call fcn.11f2f0e0
add esp, 8
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x38]
push edx
push esi
push eax
push 1
call fcn.11f27610
add esp, 0x10
cmp eax, ebx
je 0x11f2bd58
test byte [esp + 0xbc], 2
je 0x11f2bbea
lea ecx, [esp + 0x70]
push 0x28
push ecx
push esi
call fcn.11f2eda0
add esp, 0xc
test byte [esp + 0xbc], 4
je 0x11f2bc0b
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
push ecx
call fcn.11f30300
add esp, 0xc
cmp dword [esp + 0xc0], ebx
je 0x11f2bc1b
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [esp + 0x20], ebx
jmp 0x11f2bd58
mov dword [0x12135d40], 3
mov dword [0x12135d44], 0x174a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x20]
mov dword [0x12135d48], eax
jmp 0x11f2bd97
mov dword [0x12135d40], 5
mov dword [0x12135d44], 0x1752
jmp 0x11f2bd4d
mov dword [0x12135d40], 0x1d
mov dword [0x12135d44], 0x175a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
mov dword [0x12135d48], eax
mov byte [esp + 0xa0], 1
call fcn.11e7f280
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], bl
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call fcn.11e7f280
jmp 0x11f2c0a4
push edi
call dword [0x1213494c]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xac]
push edx
push eax
push ebx
push ecx
push ebp
call fcn.11edfe80
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 1
call fcn.11e7f280
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], bl
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call fcn.11e7f280
xor eax, eax
jmp 0x11f2c0a9
mov dword [0x12135d40], 4
mov dword [0x12135d44], 0x1795
jmp 0x11f2bd4d
mov dword [0x12135d40], 4
mov dword [0x12135d44], 0x17e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135d48], eax
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
je 0x11f2bd68
push eax
call dword [0x1213494c]
cmp esi, 0xffffffff
je 0x11f2bd74
push esi
call dword [0x1213494c]
mov esi, dword [esp + 0x20]
cmp esi, ebx
jne 0x11f2bd97
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x11f2bdac
mov edx, dword [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.11f2f5e0
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x11f2bdac
push eax
call fcn.11e679b1
add esp, 4
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x40], ebx
je 0x11f2bf6e
cmp esi, ebx
jne 0x11f2bf5a
cmp dword [esp + 0x30], ebx
je 0x11f2bf11
mov ecx, dword [0x12136280]
mov eax, dword [esp + 0xac]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x1204f154
push eax
call fcn.11f2f670
add esp, 0x10
test eax, eax
je 0x11f2c04e
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xac]
push ecx
push esi
call fcn.11f2f3a0
add esp, 8
test eax, eax
je 0x11f2be91
mov edx, dword [esp + 0x14]
push esi
push edx
call fcn.11f2f3a0
add esp, 8
test eax, eax
je 0x11f2be5e
cmp dword [esp + 0x24], ebx
je 0x11f2be4a
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xb8]
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x11f2bfc2
jmp 0x11f2bfa1
mov eax, dword [esp + 0x10]
push 1
push eax
call fcn.11f2f0e0
add esp, 8
jmp 0x11f2c04e
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.11f2f3a0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb8]
add esp, 8
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x11f2bed5
jmp 0x11f2beb4
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x11f2bed5
mov esi, dword [esp + 0xb0]
mov ecx, 0x82
xor eax, eax
mov edi, esi
push edx
push esi
rep stosd dword es:[edi], eax
call fcn.11e6749a
add esp, 8
jmp 0x11f2c04e
lea edx, [eax + eax + 2]
push edx
call fcn.11e679bc
mov edx, dword [esp + 0xb4]
mov edi, eax
mov eax, dword [edx + 0x20c]
mov dword [edx + 0x208], edi
lea ecx, [eax + eax + 2]
xor eax, eax
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
jmp 0x11f2c03e
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.11f2f3a0
add esp, 8
test eax, eax
jne 0x11f2c04e
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x11f2c007
jmp 0x11f2beb4
mov eax, dword [esp + 0x14]
push 1
push eax
call fcn.11f2f0e0
add esp, 8
jmp 0x11f2c04e
cmp esi, ebx
jne 0x11f2bfd7
cmp dword [esp + 0x1c], ebx
je 0x11f2c04e
cmp dword [esp + 0x24], ebx
je 0x11f2be4a
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xb8]
mov eax, dword [edx - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x11f2bfc2
mov esi, dword [esp + 0xb8]
mov ecx, 0x82
xor eax, eax
mov edi, esi
push edx
push esi
rep stosd dword es:[edi], eax
call fcn.11e6749a
add esp, 8
jmp 0x11f2c04e
lea edx, [eax + eax + 2]
push edx
call fcn.11e679bc
mov edx, dword [esp + 0xbc]
mov edi, eax
jmp 0x11f2c01a
cmp dword [esp + 0x38], ebx
je 0x11f2bfef
mov ecx, dword [esp + 0xac]
push 1
push ecx
call fcn.11f2f0e0
add esp, 8
cmp dword [esp + 0x1c], ebx
je 0x11f2c04e
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x10]
push edx
push eax
jmp 0x11f2bf1e
lea edx, [eax + eax + 2]
push edx
call fcn.11e679bc
mov edx, dword [esp + 0xb4]
mov edi, eax
mov dword [edx + 0x208], edi
mov eax, dword [edx + 0x20c]
lea ecx, [eax + eax + 2]
xor eax, eax
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + 0x208]
push ecx
push edx
call fcn.11e6749a
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 1
call fcn.11e7f280
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], bl
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
call fcn.11e7f280
mov eax, dword [esp + 0x20]
jmp 0x11f2c0a9
mov dword [0x12135d40], 1
mov dword [0x12135d44], 0x1709
call esi
mov dword [0x12135d48], eax
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret