Function at 0x1016f560
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f84be
mov eax, dword fs:[0]
push eax
mov eax, 0x400cc
call fcn.10191780
mov eax, dword [0x102632d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x40000
mov dword [ebp - 0x400d8], eax
lea eax, [ebp - 0x40010]
push 0
push eax
call fcn.101a9880
add esp, 0xc
mov dword [ebp - 0x40018], 0
xor eax, eax
mov dword [ebp - 0x40014], 7
lea ecx, [ebp - 0x40028]
mov word [ebp - 0x40028], ax
push 0x1e
push str.Local_shared_memeory.web_popup
call fcn.10008910
cmp dword [ebp - 0x40014], 8
lea eax, [ebp - 0x40028]
cmovae eax, dword [ebp - 0x40028]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [ebp - 0x400d4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, 1
test esi, esi
je 0x1016f65c
push 0x20000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x1016f650
push 0x20000
lea eax, [ebp - 0x40010]
push esi
push eax
call fcn.101a8d80
add esp, 0xc
xor bl, bl
test esi, esi
je 0x1016f650
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x400d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x40014]
cmp edx, 8
jb 0x1016f69c
mov ecx, dword [ebp - 0x40028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1016f692
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016fdd5
push edx
push ecx
call fcn.101912ef
add esp, 8
test bl, bl
je 0x1016f6a7
xor al, al
jmp 0x1016fdb9
mov dword [ebp - 0x4001c], 0
mov dword [ebp - 0x40018], 0
mov dword [ebp - 0x40014], 0
xor eax, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40010]
mov dword [ebp - 0x40048], 0
mov dword [ebp - 0x40044], 7
lea edx, [ecx + 2]
mov word [ebp - 0x40058], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1016f6f2
sub ecx, edx
lea eax, [ebp - 0x40010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40058]
call fcn.10008910
lea eax, [ebp - 0x4001c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40058]
push 0x1026318c
push eax
call fcn.1016e8b0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40058]
call fcn.10008820
mov ecx, dword [ebp - 0x40018]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4001c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
je 0x1016f76d
xor bl, bl
jmp 0x1016fdac
cmp dword [esi + 0x14], 8
mov eax, esi
mov ebx, eax
jb 0x1016f779
mov eax, dword [esi]
push eax
call fcn.101b1dc1
push edx
push eax
call fcn.1016d830
add esp, 0xc
lea eax, [ebx + 0x18]
lea ecx, [ebp - 0x40070]
push eax
call fcn.10009ad0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x400d0]
call fcn.10009ad0
push 0x1026318c
lea eax, [ebp - 0x40040]
mov byte [ebp - 4], 3
push esi
push eax
call fcn.1000d790
lea ecx, [ebp - 0x40070]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x40058]
push eax
call fcn.100c14a0
lea ecx, [ebp - 0x400d0]
mov byte [ebp - 4], 5
push ecx
push eax
call fcn.1016e720
add esp, 0x20
lea ecx, [ebp - 0x40058]
mov bl, al
call fcn.10008820
lea ecx, [ebp - 0x40040]
mov byte [ebp - 4], 3
call fcn.10008820
test bl, bl
je 0x1016fd94
lea eax, [ebp - 0x4001c]
push eax
push dword [ebp - 0x40018]
push esi
call fcn.1000e050
add esp, 0xc
mov dword [ebp - 0x40018], esi
lea ecx, [ebp - 0x40058]
push 0x10224910
call fcn.10008860
lea eax, [ebp - 0x4001c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40058]
push eax
lea eax, [ebp - 0x40070]
push eax
call fcn.1016e8b0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40058]
call fcn.10008820
mov ecx, dword [ebp - 0x40018]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4001c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x24
jb 0x1016fd94
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1016f89f
mov eax, dword [esi]
push eax
call fcn.101b1d97
mov dword [edi], eax
add esp, 4
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x1016f8b5
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 4], eax
add esp, 4
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x1016f8cc
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 8], eax
add esp, 4
cmp dword [esi + 0x5c], 8
lea eax, [esi + 0x48]
jb 0x1016f8e3
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0xc], eax
add esp, 4
cmp dword [esi + 0x74], 8
lea eax, [esi + 0x60]
jb 0x1016f8fa
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x10], eax
lea ecx, [edi + 0x1c]
lea eax, [esi + 0x78]
add esp, 4
cmp ecx, eax
je 0x1016f923
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1016f91a
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10008910
cmp dword [esi + 0xa4], 8
lea eax, [esi + 0x90]
jb 0x1016f934
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x14], eax
add esp, 4
cmp dword [esi + 0xbc], 8
lea eax, [esi + 0xa8]
jb 0x1016f951
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x18], eax
add esp, 4
cmp dword [esi + 0xd4], 8
lea eax, [esi + 0xc0]
jb 0x1016f96e
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x4c], eax
add esp, 4
cmp dword [esi + 0xec], 8
lea eax, [esi + 0xd8]
jb 0x1016f98b
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov ecx, dword [ebp - 0x400d8]
add esp, 4
mov dword [ecx], eax
lea eax, [esi + 0xf0]
lea ecx, [edi + 0x68]
cmp ecx, eax
je 0x1016f9bc
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1016f9b3
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10008910
cmp dword [esi + 0x11c], 8
lea eax, [esi + 0x108]
jb 0x1016f9cd
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x80], eax
lea ecx, [edi + 0x50]
lea eax, [esi + 0x120]
add esp, 4
cmp ecx, eax
je 0x1016f9fc
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1016f9f3
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10008910
lea eax, [esi + 0x138]
push eax
lea ecx, [ebp - 0x400b8]
call fcn.10009ad0
lea eax, [ebp - 0x400b8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x40040]
push eax
call fcn.100c40b0
add esp, 8
lea ecx, [edi + 0x84]
push eax
call fcn.1000d580
lea ecx, [ebp - 0x40040]
call fcn.10008820
lea eax, [esi + 0x150]
lea ecx, [edi + 0xa0]
cmp ecx, eax
je 0x1016fa62
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1016fa59
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10008910
cmp dword [esi + 0x17c], 8
lea eax, [esi + 0x168]
jb 0x1016fa73
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0xd0], eax
add esp, 4
cmp dword [esi + 0x194], 8
lea eax, [esi + 0x180]
jb 0x1016fa93
mov eax, dword [eax]
push eax
call fcn.101b1d97
add esp, 4
mov dword [edi + 0xd4], eax
lea eax, [esi + 0x198]
lea ecx, [ebp - 0x400a0]
push eax
call fcn.10009ad0
lea eax, [ebp - 0x400a0]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40040]
push eax
call fcn.100c40b0
add esp, 8
lea ecx, [edi + 0xd8]
push eax
call fcn.1000d580
lea ecx, [ebp - 0x40040]
call fcn.10008820
lea eax, [esi + 0x1b0]
push eax
lea ecx, [ebp - 0x40088]
call fcn.10009ad0
lea eax, [ebp - 0x40088]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x40040]
push eax
call fcn.100c40b0
add esp, 8
lea ecx, [edi + 0xf0]
push eax
call fcn.1000d580
lea ecx, [ebp - 0x40040]
call fcn.10008820
cmp dword [esi + 0x1dc], 8
lea eax, [esi + 0x1c8]
jb 0x1016fb39
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x108], eax
lea ecx, [edi + 0x10c]
lea eax, [esi + 0x1e0]
add esp, 4
cmp ecx, eax
je 0x1016fb6b
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1016fb62
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10008910
cmp dword [esi + 0x20c], 8
lea eax, [esi + 0x1f8]
jb 0x1016fb7c
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x124], eax
add esp, 4
cmp dword [esi + 0x224], 8
lea eax, [esi + 0x210]
jb 0x1016fb9c
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x128], eax
lea ecx, [edi + 0x34]
lea eax, [esi + 0x228]
add esp, 4
cmp ecx, eax
je 0x1016fbcb
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1016fbc2
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10008910
lea eax, [esi + 0x240]
lea ecx, [edi + 0xb8]
cmp ecx, eax
je 0x1016fbee
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1016fbe5
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10008910
cmp dword [esi + 0x26c], 8
lea eax, [esi + 0x258]
jb 0x1016fbff
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x12c], eax
add esp, 4
cmp dword [esi + 0x284], 8
lea eax, [esi + 0x270]
jb 0x1016fc1f
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x130], eax
add esp, 4
cmp dword [esi + 0x29c], 8
lea eax, [esi + 0x288]
jb 0x1016fc3f
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x134], eax
add esp, 4
cmp dword [esi + 0x2b4], 8
lea eax, [esi + 0x2a0]
jb 0x1016fc5f
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x138], eax
add esp, 4
cmp dword [esi + 0x2cc], 8
lea eax, [esi + 0x2b8]
jb 0x1016fc7f
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x13c], eax
lea eax, [esi + 0x2d0]
push eax
lea eax, [ebp - 0x40040]
push eax
call fcn.100c40b0
add esp, 0xc
lea ecx, [edi + 0x140]
push eax
call fcn.1000d580
lea ecx, [ebp - 0x40040]
call fcn.10008820
lea eax, [esi + 0x2e8]
push eax
lea eax, [ebp - 0x40040]
push eax
call fcn.100c40b0
add esp, 8
lea ecx, [edi + 0x158]
push eax
call fcn.1000d580
lea ecx, [ebp - 0x40040]
call fcn.10008820
lea eax, [esi + 0x300]
push eax
lea eax, [ebp - 0x40040]
push eax
call fcn.100c40b0
add esp, 8
lea ecx, [edi + 0x170]
push eax
call fcn.1000d580
lea ecx, [ebp - 0x40040]
call fcn.10008820
cmp dword [esi + 0x32c], 8
lea eax, [esi + 0x318]
jb 0x1016fd23
mov eax, dword [eax]
push eax
call fcn.101b1d97
mov dword [edi + 0x188], eax
add esp, 4
cmp dword [esi + 0x344], 8
lea eax, [esi + 0x330]
jb 0x1016fd43
mov eax, dword [eax]
push eax
call fcn.101b1d97
add esi, 0x348
mov dword [edi + 0x18c], eax
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x1016fd60
mov esi, dword [esi]
push esi
call fcn.101b1d97
add esp, 4
mov dword [edi + 0x190], eax
lea ecx, [ebp - 0x40088]
mov bl, 1
call fcn.10008820
lea ecx, [ebp - 0x400a0]
call fcn.10008820
lea ecx, [ebp - 0x400b8]
call fcn.10008820
jmp 0x1016fd96
xor bl, bl
lea ecx, [ebp - 0x400d0]
call fcn.10008820
lea ecx, [ebp - 0x40070]
call fcn.10008820
lea ecx, [ebp - 0x4001c]
call fcn.1000d270
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101912fd
mov esp, ebp
pop ebp
ret
call fcn.101ad149
int3