Function at 0x10016ac0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ee5c
mov eax, dword fs:[0]
push eax
mov eax, 0x1f00
call fcn.1003e5d0
push ebx
push esi
push edi
mov eax, dword [0x1004b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
lea esi, [edi + 0x10]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0xffffffff
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1003d636
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [ebp - 4], 0
lea ebx, [edi + 0x24]
push 0xa4
mov dword [ebx], 0
lea eax, [edi + 0x98]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov word [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x7c], 0
push 0
push eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov byte [edi + 0x94], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea ecx, [edi + 0x98]
call fcn.10016fe0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x140]
mov dword [edi + 0x13c], 0
call fcn.100168d0
lea ecx, [edi + 0x2038]
call fcn.100168d0
mov word [edi + 0x3f30], 0x100
mov dword [edi + 0x3f34], 0
mov dword [edi + 0x3f38], 0
mov dword [edi + 0x3f3c], 0
mov dword [edi + 0x3f40], 0
mov byte [edi + 0x3f44], 0
mov dword [edi + 0x3f48], 0
mov dword [edi + 0x3f4c], 0
mov dword [edi + 0x3f50], 0
mov dword [edi + 0x3f54], 0
mov dword [edi + 0x3f58], 0
mov dword [edi + 0x3f5c], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x3f60], 0x437f0000
mov dword [edi + 0x3f64], 0x436b0000
mov dword [edi + 0x3f68], 0
mov dword [edi + 0x3f6c], 0
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x3f70], 0
mov dword [edi + 0xc], eax
call fcn.100178e0
mov eax, dword [edi + 0x3f54]
cmp eax, dword [edi + 0x3f58]
je 0x10016d3d
mov dword [edi + 0x3f58], eax
push 0xa4
mov word [edi + 0x74], 0
lea eax, [ebp - 0xb8]
mov dword [edi + 0x78], 0
push 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x7c], 0
push eax
mov dword [edi + 0x88], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb8]
call fcn.10016fe0
mov esi, eax
lea ecx, [edi + 0x98]
push esi
call fcn.10017860
mov eax, dword [esi + 0x18]
lea ecx, [edi + 0x98]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x40], eax
movzx eax, byte [esi + 0x44]
mov byte [ecx + 0x44], al
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [ecx + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [ecx + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [ecx + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [ecx + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [ecx + 0x7c], eax
mov eax, dword [esi + 0x80]
mov dword [ecx + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [ecx + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x88], eax
mov eax, dword [esi + 0x8c]
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 0x90]
mov dword [ecx + 0x90], eax
movzx eax, byte [esi + 0x94]
mov byte [ecx + 0x94], al
movzx eax, byte [esi + 0x95]
mov byte [ecx + 0x95], al
mov eax, dword [esi + 0x98]
mov dword [ecx + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [ecx + 0x9c], eax
mov eax, dword [esi + 0xa0]
mov dword [ecx + 0xa0], eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x10016ef7
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016eed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10016eed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1003d780
add esp, 8
lea ecx, [ebp - 0x1f0c]
call fcn.100168d0
push eax
lea ecx, [edi + 0x140]
call fcn.100114b0
lea ecx, [ebp - 0x1f0c]
call fcn.100168d0
push eax
lea ecx, [edi + 0x2038]
call fcn.100114b0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x3f40], 0
mov dword [edi + 0x3f3c], 0
mov dword [edi + 0x3f38], 0
mov ecx, dword [edi]
add ecx, 4
mov byte [edi + 0x94], 0
mov dword [edi + 0x1ac], eax
mov byte [edi + 0x3f31], 1
mov dword [edi + 0x3f60], 0x437f0000
mov dword [edi + 0x3f64], 0x436b0000
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov esi, eax
test esi, esi
je 0x10016fc5
mov ecx, dword [0x1005b360]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
test eax, eax
je 0x10016fc5
cmp dword [eax + 0xac], 0
jl 0x10016fc5
mov edx, dword [eax + 0xb0]
add edx, eax
je 0x10016fc5
xor eax, eax
lea ecx, [eax + edx]
add ecx, dword [edx + 8]
je 0x10016fb8
mov ecx, dword [ecx]
cmp ecx, 0x7f
ja 0x10016fb8
mov dword [ebx], ecx
add eax, 0x44
add ebx, 4
cmp eax, 0x550
jl 0x10016fa7
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8