Function at 0x10035c70
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
lea eax, [esi + 0x70]
mov dword [esi + 0x74], 0x10036510
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x10]
movss dword [esi + 0x44], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx]
movss dword [esi + 0x40], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x14]
movss dword [esi + 0x4c], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 8]
movss dword [esi + 0x38], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x3c], eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x24]
movss dword [esi + 0x48], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mov eax, dword [edx + 4]
mov dword [esi + 0x34], eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm3, dword [ebp + 0xc]
movss dword [edx + 0x10], xmm3
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss dword [edx], xmm3
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x20]
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss dword [edx + 0x14], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x20]
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss dword [edx + 8], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movaps xmm1, xmm3
divss xmm1, dword [edx + 0x20]
mov dword [esi + 0x10], 0xf3ff2211
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0x15ed000d
mov eax, dword [esi + 0x10]
rol eax, 0xf
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mov dword [esi + 0x10], 0xa71e0065
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0xbaffe1a7
mov eax, dword [esi + 0x10]
rol eax, 7
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cvtsi2ss xmm2, eax
divss xmm0, xmm2
addss xmm0, xmm1
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
cvttss2si eax, xmm0
mov dword [edx + 4], eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movaps xmm1, xmm3
divss xmm1, dword [edx + 0x20]
mov dword [esi + 0x10], 0xf3ff2211
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0x15ed000d
mov eax, dword [esi + 0x10]
rol eax, 0xf
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mov dword [esi + 0x10], 0xa71e0065
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0xbaffe1a7
mov eax, dword [esi + 0x10]
rol eax, 7
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
divss xmm0, xmm2
addss xmm0, xmm1
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
cvttss2si eax, xmm0
mov dword [edx + 0x1c], eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mov dword [edx + 0x24], 0
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x90]
mov eax, dword [ecx + eax - 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [edx + ecx]
mov dword [esi + 0x24], eax
or eax, 8
mov edi, dword [ecx + 0xa28]
mov dword [esi + 0x28], edi
mov edi, dword [ecx + 0xa30]
mov dword [esi + 0x2c], edi
mov edi, dword [ecx + 0x68]
mov dword [esi + 0x30], edi
mov dword [edx + ecx], eax
mov eax, dword [0x1035678c]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0xa28], 0xfffffffd
mov eax, dword [0x1035678c]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [eax + 0xa30], 0
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x90]
mov ecx, dword [ecx]
mov dword [ecx + eax - 0x1c], 0
mov eax, dword [0x1035678c]
mov eax, dword [eax]
mov eax, dword [eax]
or dword [eax + 0x68], 2
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x88]
mov ecx, dword [ecx]
mov dword [eax + ecx], 0
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov ecx, dword [ecx]
xorps xmm0, xmm0
mov edx, dword [eax + 0x84]
movlps qword [edx + ecx + 8], xmm0
mov eax, dword [eax + 0x18]
mov dword [ecx + eax + 4], 0
mov eax, dword [0x1035678c]
mov eax, dword [eax + 0x88]
mov dword [eax + ecx], 0xff7fffff
cmp byte [0x103569ec], 1
jne 0x10036286
mov ecx, dword [0x103569e8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
mov dword [esi + 0x78], 0xffffffff
call eax
mov edi, eax
mov ecx, dword [0x103569e8]
mov eax, dword [ecx]
mov dword [esp], 0
call dword [eax + 0x40]
sub esp, 4
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mov ebx, dword [edx + 4]
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mov dword [edx + 4], 0xfffffc19
mov eax, dword [0x1035678c]
mov byte [eax + 0x2d1], 1
mov eax, dword [eax]
mov eax, dword [eax]
cmp dword [ebp + 0x10], 0xffffffff
mov ecx, 0x7ff00
mov edx, 0x100
cmove edx, ecx
lea ecx, [eax + 4]
mov eax, dword [eax + 4]
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 4], 0x100
call dword [eax + 0x34]
sub esp, 0x10
mov eax, dword [0x1035678c]
mov byte [eax + 0x2d1], 0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mov dword [edx + 4], ebx
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x90]
mov ecx, dword [ecx]
mov edx, dword [esi + 0x20]
mov dword [ecx + eax - 0x1c], edx
mov ecx, dword [0x103569e8]
mov eax, dword [ecx]
mov dword [esp], edi
call dword [eax + 0x40]
sub esp, 4
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ecx]
mov edx, dword [esi + 0x24]
mov dword [eax + ecx], edx
mov eax, dword [0x1035678c]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [esi + 0x28]
mov dword [eax + 0xa28], ecx
mov eax, dword [0x1035678c]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0xa30], ecx
mov eax, dword [0x1035678c]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x68], ecx
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [esi + 0x44]
movss dword [edx + 0x10], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [esi + 0x40]
movss dword [edx], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [esi + 0x38]
movss dword [edx + 8], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [esi + 0x4c]
movss dword [edx + 0x14], xmm0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mov eax, dword [esi + 0x3c]
mov dword [edx + 0x1c], eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mov eax, dword [esi + 0x34]
mov dword [edx + 4], eax
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [esi + 0x48]
movss dword [edx + 0x24], xmm0
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov byte [0x103569ec], 1
mov ecx, dword [0x1035684c]
mov eax, 0x364d1d
mov edx, 0xd63f864f
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], eax
mov eax, 0xbf1f1133
mov edx, 0x764fe24
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], eax
mov eax, 0x695c126f
mov edx, 0xb353e128
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov eax, 0xd170736c
mov edx, 0x7648d41
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
lea eax, [esi + 0x10]
xor edx, edx
movaps xmm0, xmmword [esi + 0x50]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x50], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x78], 0
lea edx, [esi + 0x50]
mov dword [esp], edx
call eax
sub esp, 4
mov ecx, eax
mov dword [0x103569e8], eax
jmp 0x1003605c