Function at 0x1003b000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031642d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1040e140]
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 ecx, dword [ebp + 8]
mov dword [esi + 0x3bc], ecx
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx + 8]
mov dword [esi + 0x3c0], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x3cc], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x3d0], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x3d4], eax
mov eax, dword [ecx + 0x30]
test eax, 0x79a
mov dword [esi + 0x3c4], eax
setne al
cmp byte [esi + 0x33c], 0
mov byte [esi + 0x3fc], al
je 0x1003b0b1
mov eax, dword [esi + 0x35c]
test eax, eax
jle 0x1003b0b1
cmp byte [esi + 0x360], 0
jne 0x1003b0b1
add eax, 0xffffffff
mov dword [esi + 0x35c], eax
jne 0x1003b0a1
mov byte [esi + 0x360], 1
mov dword [ecx + 8], 0x7fffffff
mov eax, dword [esi + 0x394]
mov byte [eax], 1
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0xd
movups xmmword [ecx], xmm0
push str.on_createmove
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10029750
lea eax, [ebp - 0x30]
push eax
call fcn.101f28a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
cmp edi, eax
je 0x1003b16a
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [edi + 4]
push eax
call fcn.1003ab70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push dword [esi + 0x394]
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1003f180
lea ecx, [ebp - 0x50]
call fcn.10039b00
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003b144
mov eax, dword [ebp - 0x14]
cmp eax, 0xfffffffe
je 0x1003b144
push eax
push 0xfff0b9d8
push ecx
call fcn.102c1cc0
add esp, 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1003b162
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xfffffffe
je 0x1003b162
push ecx
push 0xfff0b9d8
push eax
call fcn.102c1cc0
add esp, 0xc
add edi, 0x14
cmp edi, dword [ebp - 0x38]
jne 0x1003b0f3
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.1003e540
mov ecx, dword [0x105b2978]
mov eax, dword [esi + 0x338]
add ecx, 0xffffffcf
xor ecx, 0xbacf7ff2
mov eax, dword [ecx + eax]
and eax, 1
add eax, 0xf
mov dword [esi + 0x388], eax
mov eax, dword [0x105b27a0]
mov eax, dword [eax + 0x4cb0]
mov dword [esi + 0x38c], eax
mov ecx, dword [0x105b2800]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x38], eax
call dword [ebp - 0x38]
mov ecx, dword [0x105b2804]
fstp dword [ebp - 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x38], eax
call dword [ebp - 0x38]
fdivr dword [ebp - 0x34]
mov ecx, dword [0x105b27fc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x38], eax
fstp dword [ebp - 0x34]
call dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x34]
fstp dword [ebp - 0x38]
maxss xmm0, dword [ebp - 0x38]
push 0
movss dword [esi + 0x3a0], xmm0
mov ecx, dword [0x105b2798]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x38], eax
call dword [ebp - 0x38]
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
lea ecx, [esi + 0x3a4]
comiss xmm0, dword [0x103e3880]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x3f800000
movss dword [ecx], xmm0
cmovbe eax, ecx
movss xmm0, dword [eax]
maxss xmm0, dword [0x103e3764]
movss dword [ecx], xmm0
mov eax, dword [0x105b278c]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x103e382c]
cvttss2si ecx, xmm0
mov dword [esi + 0x3a8], ecx
mov eax, dword [0x105b27a0]
mov eax, dword [eax + 0x16c]
mov dword [esi + 0x3ac], eax
add eax, ecx
mov dword [esi + 0x3b0], eax
mov ecx, dword [0x105b2730]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x105b2734]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [esi + 0x338], eax
test eax, eax
je 0x1003b39c
mov ecx, dword [0x105b2974]
add ecx, 0xffffffd0
xor ecx, 0xbacf7ff1
cmp dword [ecx + eax], 0
jne 0x1003b39c
mov byte [esi + 0x33c], 1
mov edi, dword [0x105b27a0]
cmp dword [edi + 0x174], 0
setg byte [ebp - 0x38]
cmp dword [0x1059bacc], 4
jne 0x1003b309
mov edx, dword [edi + 0x4cb0]
add edx, dword [edi + 0x4cac]
mov ecx, dword [0x105b2748]
push edx
push dword [edi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x38]
push dword [edi + 0x174]
mov eax, dword [eax + 0xc]
call eax
mov eax, dword [0x1059bb04]
test eax, eax
je 0x1003b31c
mov eax, dword [eax + 4]
dec eax
push eax
call fcn.1024e920
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str.fastduck
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.10029750
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x105b37ec
call fcn.10026800
lea ecx, [ebp - 0x54]
mov al, byte [eax]
mov byte [ebp - 0x39], al
call fcn.10027fc0
cmp byte [ebp - 0x39], 0
je 0x1003b375
mov eax, dword [esi + 0x3bc]
or dword [eax + 0x30], 0x400000
mov ecx, dword [0x105b2978]
mov eax, dword [esi + 0x338]
add ecx, 0xffffffcf
xor ecx, 0xbacf7ff2
mov eax, dword [ecx + eax]
mov dword [esi + 0x340], eax
mov byte [esi + 0x351], 0
jmp 0x1003b3a3
mov byte [esi + 0x33c], 0
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.102e0890
mov esp, ebp
pop ebp
ret 4