Function at 0x10047d80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2a44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov eax, dword [0x10290050]
movss xmm0, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0x60]
push edi
push ecx
movss dword [esp], xmm0
call eax
mov ecx, dword [0x1028f850]
mov byte [ebp + 0xf], al
mov ecx, dword [ecx]
call fcn.1000ed90
mov ecx, dword [0x1028f850]
mov eax, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x18], eax
call fcn.1000ef10
sub esp, 8
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
add esp, 8
fstp dword [ebp - 0x14]
test edi, edi
je 0x10048f73
cmp dword [edi + 4], 0
je 0x10048f73
mov eax, dword [0x1028f800]
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x10], eax
call fcn.10043750
cmp byte [eax + 0x3a8], 0
je 0x10047e2b
and dword [edi + 0x30], 0xfffffffe
cmp byte [0x1028f950], 0
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x10047f0b
cmp byte [0x1028f990], 0
je 0x10047e58
push dword [0x1028f9ac]
call esi
test ax, ax
jne 0x10047f0b
mov eax, dword [0x1028f850]
cmp dword [eax], 0
je 0x10047f0b
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255fac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1028ff54]
cmp eax, dword [ecx + 4]
jle 0x10047ec8
push 0x1028ff54
call fcn.100eec77
add esp, 4
cmp dword [0x1028ff54], 0xffffffff
jne 0x10047ec8
mov dword [ebp - 4], 0
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000ed90
push 0x1028ff54
mov al, byte [eax]
and al, 1
mov dword [ebp - 4], 0xffffffff
mov byte [0x1028fed4], al
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000ed90
test byte [eax], 1
jne 0x10047ef6
mov eax, dword [0x1028f850]
mov eax, dword [eax]
cmp dword [eax + 0x25c], 9
je 0x10047ef6
cmp byte [0x1028fed4], 0
jne 0x10047ef6
and dword [edi + 0x30], 0xfffffffd
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000ed90
mov al, byte [eax]
and al, 1
mov byte [0x1028fed4], al
mov ecx, dword [0x1028f850]
mov ecx, dword [ecx]
call fcn.1000ef10
call fcn.10010790
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000ed90
push dword [0x1028f968]
mov eax, dword [eax]
mov dword [0x10256158], eax
call esi
test ax, ax
je 0x10047f44
mov ecx, edi
call fcn.100150b0
call fcn.1004bcd0
call fcn.1003bfd0
mov ecx, edi
call fcn.10026f40
mov ecx, edi
call fcn.10010410
mov ecx, edi
call fcn.10013f90
mov dword [ebp - 4], 1
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
test ecx, ecx
je 0x10047f8d
mov eax, dword [0x1029198c]
test eax, eax
je 0x10047f84
cmp byte [eax + 0x48], 0
je 0x10047f8d
call fcn.10043250
mov eax, dword [eax]
jmp 0x10047f93
mov eax, dword [0x10291990]
inc eax
mov ecx, edi
mov dword [0x10291990], eax
mov dword [0x1029198c], edi
mov dword [ebp - 4], 0xffffffff
call fcn.100154c0
mov eax, dword [0x1028f850]
cmp dword [eax], 0
je 0x10048024
cmp byte [0x1028f9e4], 0
je 0x10048024
test byte [0x10255fe4], 1
jne 0x10047fdb
mov eax, dword [0x1028c138]
mov eax, dword [eax + 0x1c]
add eax, dword [0x1028f9e8]
mov dword [0x10255fdc], eax
push dword [0x1028f9b0]
call esi
test ax, ax
je 0x10048024
test byte [0x10255fe4], 1
je 0x10048024
mov ecx, dword [0x1028c138]
mov eax, dword [0x10255fdc]
mov edx, dword [edi + 0x30]
movss xmm0, dword [ecx + 0x10]
addss xmm0, dword [0x1016a4d4]
movss dword [0x1028c640], xmm0
cmp eax, dword [ecx + 0x1c]
jl 0x1004801e
and edx, 0xfffffffd
jmp 0x10048021
or edx, 2
mov dword [edi + 0x30], edx
mov ecx, edi
call fcn.100120c0
mov ecx, dword [0x1028f850]
mov ecx, dword [ecx]
call fcn.1000ef10
mov eax, dword [0x10255fac]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + eax*4]
mov eax, dword [0x10291abc]
cmp eax, dword [ecx + 4]
jle 0x100480a5
push 0x10291abc
call fcn.100eec77
add esp, 4
cmp dword [0x10291abc], 0xffffffff
jne 0x100480a5
push 0xc4
mov dword [ebp - 4], 2
call fcn.100eeb68
add esp, 4
mov dword [ebp + 0xc], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10044230
push 0x10291abc
mov dword [0x102919f0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000ed90
cmp byte [0x1028f9ec], 0
movq xmm0, qword [edi + 0xc]
movq qword [ebp - 0x58], xmm0
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [0x1028c5a0]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x4c], eax
je 0x100480e1
or dword [edi + 0x30], 0x400000
mov ecx, edi
call fcn.100109e0
mov ecx, dword [0x102919f0]
push edi
call fcn.10044340
push edi
mov ecx, 0x10253f30
call fcn.1000ac60
mov ecx, edi
call fcn.1002bb70
mov ecx, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x14]
call fcn.10011760
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000a660
cmp byte [0x1028fa41], 0
mov eax, dword [eax]
je 0x100481b1
mov ecx, dword [0x1028c158]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
call fcn.1000a170
movzx eax, word [eax]
cmp ax, 0x2a
je 0x100481ab
cmp ax, 0x31
je 0x100481ab
cmp ax, 0x2c
je 0x100481ab
cmp ax, 0x2d
je 0x100481ab
cmp ax, 0x2b
je 0x100481ab
cmp ax, 0x2f
je 0x100481ab
cmp ax, 0x30
je 0x100481ab
cmp ax, 0x3b
je 0x100481ab
mov ecx, 0x1f4
cmp ax, cx
jl 0x1004818e
mov ecx, 0x20b
cmp ax, cx
jle 0x100481ab
test byte [edi + 0x30], 1
je 0x100481ab
mov ecx, dword [0x1028c140]
push 0
push str.slot11
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp byte [0x1028f9ed], 0
mov ecx, dword [0x1028c148]
push str._panorama_disable_blur
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
je 0x100481d3
call eax
push 0x101673fc
jmp 0x100481da
call eax
push 0x1016742c
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp byte [0x1028fa29], 0
mov ecx, dword [0x1028c148]
push str.cl_wpn_sway_scale
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
je 0x10048204
call eax
push 0x1016742c
jmp 0x1004820b
call eax
push 0x10167444
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp byte [0x1028fa56], 0
je 0x1004823e
cmp byte [0x1028f950], 0
je 0x1004823e
mov ecx, dword [0x1028c148]
push str.sv_autobunnyhopping
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x101673fc
jmp 0x10048255
mov ecx, dword [0x1028c148]
push str.sv_autobunnyhopping
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x1016742c
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [0x1028c138]
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [0x1028ff40]
jbe 0x10048277
mov byte [0x1028c5e4], 0
mov eax, dword [0x1028f850]
cmp dword [eax], 0
jne 0x1004828b
mov dword [0x1028ff40], 0
cmp byte [0x1028f991], 0
je 0x100482ff
push dword [0x1028f994]
call esi
test ax, ax
je 0x100482ff
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
test ecx, ecx
je 0x100482ff
mov eax, dword [ecx + 0x25c]
cmp eax, 9
je 0x100482ff
cmp eax, 8
je 0x100482ff
test byte [0x10255fe4], 1
je 0x100482ff
call fcn.1000ed90
test byte [eax], 1
jne 0x100482ff
mov ecx, dword [edi + 0x30]
mov eax, dword [0x1028c138]
or ecx, 2
mov dword [edi + 0x30], ecx
or ecx, 4
mov byte [0x1028c5e4], 1
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x1016a4d4]
mov dword [edi + 0x30], ecx
movss dword [0x1028ff40], xmm0
cmp byte [0x1028f97c], 0
je 0x100483cd
push dword [0x1028f980]
call esi
test ax, ax
je 0x100483cd
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000ed90
test byte [eax], 1
jne 0x100483cd
test byte [ebp + 0xc], 1
je 0x100483cd
or dword [edi + 0x30], 2
cmp byte [0x1028fa6f], 0
je 0x100483cd
cmp byte [0x1028fa6a], 0
je 0x1004836d
mov ecx, dword [0x1028c140]
push 0
push str._forward
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x1028fa5b], 0
je 0x1004838d
mov ecx, dword [0x1028c140]
push 0
push str._back
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x1028fa69], 0
je 0x100483ad
mov ecx, dword [0x1028c140]
push 0
push str._moveright
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
cmp byte [0x1028fa68], 0
je 0x100483cd
mov ecx, dword [0x1028c140]
push 0
push str._moveleft
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, edi
call fcn.100106b0
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
test ecx, ecx
je 0x10048526
call fcn.1000d4b0
cmp dword [eax], 0
jne 0x10048526
movss xmm0, dword [0x10255ff0]
xorps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10048526
cmp byte [0x1028f999], 0
je 0x10048526
movss xmm1, dword [0x10253ee0]
movss xmm0, dword [0x10253edc]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.100095a0
comiss xmm0, dword [0x1016ae44]
jb 0x10048526
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000ed90
test byte [eax], 1
je 0x10048526
mov ecx, dword [0x1028c148]
push str.sv_airaccelerate
mov eax, dword [ecx]
call dword [eax + 0x44]
movss xmm1, dword [0x10253ee0]
movss xmm0, dword [0x10253edc]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.100095a0
addss xmm0, dword [0x1016a58c]
movss xmm1, dword [0x10253edc]
mulss xmm1, dword [0x1016af10]
subss xmm0, dword [0x1016ae44]
divss xmm0, dword [0x1016a96c]
mulss xmm0, dword [0x1016adf8]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [0x10253ee0]
mulss xmm0, dword [0x1016af10]
call fcn.10009540
mulss xmm0, dword [0x1016ada4]
subss xmm0, dword [edi + 0x10]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x1016a548]
cvtsd2ss xmm0, xmm0
movss dword [ebp + 0xc], xmm0
call fcn.1000e9c0
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp + 0xc]
call fcn.1000e9e0
movss xmm1, dword [ebp - 0x18]
xorps xmm0, xmmword [0x1016b4c0]
mulss xmm1, dword [ebp - 0x14]
mulss xmm0, dword [ebp - 0x14]
movss dword [edi + 0x24], xmm1
movss dword [edi + 0x28], xmm0
mov ecx, edi
call fcn.10014f20
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
test ecx, ecx
je 0x10048616
call fcn.1000d4b0
cmp dword [eax], 0
jne 0x10048616
push dword [0x1028f980]
call esi
test ax, ax
je 0x1004856c
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
call fcn.1000ed90
test byte [eax], 1
jne 0x10048616
cmp byte [0x1028f97e], 0
je 0x10048616
push dword [0x1028f980]
call esi
test ax, ax
je 0x10048616
mov eax, dword [0x1028f850]
mov ecx, dword [0x1027721c]
push edi
mov eax, dword [eax]
mov esi, dword [eax + 0x25c]
call fcn.10044340
mov edx, dword [0x1028c138]
cmp esi, 9
jne 0x100485e5
mov eax, dword [0x1028f850]
mov eax, dword [eax]
cmp dword [eax + 0x25c], 9
je 0x100485e5
mov eax, dword [edi + 0x30]
mov ecx, dword [edx + 0x1c]
or eax, 2
and eax, 0xfffff9e7
mov dword [0x1028ff80], ecx
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], eax
jmp 0x100485eb
mov ecx, dword [0x1028ff80]
mov eax, dword [edx + 0x1c]
sub eax, ecx
cmp eax, 1
jle 0x10048616
cmp eax, 0xf
jge 0x10048616
mov eax, dword [edi + 0x30]
and eax, 0xfffff9e7
mov dword [edi + 0x24], 0
or eax, 4
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], eax
mov ecx, edi
call fcn.100115b0
cmp byte [0x1028f984], 0
je 0x10048681
push dword [0x1028f98c]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10048681
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.1000fbd0
mov eax, dword [0x10255498]
push dword [ebp - 0x4c]
push 0
mov eax, dword [eax]
call eax
movq xmm0, qword [ebp - 0x58]
sub esp, 0xc
mov eax, dword [ebp - 0x50]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [edi + 0xc]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [edi + 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.1000f410
add esp, 0x18
mov ecx, edi
call fcn.10015040
mov eax, dword [0x1028f850]
mov ecx, dword [eax]
test ecx, ecx
je 0x100486d0
call fcn.1000d4b0
cmp dword [eax], 0
jne 0x100486d0
cmp byte [0x1028fa35], 0
je 0x100486b7
call fcn.1004bc40
push dword [ebp - 0x10]
mov ecx, eax
call fcn.10033b30
jmp 0x100486d0
call fcn.1004bc40
cmp dword [eax + 0x10], 0
je 0x100486d0
mov ecx, eax
mov dword [eax + 0x14], 0
call fcn.10033c10
lea ecx, [edi + 0xc]
call fcn.10009fb0
movss xmm1, dword [edi + 0xc]
lea eax, [edi + 0xc]
movss xmm0, dword [0x1016af40]
lea ecx, [ebp + 0xc]
comiss xmm0, xmm1
lea edx, [edi + 0x10]
mov dword [ebp - 0x10], 0x42b40000
mov dword [ebp + 0xc], 0xc2b40000
movss xmm0, dword [0x1016af48]
cmovbe ecx, eax
lea eax, [ebp - 0x10]
comiss xmm1, dword [0x1016ae00]
cmovbe eax, ecx
lea ecx, [ebp + 0xc]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x10]
movss xmm1, dword [edx]
comiss xmm0, xmm1
mov dword [ebp - 0x10], 0x43340000
mov dword [ebp + 0xc], 0xc3340000
cmovbe ecx, edx
comiss xmm1, dword [0x1016ae20]
movss xmm1, dword [0x1016af50]
cmovbe eax, ecx
lea ecx, [ebp + 0xc]
mov eax, dword [eax]
mov dword [edx], eax
lea edx, [edi + 0x24]
mov dword [edi + 0x14], 0
lea eax, [ebp - 0x10]
movss xmm0, dword [edx]
comiss xmm1, xmm0
mov dword [ebp - 0x10], 0x43e10000
mov dword [ebp + 0xc], 0xc3e10000
cmovbe ecx, edx
comiss xmm0, dword [0x1016ae98]
cmovbe eax, ecx
lea ecx, [ebp + 0xc]
mov eax, dword [eax]
mov dword [edx], eax
lea edx, [edi + 0x28]
movss xmm0, dword [edx]
lea eax, [ebp - 0x10]
comiss xmm1, xmm0
mov dword [ebp - 0x10], 0x43e10000
mov dword [ebp + 0xc], 0xc3e10000
cmovbe ecx, edx
comiss xmm0, dword [0x1016ae98]
cmovbe eax, ecx
mov eax, dword [eax]
mov dword [edx], eax
cmp byte [0x1028f95c], 0
je 0x100487df
test dword [edi + 0x30], 0x10000
je 0x100487df
mov ecx, dword [0x1028c6a0]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x32
mov eax, dword [eax + 0x98]
call eax
cmp byte [0x1028f9b8], 0
mov esi, dword [0x10255fac]
mov edi, dword fs:[0x2c]
je 0x1004896e
mov eax, dword [0x1028f850]
mov ecx, dword [edi + esi*4]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [0x1028f7f8]
cmp eax, dword [ecx + 4]
jle 0x1004894a
push 0x1028f7f8
call fcn.100eec77
add esp, 4
cmp dword [0x1028f7f8], 0xffffffff
jne 0x1004894a
mov dword [ebp - 4], 4
call fcn.1000c3d0
mov cx, word [0x1016729c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov edx, eax
mov al, byte [0x1016729e]
movq xmm0, qword [str.m_bIsScoped]
mov dword [ebp - 0x20], 0xb
mov dword [ebp - 0x1c], 0xf
movq qword [ebp - 0x30], xmm0
mov word [ebp - 0x28], cx
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov ax, word [0x10106428]
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x40], ax
movq xmm0, qword [str.DT_CSPlayer]
mov al, byte [0x1010642a]
mov dword [ebp - 0x38], 0xb
mov dword [ebp - 0x34], 0xf
movq qword [ebp - 0x48], xmm0
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x48]
mov ecx, edx
push eax
call fcn.100969b0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
mov dword [0x1028f7fc], eax
cmp ecx, 0xf
jbe 0x100488fc
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100488f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048926
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10048936
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004892c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004892c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
add esp, 8
push 0x1028f7f8
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov eax, dword [0x1028f7fc]
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + eax], 0
jne 0x1004896e
mov ecx, dword [0x1028c148]
push str.weapon_debug_spread_show
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 3
jmp 0x10048982
mov ecx, dword [0x1028c148]
push str.weapon_debug_spread_show
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0
lea ecx, [eax + 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi + esi*4]
mov eax, dword [0x10291a70]
cmp eax, dword [esi + 4]
jle 0x100489e2
push 0x10291a70
call fcn.100eec77
add esp, 4
cmp dword [0x10291a70], 0xffffffff
jne 0x100489e2
mov dword [ebp - 4], 7
mov ecx, dword [0x1028c148]
push str.fog_enable
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x10291a70
mov dword [0x10291a98], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov ecx, dword [0x10291a98]
add ecx, 0x18
mov eax, dword [ecx]
mov edx, dword [eax + 4]
movzx eax, byte [0x1028f9ba]
push eax
call edx
mov eax, dword [0x10291a38]
cmp eax, dword [esi + 4]
jle 0x10048a4f
push 0x10291a38
call fcn.100eec77
add esp, 4
cmp dword [0x10291a38], 0xffffffff
jne 0x10048a4f
mov dword [ebp - 4], 8
mov ecx, dword [0x1028c148]
push str.fog_override
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x10291a38
mov dword [0x10291a4c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov ecx, dword [0x10291a4c]
add ecx, 0x18
mov eax, dword [ecx]
mov edx, dword [eax + 4]
movzx eax, byte [0x1028f9ba]
push eax
call edx
mov eax, dword [0x10291a50]
cmp eax, dword [esi + 4]
jle 0x10048abc
push 0x10291a50
call fcn.100eec77
add esp, 4
cmp dword [0x10291a50], 0xffffffff
jne 0x10048abc
mov dword [ebp - 4], 9
mov ecx, dword [0x1028c148]
push str.fog_color
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x10291a50
mov dword [0x10291aac], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov edi, dword [0x10291aac]
lea ecx, [ebp - 0xc4]
mov edx, dword [0x1028f9d4]
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
call fcn.10029750
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0xac]
mov edx, dword [0x1028f9d0]
call fcn.10029750
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
mov edx, dword [0x1028f9cc]
call fcn.10029750
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
mov esi, dword [ebp - 0x34]
mov eax, esi
mov edx, dword [ebp - 0x38]
sub eax, edx
cmp eax, 1
jb 0x10048b3b
cmp esi, 0xf
lea eax, [edx + 1]
mov dword [ebp - 0x38], eax
cmova ecx, dword [ebp - 0x48]
mov al, byte [0x10106690]
mov byte [ecx + edx], al
lea eax, [ebp - 0x48]
mov byte [ecx + edx + 1], 0
jmp 0x10048b50
push 1
push 0x10106690
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
push 1
call fcn.10029d30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x84], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.1002a050
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x1c]
mov eax, esi
mov edx, dword [ebp - 0x20]
sub eax, edx
cmp eax, 1
jb 0x10048bca
cmp esi, 0xf
lea eax, [edx + 1]
mov dword [ebp - 0x20], eax
cmova ecx, dword [ebp - 0x30]
mov al, byte [0x10106690]
mov byte [edx + ecx], al
lea eax, [ebp - 0x30]
mov byte [edx + ecx + 1], 0
jmp 0x10048bdf
push 1
push 0x10106690
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
push 1
call fcn.10029d30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x7c]
call fcn.1002a050
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0xf
lea ecx, [edi + 0x18]
cmova eax, dword [ebp - 0x7c]
push eax
call dword [ebp - 0x10]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x10048c69
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048c5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048def
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x10048cb3
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048ca9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048def
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10048ceb
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048ce1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048def
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x10048d38
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048d2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048def
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10048d70
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048d66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048def
push ecx
push edx
call fcn.100eebed
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x10048dbc
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048db2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048def
push ecx
push edx
call fcn.100eebed
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0xf
jbe 0x10048dff
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048df5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048df5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
add esp, 8
mov eax, dword [0x10255fac]
mov edx, dword fs:[0x2c]
mov esi, dword [edx + eax*4]
mov eax, dword [0x10291a28]
cmp eax, dword [esi + 4]
jle 0x10048e63
push 0x10291a28
call fcn.100eec77
add esp, 4
cmp dword [0x10291a28], 0xffffffff
jne 0x10048e63
mov dword [ebp - 4], 0x11
mov ecx, dword [0x1028c148]
push 0x101674c0
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x10291a28
mov dword [0x10291a8c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov ecx, dword [0x10291a8c]
movss xmm0, dword [0x1028f9c0]
add ecx, 0x18
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x10291ad0]
cmp eax, dword [esi + 4]
jle 0x10048ed4
push 0x10291ad0
call fcn.100eec77
add esp, 4
cmp dword [0x10291ad0], 0xffffffff
jne 0x10048ed4
mov dword [ebp - 4], 0x12
mov ecx, dword [0x1028c148]
push 0x101674b8
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x10291ad0
mov dword [0x102919cc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov ecx, dword [0x102919cc]
movss xmm0, dword [0x1028f9c4]
add ecx, 0x18
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x10291ae0]
cmp eax, dword [esi + 4]
jle 0x10048f45
push 0x10291ae0
call fcn.100eec77
add esp, 4
cmp dword [0x10291ae0], 0xffffffff
jne 0x10048f45
mov dword [ebp - 4], 0x13
mov ecx, dword [0x1028c148]
push str.fog_maxdensity
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x10291ae0
mov dword [0x10291a14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100eec26
add esp, 4
mov ecx, dword [0x10291a14]
movss xmm0, dword [0x1028f9c8]
add ecx, 0x18
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
call dword [eax + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [ebp + 0xf]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret