Function at 0x102069c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x15c]
push edi
push 0x150
push 0
push eax
mov ebx, ecx
call fcn.10425c00
add esp, 0xc
cmp dword [ebx + 0xec], 1
jne 0x10206a1e
cmp esi, 4
je 0x10206b0f
cmp esi, 3
je 0x10206b0f
cmp dword [ebx + 0x53ac], 0
jne 0x10206a3b
test byte [ebx + 0xae], 0x48
jne 0x10206a3b
mov al, byte [ebx + 0xa8]
and al, byte [ebx + 0xae]
test al, 8
jne 0x10206a3b
cmp dword [ebx + 0x53b0], 0
je 0x10206dfe
test byte [ebx + 0xb0], 0x40
jne 0x10206dfe
cmp dword [ebx + 0x53b0], 0
jne 0x10206dfe
mov edi, esi
mov eax, 0x1046e210
and edi, 1
mov ecx, 0x1046e220
cmove eax, ecx
push eax
push 0x1046e230
push ebx
call fcn.10010190
mov ecx, dword [ebp - 0x12c]
add esp, 0xc
test esi, esi
jns 0x10206a92
mov eax, dword [ebx + 0x4a78]
or ecx, 0x80000000
mov dword [ebp - 0x120], eax
mov eax, esi
and eax, 0x40000000
mov edx, eax
mov dword [ebp - 0x260], eax
or edx, ecx
mov esi, eax
mov dword [ebp - 0x12c], edx
test edi, edi
je 0x10206d82
mov cl, byte [ebx + 0xae]
movzx eax, cl
shr eax, 3
and eax, 1
or eax, edx
mov dword [ebp - 0x12c], eax
mov eax, esi
test cl, 8
je 0x10206d82
cmp dword [ebx + 0x59d4], 0
jne 0x10206c2c
push 0x1046de20
mov dword [ebp - 0x264], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
call fcn.101fedc0
test al, al
jne 0x10206b20
mov dword [ebp - 0x25c], edi
jmp 0x10206c26
mov dword [ebp - 0x12c], esi
and esi, 0x40000000
jmp 0x10206d82
test esi, esi
jne 0x10206b3a
call fcn.101ff770
push 0x1046de20
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x10206b48
push 0x1046de30
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10206b50
call edi
jmp 0x10206b52
xor eax, eax
xor esi, esi
mov dword [ebp - 0x25c], 0
test eax, eax
je 0x10206c26
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x264]
push ecx
push 0x10202220
push 0x100f3ad0
push 8
call eax
mov edi, dword [ebp - 0x25c]
test eax, eax
cmove esi, dword [ebp - 0x264]
test edi, edi
je 0x10206c26
cmp dword [0x11c4d988], 0x10234530
je 0x10206c20
lea ecx, [ebp - 0x254]
call fcn.101fdfa0
test al, al
je 0x10206c1a
mov eax, 0x4325c53f
xor ecx, ecx
mul esi
mov esi, edx
shr esi, 6
test esi, esi
je 0x10206c1a
mov edi, dword [ebp - 0x25c]
mov eax, edi
movzx edx, word [eax]
cmp dx, word [ebp - 0x254]
jne 0x10206bf0
mov di, word [ebp - 0x252]
cmp word [eax + 2], di
mov edi, dword [ebp - 0x25c]
je 0x10206c01
test dx, dx
je 0x10206c01
inc ecx
add eax, 0xf4
cmp ecx, esi
jb 0x10206bd1
jmp 0x10206c20
imul edi, ecx, 0xf4
lea esi, [ebp - 0x254]
mov ecx, 0x3d
add edi, dword [ebp - 0x25c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x25c]
mov dword [ebx + 0x59d4], edi
mov eax, dword [ebp - 0x260]
cmp byte [ebx + 0x540d], 0
je 0x10206d29
cmp byte [ebx + 0x5414], 0
je 0x10206d29
mov edx, dword [ebx + 0x5418]
xor esi, esi
mov byte [ebp - 0x255], 0
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x268], edx
test edx, edx
je 0x10206d11
mov eax, dword [ebx + 0x59d4]
xor edi, edi
mov dword [ebp - 0x25c], edi
test eax, eax
je 0x10206cf9
nop dword [eax + eax]
movzx ecx, word [eax]
test cx, cx
je 0x10206ced
movzx edx, word [ebx + edi + 0x547e]
cmp dx, cx
jne 0x10206ce6
movzx ecx, word [ebx + edi + 0x5480]
cmp cx, word [eax + 2]
jne 0x10206ce6
cmp byte [ebp - 0x255], 0
jne 0x10206cd5
mov esi, eax
mov byte [ebp - 0x255], 1
mov ecx, 0x3d
lea edi, [ebp - 0x120]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x264]
add eax, 0xf4
mov edi, dword [ebp - 0x25c]
jmp 0x10206c80
mov word [ebp + esi*4 - 0x2c], dx
mov word [ebp + esi*4 - 0x2a], cx
inc esi
mov dword [ebp - 0x264], esi
add eax, 0xf4
jmp 0x10206c80
mov edx, dword [ebp - 0x268]
mov eax, dword [ebx + 0x59d4]
add edi, 0x60
sub edx, 1
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x268], edx
jne 0x10206c77
mov eax, dword [ebx + 0x542c]
or dword [ebp - 0x12c], 0x20000000
mov dword [ebp - 0x124], eax
jmp 0x10206d7c
mov edi, dword [ebx + 0x59d4]
xor edx, edx
mov esi, eax
test edi, edi
je 0x10206d82
mov ecx, edi
nop dword [eax]
movzx eax, word [ecx]
test ax, ax
je 0x10206d82
cmp word [ebx + 0x75c], ax
jne 0x10206d5e
mov ax, word [ebx + 0x75e]
cmp ax, word [ecx + 2]
je 0x10206d67
inc edx
add ecx, 0xf4
jmp 0x10206d40
imul esi, edx, 0xf4
mov ecx, 0x3d
add esi, edi
lea edi, [ebp - 0x120]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x260]
mov ecx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x7a68]
cmp dword [eax + 0x54], 2
jne 0x10206dd7
test esi, esi
je 0x10206dcb
test byte [ebx + 0xab], 2
je 0x10206db9
cmp dword [ecx + 0xd590], 1
je 0x10206dcb
or dword [ebp - 0x12c], 0x20000000
mov eax, dword [ebx + 0x542c]
jmp 0x10206dd1
mov eax, dword [ebx + 0x53a8]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x15c]
mov ecx, ebx
push eax
call fcn.10206540
mov eax, dword [ebp - 0x128]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4