Function at 0x10106b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a2f30
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101e5f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
lea esi, [ecx + 0x14]
mov dword [ebp - 0x3c], ecx
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
push 8
mov dword [ebp - 0x28], eax
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.101357b7
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
push 0x800
mov dword [ebp - 4], 0
call fcn.10135816
mov edx, dword [ebp - 0x2c]
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x10106db3
xorps xmm0, xmm0
xor edi, edi
xor esi, esi
cmp byte [0x101e55b8], 0
movups xmmword [ebp - 0x20], xmm0
jne 0x10106d66
call fcn.100f7480
mov dword [ebp + edi*4 - 0x20], eax
inc edi
cmp eax, 0xffffffff
jne 0x10106c6f
mov ecx, 0x101e5817
mov edx, 0x101e55ec
jmp 0x10106cf5
cmp eax, 0xef
jg 0x10106cbc
je 0x10106cb0
mov ecx, eax
sub ecx, 0
je 0x10106ca4
sub ecx, 0xbb
je 0x10106c98
sub ecx, 4
jne 0x10106ccb
mov ecx, 0x101e5812
mov edx, 0x101e55d8
jmp 0x10106cf5
mov ecx, 0x101e5811
mov edx, 0x101e55d4
jmp 0x10106cf5
mov ecx, 0x101e5810
mov edx, 0x101e55d0
jmp 0x10106cf5
mov ecx, 0x101e5813
mov edx, 0x101e55dc
jmp 0x10106cf5
mov ecx, eax
sub ecx, 0xfe
je 0x10106ceb
sub ecx, 1
je 0x10106cdf
dec eax
cmp eax, 0xfd
ja 0x10106c60
mov ecx, 0x101e5816
mov edx, 0x101e55e8
jmp 0x10106cf5
mov ecx, 0x101e5815
mov edx, 0x101e55e4
jmp 0x10106cf5
mov ecx, 0x101e5814
mov edx, 0x101e55e0
mov eax, esi
movsx esi, byte [ecx + esi*8]
shl eax, 5
mov eax, dword [eax + edx]
mov dword [ebp - 0x30], eax
test esi, esi
jle 0x10106d50
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, 4
cmp dword [ecx + edx + 0x38], 0
cmovne eax, dword [ebp - 0x34]
mov dword [ecx + edx + 0xc], eax
test dword [ecx + edx + 0x10], eax
jne 0x10106dd2
mov eax, dword [ebp + edi*4 - 0x24]
dec edi
cmp eax, 0xffffffff
je 0x10106d48
push eax
mov ecx, edx
call fcn.10107d60
mov edx, dword [ebp - 0x28]
dec esi
test esi, esi
jg 0x10106d33
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x101e55b8], 0
mov esi, eax
jne 0x10106d63
mov ecx, dword [ebp - 0x28]
jmp 0x10106c51
mov edx, dword [ebp - 0x2c]
lea eax, [esi - 4]
cmp eax, 0xd
ja case.0x10106d75.6
movzx eax, byte [eax + 0x10106e14]
jmp dword [eax*4 + 0x10106dfc]
mov dword [edx + 0x10], 1
jmp 0x10106da7
mov dword [edx + 0x10], 2
jmp 0x10106da7
mov dword [edx + 0x10], 3
jmp 0x10106da7
mov dword [edx + 0x10], 4
jmp 0x10106da7
mov dword [edx + 0x10], 0
push 0
mov ecx, edx
call fcn.100fe1c0
mov edx, dword [ebp - 0x2c]
mov eax, edx
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.10135b8b
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x38]
push 1
push eax
call fcn.100949f0
add esp, 8
lea ecx, [ebp - 0x24]
push eax
push str.ios_base::badbit_set
call fcn.10095d50
push 0x101e34c8
lea eax, [ebp - 0x24]
push eax
call fcn.10137861
xchg edi, eax
insd dword es:[edi], dx
adc byte [eax], dl
test dword [ebp + 0x10], ebp
adc byte [ebp + ebp*2 + 16], bh
adc byte [esi - 0x5fefef93], cl
insd dword es:[edi], dx
adc byte [eax], dl
mov al, byte [0x10106d]
add dword [33883397], eax
add eax, dword [84215045]
add al, 204
int3