Function at 0x421770
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0xc74718]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], ebx
mov edx, dword [ebx + 0x4a08]
sub edx, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xc], al
js 0x4217bf
mov eax, dword [ebx + 0x4a10]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov edi, dword [eax]
test edi, edi
je 0x4217b7
test dword [edi + 0xc], 0x8000000
jne 0x421864
sub eax, 0x28
sub edx, 1
jns 0x4217a4
xor edi, edi
cmp dword [ebx + 0x4c04], 0
je 0x421813
cmp dword [ebx + 0x4c00], 0
jne 0x421813
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0xbca198]
movss xmm1, dword [ebx + 0x4c10]
subss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x4c2c]
maxss xmm1, xmm0
movss dword [ebx + 0x4c10], xmm1
jb 0x421813
comiss xmm0, xmm1
jb 0x421813
mov dword [ebx + 0x4c04], 0
or edx, 0xffffffff
mov esi, 0xbc2951
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x42182e
cmp byte [esi], al
jne 0x42182e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x692168]
test al, al
jne 0x421820
mov ebx, dword [ebp - 0x10]
not edx
mov dword [ebp - 8], edx
mov eax, dword [ebx + 8]
mov cl, al
test al, 2
je 0x421873
test byte [ebx + 0xc], 1
je 0x421873
mov byte [ebp - 3], 1
jmp 0x421879
mov dword [ebx + 0x4c00], 0
jmp 0x4217c1
mov byte [ebp - 3], 0
mov al, cl
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x4218a6
mov ecx, dword [ebx + 0x4bf8]
test ecx, ecx
je 0x4218a6
push 0x10001
call fcn.0041b7e0
add esp, 4
test al, al
je 0x4218a6
mov byte [ebp - 1], 1
jmp 0x4218ae
mov byte [ebp - 1], 0
test edi, edi
jne 0x4218d4
mov ecx, dword [ebx + 0x4bfc]
mov esi, dword [ebp - 8]
test ecx, ecx
je 0x4218d7
push 0x10001
mov edx, esi
call fcn.0041b7e0
add esp, 4
test al, al
je 0x4218d7
mov byte [ebp - 2], 1
jmp 0x4218df
mov esi, dword [ebp - 8]
mov byte [ebp - 2], 0
test edi, edi
jne 0x42190a
cmp byte [ebp - 3], 0
je 0x42190a
cmp dword [ebx + 0x4c00], 0
jne 0x42190a
push 0
xor edx, edx
mov ecx, 0x279
call fcn.004192d0
add esp, 4
test al, al
je 0x42190a
mov cl, 1
mov byte [ebp - 3], cl
jmp 0x421913
xor cl, cl
mov byte [ebp - 3], cl
test edi, edi
jne 0x42192c
cmp dword [ebx + 0x4c00], 0
jne 0x42192c
cmp byte [ebp - 1], 0
jne 0x421928
cmp byte [ebp - 2], 0
je 0x42192c
mov al, 1
jmp 0x42192e
xor al, al
mov byte [ebp - 4], al
test cl, cl
jne 0x42193d
test al, al
je 0x4219f5
mov eax, dword [ebx + 0x4a38]
test eax, eax
jne 0x421968
mov ecx, dword [ebx + 0x3f4c]
mov edx, reloc.WS2_32.dll_accept
push 0xffffffffffffffff
dec ecx
call fcn.00421640
add esp, 4
test eax, eax
je 0x4219f5
mov cl, byte [ebp - 3]
mov eax, dword [eax + 0x30c]
mov dword [ebx + 0x4c04], eax
mov dword [ebx + 0x4c00], eax
movzx eax, byte [ebp - 4]
xor eax, 1
mov dword [ebx + 0x4c10], 0
add eax, 2
mov dword [ebx + 0x4c0c], 0
cmp byte [ebp - 1], 0
mov dword [ebx + 0x4c24], 0
mov dword [ebx + 0x4c28], 0
mov dword [ebx + 0x4c1c], 0
mov dword [ebx + 0x4c20], 0
mov byte [ebx + 0x4c14], cl
mov dword [ebx + 0x4a7c], eax
jne 0x4219d8
cmp byte [ebp - 2], 0
je 0x4219f5
push ecx
mov ecx, dword [ebx + 0x4bfc]
mov edx, esi
or ecx, dword [ebx + 0x4bf8]
and ecx, 0xf800
call fcn.0041b5b0
add esp, 4
cmp dword [ebx + 0x4c00], 0
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4c0c]
movss dword [ebx + 0x4c0c], xmm0
je 0x421be2
cmp dword [ebx + 0x4a7c], 3
jne 0x421b14
subss xmm0, dword [0xbca0d8]
xorps xmm1, xmm1
divss xmm0, dword [0xbca0bc]
comiss xmm1, xmm0
ja 0x421a48
movss xmm1, dword [0xbca13c]
minss xmm1, xmm0
movss xmm0, dword [ebx + 0x4c10]
xor edx, edx
maxss xmm0, xmm1
mov ecx, 0x282
push 1
movss dword [ebx + 0x4c10], xmm0
call fcn.004192d0
add esp, 4
xor edx, edx
mov ecx, 0x281
mov bl, al
push 1
call fcn.004192d0
movzx ecx, al
add esp, 4
movzx eax, bl
sub ecx, eax
je 0x421a9e
call fcn.004216b0
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x4c10], 0x3f800000
jmp 0x421aa1
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0xc74718]
mov edx, 0x279
call fcn.004189a0
cmp byte [eax], 0
je 0x421acc
mov ecx, dword [0xc74718]
mov edx, 0x279
call fcn.00409890
cmp byte [eax + 8], 0
je 0x421b14
movss xmm0, dword [0xbca13c]
comiss xmm0, dword [ebx + 0x4c10]
seta al
and byte [ebx + 0x4c14], al
je 0x421af5
cmp dword [ebx + 0x4a38], 0
je 0x421b0a
mov byte [ebp - 0xc], 1
jmp 0x421b0a
mov eax, dword [ebx + 0x4c00]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 2]
mov byte [ebp - 2], al
mov al, byte [ebp - 1]
mov byte [ebp - 1], al
mov dword [ebx + 0x4c00], 0
cmp dword [ebx + 0x4c00], 0
je 0x421be2
cmp dword [ebx + 0x4a7c], 2
jne 0x421be2
mov eax, dword [ebx + 0x4bf8]
mov esi, 0xf800
test eax, eax
mov ecx, esi
cmovne ecx, eax
mov eax, dword [ebx + 0x4bfc]
test eax, eax
cmovne esi, eax
and esi, ecx
and esi, 0xf800
jne 0x421b6d
push 0x3174
push str.D:clientsWexsideLoaderFrontendexample_win32_directx9imguiimgui.cpp
push str.shared_mods___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
movss xmm0, dword [ebx + 0x4c0c]
xorps xmm1, xmm1
subss xmm0, dword [0xbca0d8]
divss xmm0, dword [0xbca0bc]
comiss xmm1, xmm0
ja 0x421b99
movss xmm1, dword [0xbca13c]
minss xmm1, xmm0
movss xmm0, dword [ebx + 0x4c10]
mov al, byte [ebp - 1]
maxss xmm0, xmm1
movss dword [ebx + 0x4c10], xmm0
test al, al
jne 0x421bd0
cmp byte [ebp - 2], al
jne 0x421bd0
mov eax, dword [ebx + 0xe20]
and eax, esi
cmp eax, esi
je 0x421be2
mov eax, dword [ebx + 0x4c00]
mov dword [ebp - 0x14], eax
jmp 0x421be2
movzx ecx, al
xor ecx, 1
lea ecx, [ecx*2 - 1]
call fcn.004216b0
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x24]
mov dword [ebp - 0x24], 0x211
mov edi, 0x211
mov dword [ebp - 0x20], 0x215
nop dword [eax + eax]
test al, al
je 0x421c1a
push 0
or edx, 0xffffffff
mov ecx, edi
call fcn.004192d0
add esp, 4
test al, al
jne 0x421c28
mov eax, dword [ebp - 0x18]
add esi, 4
lea ecx, [ebp - 0x1c]
cmp esi, ecx
je 0x421c3f
mov edi, dword [esi]
jmp 0x421c00
mov byte [ebx + 0x4c14], 1
mov dword [ebx + 0x4c18], edi
mov dword [ebx + 0x4a7c], 2
cmp byte [ebx + 0x4c14], 0
je 0x421ed2
cmp dword [ebx + 0x4a7c], 2
jne 0x421ed2
cmp dword [ebx + 0x3898], 0
jg 0x421c7d
cmp byte [ebx + 0xe1c], 0
jne 0x421c7d
cmp byte [ebx + 0xe1d], 0
jne 0x421c7d
cmp byte [ebx + 0xe1f], 0
je 0x421c84
mov byte [ebx + 0x4c14], 0
mov edx, dword [ebx + 0x4c18]
cmp edx, 0x200
jl 0x421c9a
cmp edx, 0x29a
jl 0x421cc2
cmp edx, 0x1000
je 0x421cc2
cmp edx, 0x2000
je 0x421cc2
cmp edx, 0x4000
je 0x421cc2
cmp edx, 0x8000
je 0x421cc2
cmp edx, 0x800
jne 0x421cef
mov ecx, dword [0xc74718]
cmp byte [ecx + 0x48cc], 0
je 0x421ce5
cmp dword [ecx + 0x3fdc], 0xffffffff
je 0x421ce5
lea eax, [edx - 0x200]
cmp eax, 0x76
jbe 0x421d04
call fcn.00409890
cmp dword [eax], 0xffffffff
jne 0x421d04
mov ecx, dword [0xc74718]
mov edx, 0x4000
call fcn.00409890
cmp dword [eax], 0xffffffff
je 0x421d0b
mov byte [ebx + 0x4c14], 0
mov esi, dword [ebx + 0x4c18]
mov edx, esi
mov ecx, dword [0xc74718]
call fcn.004189a0
xorps xmm0, xmm0
comiss xmm0, dword [eax + 8]
ja 0x421e68
cmp byte [eax], 0
jne 0x421e68
cmp esi, 0x200
jl 0x421d44
cmp esi, 0x29a
jl 0x421d6c
cmp esi, 0x1000
je 0x421d6c
cmp esi, 0x2000
je 0x421d6c
cmp esi, 0x4000
je 0x421d6c
cmp esi, 0x8000
je 0x421d6c
cmp esi, 0x800
jne 0x421d83
mov ecx, dword [0xc74718]
mov edx, esi
call fcn.00409890
cmp byte [eax + 8], 0
jne 0x421e68
cmp byte [ebx + 0x4c14], 0
je 0x421e68
cmp dword [ebx + 0x3fdc], 0
je 0x421da6
cmp byte [ebx + 0x3fe9], 0
je 0x421e68
mov ecx, dword [0xc74718]
lea esi, [ebx + 0xe00]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test ecx, ecx
jne 0x421dd6
push 0x223d
push str.D:clientsWexsideLoaderFrontendexample_win32_directx9imguiimgui.cpp
push str.GImGui___0
call edi
mov ecx, dword [0xc74718]
add esp, 0xc
test esi, esi
jne 0x421de0
lea esi, [ecx + 0xe00]
movss xmm0, dword [esi]
movss xmm1, dword [0xbca2ec]
comiss xmm0, xmm1
movss xmm2, dword [esi + 4]
jb 0x421dff
comiss xmm2, xmm1
mov byte [ebp - 4], 1
jae 0x421e03
mov byte [ebp - 4], 0
lea esi, [ebx + 0x37c8]
test ecx, ecx
jne 0x421e2f
push 0x223d
push str.D:clientsWexsideLoaderFrontendexample_win32_directx9imguiimgui.cpp
push str.GImGui___0
call edi
mov ecx, dword [0xc74718]
add esp, 0xc
movss xmm1, dword [0xbca2ec]
test esi, esi
jne 0x421e39
lea esi, [ecx + 0xe00]
movss xmm0, dword [esi]
comiss xmm0, xmm1
movss xmm2, dword [esi + 4]
jb 0x421e50
comiss xmm2, xmm1
jb 0x421e50
mov al, 1
jmp 0x421e52
xor al, al
mov edx, dword [ebp - 0xc]
cmp byte [ebp - 4], al
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0xc], edx
jmp 0x421e6e
mov ecx, dword [0xc74718]
mov esi, dword [ebx + 0x4c18]
mov edx, esi
call fcn.004189a0
cmp byte [eax], 0
je 0x421ecb
cmp esi, 0x200
jl 0x421e90
cmp esi, 0x29a
jl 0x421eb8
cmp esi, 0x1000
je 0x421eb8
cmp esi, 0x2000
je 0x421eb8
cmp esi, 0x4000
je 0x421eb8
cmp esi, 0x8000
je 0x421eb8
cmp esi, 0x800
jne 0x421ed2
mov ecx, dword [0xc74718]
mov edx, esi
call fcn.00409890
cmp byte [eax + 8], 0
je 0x421ed2
mov byte [ebx + 0x4c14], 0
mov eax, dword [ebx + 0x4c00]
test eax, eax
je 0x4220cd
test byte [eax + 0xc], 4
jne 0x4220cd
cmp dword [ebx + 0x4a7c], 2
xorps xmm0, xmm0
xorps xmm2, xmm2
movss dword [ebp - 8], xmm0
jne 0x421f69
cmp byte [ebx + 0xe1d], 0
jne 0x421f69
mov ecx, dword [0xc74718]
mov edx, 0x204
call fcn.004189a0
mov ecx, dword [0xc74718]
mov edx, 0x203
mov esi, eax
call fcn.004189a0
movss xmm0, dword [esi + 0xc]
mov edx, 0x202
mov ecx, dword [0xc74718]
subss xmm0, dword [eax + 0xc]
movss dword [ebp - 8], xmm0
call fcn.004189a0
mov ecx, dword [0xc74718]
mov edx, 0x201
mov esi, eax
call fcn.004189a0
movss xmm2, dword [esi + 0xc]
movss xmm0, dword [ebp - 8]
subss xmm2, dword [eax + 0xc]
cmp dword [ebx + 0x4a7c], 3
jne 0x421fd4
mov ecx, dword [0xc74718]
mov edx, 0x28a
call fcn.004189a0
mov ecx, dword [0xc74718]
mov edx, 0x289
mov esi, eax
call fcn.004189a0
movss xmm0, dword [esi + 0xc]
mov edx, 0x288
mov ecx, dword [0xc74718]
subss xmm0, dword [eax + 0xc]
movss dword [ebp - 8], xmm0
call fcn.004189a0
mov ecx, dword [0xc74718]
mov edx, 0x287
mov esi, eax
call fcn.004189a0
movss xmm2, dword [esi + 0xc]
movss xmm0, dword [ebp - 8]
subss xmm2, dword [eax + 0xc]
xorps xmm3, xmm3
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x421fed
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x4220cd
movss xmm1, dword [ebx + 0x3c]
minss xmm1, dword [ebx + 0x40]
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0xbca2c0]
mov byte [ebx + 0x4a93], 1
mulss xmm1, xmm0
movss xmm0, dword [ebp - 8]
mulss xmm2, xmm1
mulss xmm0, xmm1
addss xmm2, dword [ebx + 0x4c1c]
addss xmm0, dword [ebx + 0x4c20]
cvttss2si esi, xmm2
movss dword [ebx + 0x4c1c], xmm2
cvttss2si edi, xmm0
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movd xmm1, edi
ucomiss xmm2, xmm3
movss dword [ebx + 0x4c20], xmm0
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x422064
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x4220cd
mov eax, dword [ebx + 0x4c00]
lea edx, [ebp - 0x1c]
movaps xmm0, xmm2
push 1
mov ecx, dword [eax + 0x30c]
addss xmm0, dword [ecx + 0x18]
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x1c]
movss dword [ebp - 0x18], xmm0
call fcn.004183b0
movss xmm0, dword [ebx + 0x4c1c]
add esp, 4
movd xmm1, esi
cvtdq2ps xmm1, xmm1
subss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [ebx + 0x4c1c], xmm0
movss xmm0, dword [ebx + 0x4c20]
subss xmm0, xmm1
movss dword [ebx + 0x4c20], xmm0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x42214f
mov eax, dword [ebx + 0x4a38]
test eax, eax
je 0x4220e6
cmp esi, dword [eax + 0x30c]
je 0x422145
xor edx, edx
xor ecx, ecx
call fcn.0040dd00
mov eax, dword [0xc74718]
xor dl, dl
mov ecx, esi
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
call fcn.0041d240
mov edx, 1
mov ecx, esi
call fcn.00417db0
mov esi, dword [ebx + 0x4a38]
cmp dword [esi + 0x324], 0
jne 0x422131
xor dl, dl
mov ecx, esi
call fcn.0041ed50
cmp word [esi + 0x156], 2
jne 0x422145
mov dword [ebx + 0x4a80], 1
mov dword [ebx + 0x4c00], 0
cmp byte [ebp - 0xc], 0
je 0x422213
cmp dword [ebx + 0x4a38], 0
je 0x422213
xor edx, edx
xor ecx, ecx
call fcn.0040dd00
mov esi, dword [ebx + 0x4a38]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
je 0x4221ad
test byte [esi + 0x154], 2
jne 0x4221ad
mov eax, dword [esi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x4221ad
mov esi, dword [ecx]
cmp dword [esi + 0x304], 0
lea ecx, [esi + 0x304]
jne 0x422184
mov edi, dword [ebx + 0x4a38]
cmp esi, edi
je 0x4221c6
xor edx, edx
mov ecx, esi
call fcn.00417db0
mov dword [esi + 0x320], edi
mov eax, dword [ebx + 0x4a38]
test byte [eax + 0x154], 2
je 0x4221e0
mov ecx, dword [ebx + 0x4a80]
xor ecx, 1
jmp 0x4221e2
xor ecx, ecx
cmp ecx, dword [ebx + 0x4a80]
je 0x422213
cmp ecx, 1
jne 0x4221f9
mov dword [eax + 0x328], 0
call fcn.0041eca0
mov eax, dword [0xc74718]
mov word [eax + 0x4a91], 1
mov byte [eax + 0x4a93], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret