Function at 0x10043180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b3ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x1007d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1014b65c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x10043dc2
call fcn.10003280
test al, al
je 0x10043dc2
mov ecx, dword [0x1014b65c]
cmp dword [ecx + 0x78], 0
je 0x10043dc2
mov eax, dword [0x1014b680]
cmp byte [eax + 0x52], 0
je 0x10043dc2
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x10043dc2
mov byte [ebp - 0xb4], al
lea edx, [ebp - 0x30]
mov eax, dword [0x1014b65c]
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movups xmmword [ebp - 0xd4], xmm0
push edx
movups xmmword [ebp - 0xc4], xmm0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
mov eax, dword [0x1014b65c]
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push dword [eax + 0x78]
push dword [eax + 0x74]
call fcn.10040490
test al, al
je 0x10043dc2
mov eax, dword [0x1014b680]
mov edi, dword [0x1014a028]
cmp dword [eax + 0x64], 0
jle 0x10043535
mov eax, dword [0x1014b65c]
mov ecx, dword [eax + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 1
jne 0x10043535
mov esi, dword fs:[0x2c]
mov eax, dword [0x1014b65c]
mov esi, dword [esi + edi*4]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x13c], eax
mov eax, dword [0x1014a080]
cmp eax, dword [esi + 4]
jle 0x10043315
push 0x1014a080
call fcn.10065d80
add esp, 4
cmp dword [0x1014a080], 0xffffffff
jne 0x10043315
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 0
call fcn.10061920
push 0x1014a080
mov dword [0x1014a078], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10065d2f
add esp, 4
mov eax, dword [0x1014a078]
mov ecx, dword [ebp - 0x13c]
cmp dword [ecx + eax], 4
jne 0x10043535
mov eax, dword [0x1014b680]
mov ecx, dword [0x1014a0b8]
movd xmm0, dword [eax + 0x64]
cvtdq2ps xmm0, xmm0
mov eax, dword [0x1014b65c]
mov eax, dword [eax + 0x78]
divss xmm0, dword [0x10074bc8]
mov dword [ebp - 0x13c], eax
movss dword [ebp - 0x140], xmm0
cmp ecx, dword [esi + 4]
jle 0x100433b0
push 0x1014a0b8
call fcn.10065d80
mov ecx, dword [0x1014a0b8]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100433b0
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 1
call fcn.10061920
push 0x1014a0b8
mov dword [0x1014a048], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10065d2f
mov ecx, dword [0x1014a0b8]
add esp, 4
mov eax, dword [0x1014a048]
mov edx, dword [ebp - 0x13c]
cmp dword [eax + edx], 0x47e
jne 0x100433e1
mov eax, dword [0x1014b680]
movd xmm0, dword [eax + 0x64]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x10074c04]
movss dword [ebp - 0x140], xmm0
mov eax, dword [0x1014b65c]
movss xmm0, dword [0x10074bb0]
movss dword [ebp - 0x144], xmm0
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x13c], eax
cmp ecx, dword [esi + 4]
jle 0x1004344c
push 0x1014a0b8
call fcn.10065d80
add esp, 4
cmp dword [0x1014a0b8], 0xffffffff
jne 0x1004344c
push str.m_iItemDefinitionIndex
push str.CEconEntity
mov dword [ebp - 4], 2
call fcn.10061920
push 0x1014a0b8
mov dword [0x1014a048], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10065d2f
add esp, 4
mov eax, dword [0x1014a048]
mov ecx, dword [ebp - 0x13c]
cmp dword [eax + ecx], 0x47e
jne 0x10043470
movss xmm0, dword [0x10074b94]
movss dword [ebp - 0x144], xmm0
mov edx, dword [0x1014b65c]
sub esp, 8
movss xmm0, dword [0x10074b90]
mov edx, dword [edx + 0x78]
call fcn.1003fba0
mov eax, dword [0x1014b65c]
movaps xmm1, xmm0
movss xmm2, dword [ebp - 0x144]
add esp, 8
movss xmm0, dword [ebp - 0x140]
mov eax, dword [eax + 0x2c]
mulss xmm2, dword [eax + 0x1c]
subss xmm0, xmm2
xorps xmm2, xmm2
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x100434d5
comiss xmm0, xmm1
jb 0x100434cb
movss xmm0, dword [0x10074c90]
jmp 0x1004352d
movss xmm0, dword [0x10074c74]
jmp 0x1004352d
subss xmm0, xmm2
mov dword [ebp - 0x144], 0x3f800000
subss xmm1, xmm2
mov dword [ebp - 0x13c], 0
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x13c]
divss xmm0, xmm1
comiss xmm2, xmm0
movss dword [ebp - 0x24], xmm0
cmovbe ecx, eax
lea eax, [ebp - 0x144]
comiss xmm0, dword [0x10074b34]
cmovbe eax, ecx
movss xmm0, dword [eax]
mulss xmm0, dword [0x10074c84]
addss xmm0, dword [0x10074c74]
movss dword [ebp - 0xbc], xmm0
lea eax, [ebp - 0xd8]
push eax
call fcn.1003fda0
test al, al
je 0x10043dc2
mov esi, dword [0x1014b65c]
movss xmm0, dword [0x10074ba4]
mov dword [ebp - 0x13c], 0
mov eax, dword [esi + 0x2c]
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x10074b28]
cvttss2si eax, xmm0
test eax, eax
jle 0x10043dc2
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x144], eax
nop dword [eax]
mov ecx, dword [0x1014a2e0]
test ecx, ecx
jne 0x100435a5
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
jmp 0x100435e4
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push 0
push edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call dword [eax + 0xbc]
movq xmm0, qword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
mov esi, dword [0x1014b65c]
mov ecx, dword [0x1014a2e0]
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], eax
mov edi, dword [0x1014a2e4]
test edi, edi
je 0x1004360e
mov eax, dword [edi]
push ecx
mov ecx, edi
mov edx, dword [eax + 0x88]
mov eax, dword [esi + 0x2c]
movss xmm0, dword [eax + 0x1c]
movss dword [esp], xmm0
call edx
mov ecx, dword [0x1014a2e0]
test ecx, ecx
jne 0x1004361d
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
jmp 0x10043650
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push 0
push edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call dword [eax + 0xbc]
movq xmm0, qword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x144]
mov eax, dword [0x1014b75c]
cmp eax, dword [edi + 4]
jle 0x1004379b
push 0x1014b75c
call fcn.10065d80
add esp, 4
cmp dword [0x1014b75c], 0xffffffff
jne 0x1004379b
push str.engine.dll
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10043779
mov ecx, dword [eax + 0x3c]
xorps xmm0, xmm0
add ecx, eax
push ecx
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x20]
push eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.100452c0
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov esi, dword [ebp - 0x20]
sub edi, esi
sar edi, 2
sub dword [ebp - 0x148], edi
mov dword [ebp - 0x140], eax
je 0x10043729
xor ecx, ecx
test edi, edi
je 0x10043974
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x14c], eax
movzx eax, byte [eax + ecx]
mov edx, dword [esi + ecx*4]
cmp eax, edx
je 0x10043703
cmp edx, 0xffffffff
jne 0x10043714
inc ecx
cmp ecx, edi
jae 0x1004396e
mov eax, dword [ebp - 0x14c]
jmp 0x100436f3
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
cmp eax, dword [ebp - 0x148]
jb 0x100436e0
test esi, esi
je 0x10043779
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1004375a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043b25
push ecx
push esi
call fcn.10066248
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
xor edi, edi
push 0x1014b75c
mov dword [0x1014b780], edi
mov dword [ebp - 4], 0xffffffff
call fcn.10065d2f
mov edi, dword [ebp - 0x144]
add esp, 4
push 0
mov dword [ebp - 0x150], 0xafebebeb
lea eax, [ebp - 0x3c]
push dword [ebp - 0x150]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [0x1014b780]
movss xmm2, dword [ebp - 0x3c]
xorps xmm0, xmm0
movss xmm3, dword [ebp - 0x54]
add esp, 0x10
movss xmm1, dword [ebp - 0x38]
subss xmm2, xmm3
movss xmm4, dword [ebp - 0x50]
movss xmm5, dword [ebp - 0x4c]
subss xmm1, xmm4
movaps xmmword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, xmm5
movss dword [ebp - 0xa0], xmm2
mulss xmm2, xmm2
mov byte [ebp - 0x6f], 1
movss dword [ebp - 0x9c], xmm1
mulss xmm1, xmm1
movss dword [ebp - 0x98], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x1004382f
mov byte [ebp - 0x6f], 0
mov ecx, dword [0x1014b65c]
addss xmm3, xmm0
addss xmm4, xmm0
mov dword [ebp - 0x80], 0x40900000
addss xmm5, xmm0
mov dword [ebp - 0x7c], 0x40900000
mov dword [ebp - 0x78], 0x40900000
lea edx, [ebp - 0x130]
mov byte [ebp - 0x70], 0
movss dword [ebp - 0xb0], xmm3
movss dword [ebp - 0xac], xmm4
movss dword [ebp - 0xa8], xmm5
mov dword [ebp - 0x90], 0x80000000
mov dword [ebp - 0x8c], 0x80000000
mov dword [ebp - 0x88], 0x80000000
mov dword [ebp - method.c_trace_filter_hitscan.virtual_0], vtable.c_trace_filter_hitscan.0
mov eax, dword [ecx + 0x74]
mov dword [ebp - 0x134], eax
xor eax, eax
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
movups xmmword [ebp - 0x104], xmm0
push edx
movups xmmword [ebp - 0xf4], xmm0
lea edx, [ebp - 0x138]
movq qword [ebp - 0xe4], xmm0
mov ecx, dword [ecx + 0x18]
push edx
push 0x46004003
lea edx, [ebp - 0xb0]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [0x10074b34]
comiss xmm0, dword [ebp - 0x104]
ja 0x100439d2
cmp byte [ebp - 0xfa], 0
jne 0x100439d2
cmp byte [ebp - 0xf9], 0
jne 0x100439d2
mov esi, dword [0x1014b65c]
movss xmm0, dword [0x10074ba4]
mov edx, dword [ebp - 0x13c]
inc edx
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x13c], edx
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x10074b28]
cvttss2si eax, xmm0
cmp edx, eax
jl 0x10043590
jmp 0x10043dc2
mov eax, dword [ebp - 0x140]
mov edi, dword [ebp - 0x24]
add edi, eax
test esi, esi
je 0x1004377b
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x100439ae
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043b25
push ecx
push esi
call fcn.10066248
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x1004377b
mov eax, dword [0x1014b65c]
lea edx, [ebp - 0x60]
movss xmm0, dword [ebp - 0x3c]
lea ecx, [ebp - 0x118]
movss dword [eax + 0x264], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [eax + 0x268], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x26c], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.10031a10
mov eax, dword [0x1014b784]
cmp eax, dword [edi + 4]
jle 0x10043b9e
push 0x1014b784
call fcn.10065d80
add esp, 4
cmp dword [0x1014b784], 0xffffffff
jne 0x10043b9e
push str.engine.dll
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x10043b7c
mov ecx, dword [eax + 0x3c]
xorps xmm0, xmm0
add ecx, eax
push ecx
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x20]
push eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.100453d0
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov esi, dword [ebp - 0x20]
sub edi, esi
sar edi, 2
sub dword [ebp - 0x140], edi
mov dword [ebp - 0x148], eax
je 0x10043af4
nop
xor ecx, ecx
test edi, edi
je 0x10043b31
add eax, dword [ebp - 0x13c]
mov dword [ebp - 0x14c], eax
movzx eax, byte [eax + ecx]
mov edx, dword [esi + ecx*4]
cmp eax, edx
je 0x10043ad2
cmp edx, 0xffffffff
jne 0x10043adf
inc ecx
cmp ecx, edi
jae 0x10043b2b
mov eax, dword [ebp - 0x14c]
jmp 0x10043ac2
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
cmp eax, dword [ebp - 0x140]
jb 0x10043ab0
test esi, esi
je 0x10043b7c
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x10043b72
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10043b72
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x148]
mov edi, dword [ebp - 0x13c]
add edi, eax
test esi, esi
je 0x10043b7e
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x10043b66
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043b25
push ecx
push esi
call fcn.10066248
add esp, 8
jmp 0x10043b7e
push ecx
push esi
call fcn.10066248
add esp, 8
xor edi, edi
push 0x1014b784
mov dword [0x1014b764], edi
mov dword [ebp - 4], 0xffffffff
call fcn.10065d2f
mov edi, dword [ebp - 0x144]
add esp, 4
push 0
push 0
push 0xc82323c3
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x3f800000
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], 0x40900000
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x28], 0x40900000
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x48], 0xbf800000
push eax
mov dword [ebp - 0x44], 0xc0900000
mov dword [ebp - 0x40], 0xc0900000
call dword [0x1014b764]
mov eax, dword [0x1014b768]
add esp, 0x1c
cmp eax, dword [edi + 4]
jle 0x10043d6c
push 0x1014b768
call fcn.10065d80
add esp, 4
cmp dword [0x1014b768], 0xffffffff
jne 0x10043d6c
push str.engine.dll
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x10043d50
mov ecx, dword [eax + 0x3c]
xorps xmm0, xmm0
add ecx, eax
push ecx
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x20]
push eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.100454e0
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov esi, dword [ebp - 0x20]
sub edi, esi
sar edi, 2
sub dword [ebp - 0x144], edi
mov dword [ebp - 0x140], eax
je 0x10043cc8
nop word [eax + eax]
xor ecx, ecx
test edi, edi
je 0x10043d05
add eax, dword [ebp - 0x13c]
mov dword [ebp - 0x14c], eax
movzx eax, byte [eax + ecx]
mov edx, dword [esi + ecx*4]
cmp eax, edx
je 0x10043ca6
cmp edx, 0xffffffff
jne 0x10043cb3
inc ecx
cmp ecx, edi
jae 0x10043cff
mov eax, dword [ebp - 0x14c]
jmp 0x10043c96
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
cmp eax, dword [ebp - 0x144]
jb 0x10043c80
test esi, esi
je 0x10043d50
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x10043d46
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10043d46
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x140]
mov edi, dword [ebp - 0x13c]
add edi, eax
test esi, esi
je 0x10043d52
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x10043d3a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043cf9
push ecx
push esi
call fcn.10066248
add esp, 8
jmp 0x10043d52
push ecx
push esi
call fcn.10066248
add esp, 8
xor edi, edi
push 0x1014b768
mov dword [0x1014b760], edi
mov dword [ebp - 4], 0xffffffff
call fcn.10065d2f
add esp, 4
push 0
push 0xeb4141eb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x3f800000
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x1c], 0x40900000
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x18], 0x40900000
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x15c], 0xbf800000
push eax
mov dword [ebp - 0x158], 0xc0900000
mov dword [ebp - 0x154], 0xc0900000
call dword [0x1014b760]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10065cf6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret