Function at 0x418e70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x492686
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [esp + 0x148]
fldz
mov dword [esi + 8], edx
fst dword [esp + 0xc]
mov dword [esi], ecx
fst dword [esp + 0x10]
mov dword [esi + 4], eax
fst dword [esp + 0x14]
movzx edx, byte [eax + 0x361]
fst dword [esp + 0x18]
mov byte [esi + 0x15], dl
fst dword [esp + 0x1c]
mov dl, 1
fstp dword [esp + 0x20]
fld dword [eax + 0x380]
mov byte [esp + 0x25], dl
mov byte [esp + 0x28], dl
fstp dword [esp + 0x30]
mov edx, dword [eax + 0x370]
fld dword [0x499b88]
mov dword [esp], edx
fst dword [esp + 4]
movzx edx, byte [eax + 0x362]
fstp dword [esp + 8]
push ebx
xor ebx, ebx
mov byte [esp + 0x2b], dl
movzx edx, byte [eax + 0x363]
mov eax, dword [ecx + 0x24c0]
push ebp
push edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x30], bl
mov ebx, dword [eax + 0x10]
lea edi, [esp + 0xc]
mov byte [esp + 0x32], dl
call fcn.00449fd0
xor edx, edx
cmp eax, edx
mov dword [esi + 0xc], eax
je 0x41912e
fld dword [0x499a00]
mov dword [esp + 0xc], edx
fstp dword [esp + 0x6c]
mov dword [esp + 0x10], edx
fldz
mov byte [esp + 0x20], dl
fst dword [esp + 0x70]
mov dword [esp + 0x64], vtable.b2PolygonShape.0
fst dword [esp + 0x74]
mov dword [esp + 0x68], 2
mov dword [esp + 0xf8], edx
mov dword [esp + 0x14c], edx
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
mov dword [esp + 0x40], vtable.b2CircleShape.0
fstp dword [esp + 0x50]
mov dword [esp + 0x44], edx
mov byte [esp + 0x14c], 1
mov eax, dword [esi + 4]
movzx ecx, word [eax + 0x364]
fld dword [eax + 0x374]
mov word [esp + 0x26], cx
fstp dword [esp + 0x1c]
movzx ecx, word [eax + 0x368]
fld dword [eax + 0x378]
fstp dword [esp + 0x14]
fld dword [eax + 0x37c]
mov word [esp + 0x24], cx
fstp dword [esp + 0x18]
movzx ecx, word [eax + 0x36c]
xor ebx, ebx
cmp dword [eax + 0x384], edx
mov word [esp + 0x22], cx
jle 0x41912a
fld dword [0x499a14]
xor ebp, ebp
fld dword [0x499ad0]
fld dword [0x499b84]
jmp 0x419008
fld dword [0x499b84]
xor edx, edx
fld dword [0x499ad0]
fld dword [0x499a14]
fxch st(2)
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x38c]
mov eax, dword [ecx + ebp]
add ecx, ebp
sub eax, edx
je 0x4190ba
sub eax, 1
fstp st(0)
je 0x419095
sub eax, 1
jne 0x419100
fild dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
cmp eax, edx
fmulp st(2)
fild dword [ecx + 4]
fmul st(1)
fstp dword [esp + 0x5c]
fild dword [ecx + 8]
fmul st(1)
fstp dword [esp + 0x60]
jle 0x419071
add ecx, 0x34
fild dword [ecx - 0x20]
add edx, 1
add ecx, 4
cmp edx, eax
fmul st(1)
fstp dword [esp + edx*8 + 0xf4]
fild dword [ecx - 4]
fmul st(1)
fstp dword [esp + edx*8 + 0xf8]
jl 0x41904f
push ecx
fstp st(0)
fstp dword [esp]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x104]
push edx
lea edi, [esp + 0x70]
call fcn.0044be70
mov eax, edi
mov dword [esp + 0xc], eax
jmp 0x419104
fstp st(1)
fild dword [ecx + 0x14]
fmul st(1)
fstp dword [esp + 0x48]
fild dword [ecx + 4]
fmul st(1)
fstp dword [esp + 0x4c]
fimul dword [ecx + 8]
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x50]
jmp 0x419104
fild dword [ecx + 4]
sub esp, 0xc
lea eax, [esp + 0x60]
lea edi, [esp + 0x70]
fmul st(2)
fstp dword [esp + 0x60]
fild dword [ecx + 8]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x64]
fild dword [ecx + 0xc]
fmulp st(2)
fxch st(1)
fstp dword [esp + 8]
fild dword [ecx + 0x34]
fmul st(1)
fstp dword [esp + 4]
fimul dword [ecx + 0x14]
fstp dword [esp]
call fcn.0044bac0
mov edx, edi
mov dword [esp + 0xc], edx
jmp 0x419104
fstp st(0)
fstp st(0)
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.0044c9b0
mov dword [esi + 0x10], eax
mov edx, dword [esi + 4]
add ebx, 1
add ebp, 0x54
cmp ebx, dword [edx + 0x384]
jl 0x418ff2
mov byte [esi + 0x14], 1
mov ecx, dword [esp + 0x144]
pop edi
pop ebp
mov eax, esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x144
ret 4