Function at 0x1001f390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cbad
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1023eaa4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov ecx, dword [0x1030fa10]
mov edi, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1030fa14]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
test eax, eax
je 0x1001f679
mov ecx, dword [0x1030fb68]
cmp dword [ecx + eax], 0
jle 0x1001f679
test edi, edi
je 0x1001f679
mov ecx, dword [ebp - 0x2c]
mov eax, 0x7e07e07f
mov esi, dword [esi + 0xff00]
mov ecx, dword [ecx + 0xff04]
sub ecx, esi
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001f679
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
mov cl, byte [eax]
test cl, cl
je 0x1001f679
movsx ecx, cl
inc eax
xor ecx, 0x50c5d1f
push ecx
push eax
call fcn.1001b130
add esp, 8
cmp eax, 0x3fa9cbfe
je 0x1001f546
cmp eax, 0xdcae324c
je 0x1001f469
cmp eax, 0xe9c223ee
jne 0x1001f679
mov eax, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x14], 0xf
mov edx, dword [eax + 0x18]
mov eax, dword [str.userid]
mov dword [ebp - 0x28], eax
mov ax, word [0x10118cb4]
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call edx
mov ecx, dword [0x1030fa10]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x1030fa10]
mov edi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1001f508
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f4fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f696
push ecx
push edx
call fcn.1005c67b
mov eax, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edi, eax
jne 0x1001f679
cmp byte [esi + 0x408], 0
jne 0x1001f679
mov byte [esi + 0x408], 1
call fcn.1003be30
fstp dword [esi + 0x404]
jmp 0x1001f679
mov eax, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xf
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x28], 0x61747461
mov dword [ebp - 0x24], 0x72656b63
mov byte [ebp - 0x20], 0
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
mov ecx, edi
call eax
mov ecx, dword [0x1030fa10]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x1030fa10]
mov dword [ebp - 0x30], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1001f5e2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f5d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f69b
push ecx
push edx
call fcn.1005c67b
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x30], eax
jne 0x1001f679
cmp byte [esi + 0x408], 0
jne 0x1001f606
mov byte [esi + 0x408], 1
call fcn.1003be30
fstp dword [esi + 0x404]
mov eax, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xf
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x28], 0x67746968
mov dword [ebp - 0x24], 0x70756f72
mov byte [ebp - 0x20], 0
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
push ecx
mov ecx, edi
call eax
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x40c], eax
cmp ecx, 0x10
jb 0x1001f679
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f66f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f6a0
push ecx
push edx
call fcn.1005c67b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c76e
mov esp, ebp
pop ebp
ret 4
call fcn.100684ff
call fcn.100684ff
call fcn.100684ff
int3