Function at 0x4688f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push ebx
push esi
mov esi, edx
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x468ca4
movzx edx, word [ebx + 0x420]
mov eax, edx
shr eax, 5
and eax, 3
mov ecx, eax
test dl, 8
je 0x468931
cmp eax, 1
jne 0x468ca4
test edx, 0x4000
je 0x468ca4
test cx, cx
jne 0x468954
mov eax, 0x4000
test word [ebx + 0x424], ax
jne 0x468ca4
movzx eax, word [ebx + 0x2e0]
xorps xmm0, xmm0
push edi
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x38], xmm0
cmp al, 3
jne 0x468972
shr eax, 8
cmp al, 4
jae 0x468981
mov eax, dword [ebx + 8]
test eax, eax
je 0x468981
lea edi, [eax + 0xc9a]
jmp 0x4689b2
mov eax, dword [ebx + 0x298]
test byte [eax + 0x44], 1
je 0x4689af
lea edi, [eax + 0x24]
mov dword [ebp - 8], edi
cmp esi, eax
jne 0x4689b5
movups xmm0, xmmword [eax + 0x58]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [eax + 0x68]
mov al, byte [eax + 0x78]
mov byte [ebp - 2], al
movups xmmword [ebp - 0x38], xmm0
jmp 0x4689b5
lea edi, [eax + 0x58]
mov dword [ebp - 8], edi
mov ecx, dword [esi + 0x1b4]
mov eax, 0x200
test ecx, ecx
je 0x4689cd
cmp word [esi + 0x1ba], ax
jae 0x4689fa
cmp word [esi + 0x1ba], 0
je 0x4689e0
test ecx, ecx
je 0x4689e0
call fcn.00472b30
lea eax, [ebp - 0x2d8]
mov dword [esi + 0x1b8], 0x2000000
mov dword [esi + 0x1b4], eax
mov byte [ebp - 1], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], 0x67452301
mov dword [ebp - 0x48], 0xefcdab89
mov dword [ebp - 0x44], 0x98badcfe
mov dword [ebp - 0x40], 0x10325476
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], 0
test edi, edi
je 0x468bc7
mov dword [ebp - 0x94], 0x20
lea edx, [ebp - 0xd8]
movups xmm0, xmmword [edi]
lea ecx, [ebp - 0x98]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [edi + 0x10]
mov dword [ebp - 0x98], 0x20
movups xmmword [ebp - 0x7c], xmm0
call fcn.004cab10
test eax, eax
jne 0x468bc7
movzx ecx, byte [ebp - 0xd8]
movzx eax, byte [ebp - 0xd7]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0xd6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0xd5]
shl ecx, 8
or ecx, eax
mov eax, 0x2bd4577d
mul ecx
push 0x420ec60
shr edx, 0xa
imul eax, edx, 0x175d
sub ecx, eax
imul eax, ecx, 0x1348
add eax, 0x569db0
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x10]
mov ecx, 0xb
cmp dword [edx + 4], ecx
mov ebx, dword [edx]
cmovb ecx, dword [edx + 4]
sub ebx, 1
mov dword [ebp - 0xc], ecx
js 0x468aec
cmp ebx, 0xb
jl 0x468af1
mov ebx, 0xa
test ecx, ecx
jle 0x468b4b
imul eax, ebx, 0x1c0
add edx, 8
add eax, edx
mov edx, edi
mov dword [ebp - 0x18], eax
mov edi, 0x1c
lea ecx, [eax + 0x58]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x468b2c
add ecx, 4
add edx, 4
sub edi, 4
jae 0x468b10
mov eax, dword [ebp - 0x18]
mov edi, eax
test eax, eax
jne 0x468b58
jmp 0x468b4d
test ebx, ebx
jle 0x468b33
dec ebx
jmp 0x468b38
mov ebx, 0xa
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x468b4b
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
jmp 0x468af5
xor edi, edi
push 0x420ec60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x468bc4
movzx eax, word [edi + 0xac]
push eax
call fcn.00492090
mov ebx, dword [ebp - 0x14]
mov edx, eax
movzx ecx, word [ebx + 0x2e0]
push ecx
call fcn.00492090
add esp, 8
cmp eax, edx
jne 0x468b91
call fcn.004943a0
mov ecx, dword [edi + 0x54]
add ecx, dword [edi + 0x50]
cmp eax, ecx
jb 0x468ba3
push 0x420ec60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov cl, byte [ebp - 1]
xor edi, edi
jmp 0x468be5
sub esp, 0x10
mov edx, esi
mov ecx, edi
call fcn.00467710
add esp, 0x10
mov edi, eax
push 0x420ec60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov cl, byte [ebp - 1]
jmp 0x468be5
mov ebx, dword [ebp - 0x14]
mov cl, byte [ebp - 1]
xor edi, edi
test cl, cl
je 0x468be5
lea eax, [esi + 0x105]
mov dword [esi + 0x1b4], eax
xor eax, eax
mov word [esi + 0x1ba], ax
mov eax, dword [ebx + 0x298]
test byte [eax + 0x44], 1
je 0x468c11
cmp esi, eax
jne 0x468c11
movups xmm0, xmmword [ebp - 0x28]
mov dl, byte [ebp - 2]
movups xmmword [eax + 0x58], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax + 0x68], xmm0
mov eax, dword [ebx + 0x298]
mov byte [eax + 0x78], dl
test cl, cl
je 0x468c9b
cmp edi, 1
jne 0x468c87
movzx eax, word [esi + 0x1b8]
mov ecx, 0xae
cmp ax, cx
jbe 0x468c4c
mov ecx, eax
call fcn.00472af0
mov ecx, eax
mov dword [esi + 0x1b4], ecx
test ecx, ecx
jne 0x468c61
xor edi, edi
mov dword [esi + 0x1b8], eax
jmp 0x468c55
xor eax, eax
mov word [esi + 0x1ba], ax
lea ecx, [esi + 0x105]
mov dword [esi + 0x1b4], ecx
cmp edi, 1
jne 0x468c9b
movzx eax, word [esi + 0x1b8]
push eax
lea eax, [ebp - 0x2d8]
push eax
push ecx
call fcn.0041d1d0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x105]
mov dword [esi + 0x1b4], eax
xor eax, eax
mov dword [esi + 0x1b8], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret