Function at 0x100247b0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d9957
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x10131c40]
xor eax, esp
mov dword [esp + 0x1ac], eax
push esi
push edi
mov eax, dword [0x10131c40]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [esp + 0xd0]
mov dword [esp + 0x1c8], 0
push ecx
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.1002ce60
test eax, eax
jne 0x10024851
xor esi, esi
jmp 0x10025355
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
push 0x14
lea ecx, [esp + 0x48]
mov byte [esp + 0x1cc], 1
call fcn.1000a750
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xfc]
mov ecx, dword [esp + 0x50]
sub edx, ecx
push eax
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x108], 0x67452301
mov dword [esp + 0x10c], 0xefcdab89
mov dword [esp + 0x110], 0x98badcfe
mov dword [esp + 0x114], 0x10325476
mov dword [esp + 0x118], 0xc3d2e1f0
call fcn.10039ce0
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x100]
add esp, 4
call fcn.10039fa0
lea eax, [esp + 0x44]
lea edi, [esi + 0x37c]
push eax
mov ecx, edi
call fcn.10033470
mov edi, dword [edi]
mov esi, eax
cmp esi, edi
je 0x1002492b
push dword [esi + 0x14]
mov edx, dword [esp + 0x4c]
push dword [esi + 0x10]
mov ecx, dword [esp + 0x4c]
call fcn.1000c090
add esp, 8
mov dword [esp + 0x10], esi
test al, al
je 0x1002492f
mov dword [esp + 0x10], edi
movd xmm0, dword [ebp + 0x18]
lea esi, [esp + 0x10]
mov eax, dword [ebp + 0x1c]
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
neg eax
mov ecx, dword [esp + 0x3c]
mov esi, dword [esi]
mov edx, dword [sym.imp.GDI32.dll_CombineTransform]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
movss dword [esp + 0xb8], xmm0
movd xmm0, eax
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc4], xmm0
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xcc], xmm0
test ecx, ecx
je 0x10024a16
movss xmm0, dword [ecx]
movss xmm2, dword [0x101162d4]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10024a04
movss xmm0, dword [ecx + 0xc]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10024a04
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10024a04
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10024a04
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10024a04
movss xmm0, dword [ecx + 0x14]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10024a16
push ecx
lea eax, [esp + 0xbc]
push eax
push eax
call edx
mov edx, dword [sym.imp.GDI32.dll_CombineTransform]
mov edi, dword [esp + 0x18]
lea eax, [edi + 0x128]
push eax
lea eax, [esp + 0xbc]
push eax
push eax
call edx
mov eax, dword [esp + 0xd4]
xor edx, edx
cmp esi, dword [edi + 0x37c]
setne dl
mov dword [esp + 0x10], edx
cmp eax, 0x3c
jge 0x10024a5b
cmp dword [esp + 0xd8], 0x3c
jge 0x10024a5b
mov dword [esp + 0x10], 0
jmp 0x10024a63
test edx, edx
jne 0x10024c34
mov ecx, dword [edi + 0x4a0]
test ecx, ecx
jne 0x10024ac4
movss xmm0, dword [esp + 0xb8]
call fcn.100088e0
movd xmm1, dword [esp + 0xd4]
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
mulss xmm0, dword [0x101163d4]
cvttss2si eax, xmm0
cmp eax, 0x23
jge 0x10024aad
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x3c], 0x23
jmp 0x10024ac8
mov ecx, 0x4b
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd4]
jmp 0x10024ac8
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
push ecx
push dword [esp + 0xdc]
mov ecx, edi
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10024610
test eax, eax
jne 0x10024aee
cmp dword [edi + 0x4a0], 0x64
jne 0x10024b22
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x10024c2d
push dword [esp + 0x14]
mov ecx, edi
push eax
push dword [edi + 0x4a4]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.10024390
mov esi, eax
jmp 0x10024baf
push ecx
lea ecx, [esp + 0x20]
call fcn.1000bb80
mov byte [esp + 0x1c8], 2
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10024c1c
push dword [esp + 0x3c]
mov edx, eax
push dword [edi + 0x4a4]
push dword [esp + 0xe0]
push dword [esp + 0xe0]
call fcn.1003a240
add esp, 0x10
test eax, eax
je 0x10024c1c
push dword [esp + 0x14]
mov eax, dword [edi + 0x30]
mov ecx, edi
mov dword [esp + 0x28], 0
push dword [eax + 0x2c]
lea eax, [esp + 0x24]
push dword [edi + 0x4a4]
push dword [esp + 0xe4]
push dword [esp + 0xe4]
push eax
call fcn.100240b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c8], 1
mov esi, eax
call fcn.1000bbf0
test esi, esi
je 0x10024c2d
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x14], edx
call fcn.10097ac0
mov byte [esp + 0x1c8], 3
mov eax, dword [esi + 8]
mov dword [esp + 0x12c], eax
mov eax, ecx
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x12c], edx
push eax
lea ecx, [edi + 0x37c]
call fcn.1002fd90
mov ecx, eax
call fcn.10025390
mov byte [esp + 0x1c8], 1
cmp dword [esp + 0x124], 0x10
jb 0x10024c7b
push dword [esp + 0x110]
call fcn.1003a540
add esp, 4
jmp 0x10024c7b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c8], 1
call fcn.1000bbf0
xor esi, esi
jmp 0x1002532c
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x48]
add esi, 0x1c
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x30]
push esi
mov ecx, dword [eax + 0x2c]
call fcn.10091930
mov eax, dword [edi + 0x30]
mov edx, dword [eax + 0x2c]
mov eax, dword [edx + 0x4c]
cmp dword [edx + 0x50], eax
je 0x10024c79
mov esi, dword [esp + 0x18]
mov ecx, dword [eax]
cmp dword [ecx + 8], esi
je 0x10024c74
add eax, 4
cmp dword [edx + 0x50], eax
jne 0x10024c63
jmp 0x10024c79
mov eax, ecx
inc dword [eax + 4]
xor esi, esi
movd xmm0, dword [esp + 0xd4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0xb8]
call fcn.100088e0
movsd xmm1, qword [0x101162f8]
cvtss2sd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x10024cb2
mov dword [esp + 0xb8], 0x3e4ccccd
movd xmm0, dword [esp + 0xd8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0xc4]
call fcn.100088e0
movsd xmm1, qword [0x101162f8]
cvtss2sd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x10024ce9
mov dword [esp + 0xc4], 0x3e4ccccd
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [edi + 0x60]
call fcn.1002e9f0
mov edx, 0x1010e568
mov ecx, dword [eax + 8]
add ecx, dword [eax]
lea eax, [edi + 0x50]
mov dword [esp + 0x18], ecx
xor ecx, ecx
test eax, eax
lea eax, [edi + 0x60]
cmovne ecx, eax
call fcn.10034cf0
movsd xmm1, qword [0x10116378]
mov eax, 3
movsd xmm2, qword [0x10116328]
movapd xmm3, xmm1
movsd qword [esp + 0x1c], xmm1
movapd xmm4, xmm2
movsd qword [esp + 0x3c], xmm2
nop
test al, 1
je 0x10024d48
mulsd xmm4, xmm3
shr eax, 1
je 0x10024d56
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024d40
movapd xmm3, xmm1
mov eax, 3
movapd xmm1, xmm2
test al, 1
je 0x10024d6b
mulsd xmm1, xmm3
shr eax, 1
je 0x10024d79
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024d63
movsd qword [esp + 0x6c], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
test al, 1
je 0x10024d9c
mulsd xmm1, xmm3
shr eax, 1
je 0x10024daa
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024d94
movsd qword [esp + 0xa4], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
test al, 1
je 0x10024dd0
mulsd xmm1, xmm3
shr eax, 1
je 0x10024dde
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024dc8
movsd qword [esp + 0x5c], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
lea esp, [esp]
test al, 1
je 0x10024e08
mulsd xmm1, xmm3
shr eax, 1
je 0x10024e16
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024e00
movsd qword [esp + 0x94], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
test al, 1
je 0x10024e3c
mulsd xmm1, xmm3
shr eax, 1
je 0x10024e4a
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024e34
movsd qword [esp + 0x74], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
test al, 1
je 0x10024e6d
mulsd xmm1, xmm3
shr eax, 1
je 0x10024e7b
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024e65
movsd qword [esp + 0x8c], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
lea esp, [esp]
test al, 1
je 0x10024ea8
mulsd xmm1, xmm3
shr eax, 1
je 0x10024eb6
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024ea0
movsd qword [esp + 0x7c], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
test al, 1
je 0x10024ed9
mulsd xmm1, xmm3
shr eax, 1
je 0x10024ee7
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024ed1
movsd qword [esp + 0x9c], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
test al, 1
je 0x10024f0d
mulsd xmm1, xmm3
shr eax, 1
je 0x10024f1b
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024f05
movsd qword [esp + 0x64], xmm1
mov eax, 3
movsd xmm1, qword [0x10116378]
movapd xmm3, xmm1
movapd xmm1, xmm2
test al, 1
je 0x10024f3e
mulsd xmm1, xmm3
shr eax, 1
je 0x10024f4c
movapd xmm0, xmm3
mulsd xmm3, xmm0
jmp 0x10024f36
movsd qword [esp + 0xac], xmm1
mov eax, 3
movsd xmm1, qword [esp + 0x1c]
test al, 1
je 0x10024f74
movsd xmm0, qword [esp + 0x3c]
mulsd xmm0, xmm1
movsd qword [esp + 0x3c], xmm0
shr eax, 1
je 0x10024f82
movapd xmm0, xmm1
mulsd xmm1, xmm0
jmp 0x10024f60
movss xmm0, dword [esp + 0xcc]
sub esp, 8
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm4
addsd xmm0, qword [0x10116308]
movsd qword [esp + 0x24], xmm0
fld qword [esp + 0x24]
fstp qword [esp]
call fcn.100d6220
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
divsd xmm0, qword [esp + 0x74]
movsd qword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0xd0]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0xac]
addsd xmm0, qword [0x10116308]
movsd qword [esp + 0x24], xmm0
fld qword [esp + 0x24]
fstp qword [esp]
call fcn.100d6220
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
divsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0xcc]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0x9c]
addsd xmm0, qword [0x10116308]
movsd qword [esp + 0x24], xmm0
fld qword [esp + 0x24]
fstp qword [esp]
call fcn.100d6220
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
divsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xc8]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0x94]
addsd xmm0, qword [0x10116308]
movsd qword [esp + 0x24], xmm0
fld qword [esp + 0x24]
fstp qword [esp]
call fcn.100d6220
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
divsd xmm0, qword [esp + 0x84]
movsd qword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xc4]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0xa4]
addsd xmm0, qword [0x10116308]
movsd qword [esp + 0x24], xmm0
fld qword [esp + 0x24]
fstp qword [esp]
call fcn.100d6220
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
divsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xc0]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0xb4]
addsd xmm0, qword [0x10116308]
movsd qword [esp + 0x24], xmm0
fld qword [esp + 0x24]
fstp qword [esp]
call fcn.100d6220
fstp qword [esp + 0x24]
movsd xmm0, qword [esp + 0x24]
lea ecx, [edi + 0x60]
divsd xmm0, qword [esp + 0x44]
add esp, 8
movapd xmm1, xmm0
call fcn.1002e510
mov edx, 0x1010e4f4
mov ecx, eax
call fcn.10034cf0
movsd xmm1, qword [esp + 0x64]
mov ecx, eax
call fcn.1002e510
mov edx, 0x1010e4f4
mov ecx, eax
call fcn.10034cf0
movsd xmm1, qword [esp + 0x7c]
mov ecx, eax
call fcn.1002e510
mov edx, 0x1010e4f4
mov ecx, eax
call fcn.10034cf0
movsd xmm1, qword [esp + 0x74]
mov ecx, eax
call fcn.1002e510
mov edx, 0x1010e4f4
mov ecx, eax
call fcn.10034cf0
movsd xmm1, qword [esp + 0x5c]
mov ecx, eax
call fcn.1002e510
mov edx, 0x1010e4f4
mov ecx, eax
call fcn.10034cf0
movsd xmm1, qword [esp + 0x6c]
mov ecx, eax
call fcn.1002e510
mov edx, str._cm_n
mov ecx, eax
call fcn.10034cf0
push dword [esp + 0x14]
xor ecx, ecx
lea eax, [edi + 0x50]
test eax, eax
mov edx, 0x1010ea30
lea eax, [edi + 0x60]
cmovne ecx, eax
push ecx
call fcn.10034cf0
add esp, 4
mov ecx, eax
call fcn.1002e020
mov edx, str._Do_n
mov ecx, eax
call fcn.10034cf0
xor ecx, ecx
lea eax, [edi + 0x50]
test eax, eax
mov edx, 0x1010e54c
lea eax, [edi + 0x60]
cmovne ecx, eax
call fcn.10034cf0
cmp dword [esp + 0x10], 0
jne 0x10025327
mov ecx, dword [esp + 0x18]
xor eax, eax
xor edx, edx
mov dword [esp + 0x1ac], eax
cmp ecx, 0xffffffff
xorps xmm0, xmm0
movdqu xmmword [esp + 0x168], xmm0
cmove ecx, edx
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x160], ecx
mov ecx, 1
cmovne eax, ecx
lea ecx, [edi + 0x60]
mov dword [esp + 0x15c], eax
lea eax, [esp + 0x1c]
push eax
movdqu xmmword [esp + 0x17c], xmm0
movdqu xmmword [esp + 0x18c], xmm0
movdqu xmmword [esp + 0x19c], xmm0
call fcn.1002e9f0
mov dword [esp + 0x1a8], esi
mov ecx, dword [eax + 8]
add ecx, dword [eax]
xor eax, eax
cmp ecx, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmove ecx, eax
xor esi, esi
mov dword [esp + 0x164], ecx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x1c8], 4
mov ecx, dword [edi + 0x464]
test ecx, ecx
js 0x100252ca
mov eax, dword [edi + 0x458]
cmp dword [eax + ecx*8 + 4], esi
je 0x100252ca
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
push dword [esp + 0x8c]
call fcn.10021e10
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x164]
call fcn.1000d7b0
cmp dword [esp + 0x15c], 0
lea eax, [edi + 0x37c]
mov dword [edi + 0x440], eax
je 0x10025307
mov eax, ecx
lea ecx, [edi + 0x428]
push eax
call fcn.1000da60
lea eax, [esp + 0x15c]
push eax
lea ecx, [edi + 0x428]
call fcn.1002f030
test esi, esi
je 0x10025327
push esi
call fcn.1003a540
add esp, 4
mov esi, 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10025355
push eax
call fcn.1003a540
add esp, 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10025366
push eax
call fcn.1003a540
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.100b54bf
mov esp, ebp
pop ebp
ret 0x24