Function at 0x4ccdf0
Capabilities:
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xbc
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc4]
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
cmp dword [ebp + 0xd0], 0
push esi
push edi
mov dword [esp + 0x20], eax
jne 0x4cce93
mov ecx, dword [ebp + 8]
xor edi, edi
cmp dword [ecx + 0x88], edi
jle 0x4cce93
mov esi, dword [ebp + 4]
mov ebx, edi
call fcn.004c4f10
test eax, eax
jne 0x4cce4a
xor ecx, ecx
mov edx, ecx
mov esi, ecx
mov ebx, ecx
mov eax, ecx
jmp 0x4cce58
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x44], eax
push edx
lea eax, [ebp + 0xc8]
mov dword [esp + 0x44], ebx
push eax
lea ebx, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], edi
call fcn.004ceae0
mov eax, dword [ebp + 8]
add edi, 1
cmp edi, dword [eax + 0x88]
jl 0x4cce30
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
mov edx, dword [ebp + 0x8c]
xor esi, esi
add ecx, 0xffffffff
cmp edx, ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0x67452301
mov dword [esp + 0x68], 0xefcdab89
mov dword [esp + 0x6c], 0x98badcfe
mov dword [esp + 0x70], 0x10325476
mov dword [esp + 0x74], 0xc3d2e1f0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
jne 0x4ccef2
mov ebx, dword [eax + 0x8c]
mov edi, dword [eax + 0x80]
imul ebx, ecx
sub edi, ebx
jmp 0x4ccef8
mov edi, dword [eax + 0x8c]
mov ecx, dword [eax + 0x88]
mov ebx, dword [eax + 0x88]
add ecx, 0xffffffff
sub ebx, 1
cmp ebx, ecx
jne 0x4ccf21
mov ebx, dword [eax + 0x8c]
mov eax, dword [eax + 0x80]
imul ebx, ecx
sub eax, ebx
jmp 0x4ccf27
mov eax, dword [eax + 0x8c]
xor ecx, ecx
cmp edi, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
jne 0x4ccf4d
push esi
push edi
lea ecx, [esp + 0x68]
push ecx
push edx
xor edx, edx
jmp 0x4ccf5b
lea ecx, [esp + 0x4c]
push ecx
push edi
lea ecx, [esp + 0x68]
push ecx
push edx
mov edx, eax
mov ecx, ebp
call fcn.004c58c0
cmp eax, edi
je 0x4ccffa
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
neg eax
sbb eax, eax
test eax, fcn.00489120
je 0x4cd21a
call fcn.005d95d0
mov ecx, dword [ebp + 0xc]
add ecx, 4
cmp dword [ecx + 4], eax
jne 0x4ccf98
cmp dword [ecx], 3
je 0x4cd21a
call fcn.005d95d0
mov ecx, dword [ebp + 0xc]
add ecx, 4
cmp dword [ecx + 4], eax
jne 0x4ccfb1
cmp dword [ecx], 2
je 0x4cd21a
call fcn.005d95d0
mov ecx, dword [ebp + 0xc]
add ecx, 4
cmp dword [ecx + 4], eax
jne 0x4ccfca
cmp dword [ecx], 0x26
je 0x4cd21a
mov dword [esp + 0x2c], 6
call fcn.005d95d0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
add ecx, 4
lea eax, [esp + 0x2c]
call fcn.004a2a50
test al, al
je 0x4cd21a
or eax, 0xffffffff
jmp 0x4cd694
xor eax, eax
lea ecx, [esp + 0x64]
lea edi, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.00502a50
mov ecx, dword [ebp + 0x8c]
push ecx
lea edx, [esp + 0x50]
push edx
mov eax, edi
push eax
push ebp
call fcn.004cb950
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x28], ebx
jl 0x4cd042
mov ecx, dword [esp + 0x20]
mov dword [ecx], ebx
cmp ebx, dword [ebp + 0x8c]
je 0x4cd055
cmp ebx, esi
jl 0x4cd07f
mov byte [ebp + 0x90], 1
cmp ebx, esi
jl 0x4cd07f
mov ecx, dword [ebp + 0x48]
cmp ecx, esi
je 0x4cd06c
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd071
call fcn.005b8b18
mov edx, dword [ebp + 0x48]
cmp dword [edx + ebx*4], 0xffffffff
mov byte [esp + 0x13], 1
jne 0x4cd084
mov byte [esp + 0x13], 0
mov ecx, dword [ebp + 0x38]
test ecx, ecx
mov edi, dword [ebp + 0x8c]
lea esi, [ebp + 0x34]
je 0x4cd0a0
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4cd0a5
call fcn.005b8b18
mov eax, dword [esi + 4]
cmp dword [eax + edi*4], 0xfffffffd
setne al
cmp byte [esp + 0x13], 0
je 0x4cd225
test al, al
mov ecx, dword [ebp + 0x48]
jne 0x4cd355
test ecx, ecx
mov dword [esp + 0x1c], ebx
je 0x4cd0d9
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd0de
call fcn.005b8b18
mov ecx, dword [ebp + 0x48]
test ecx, ecx
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x14], edx
je 0x4cd0f8
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd0fd
call fcn.005b8b18
mov eax, dword [ebp + 0x48]
mov dword [eax + ebx*4], ebx
mov ecx, dword [ebp + 0x48]
test ecx, ecx
mov edi, dword [ebp + 0x8c]
je 0x4cd11c
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4cd121
call fcn.005b8b18
mov ecx, dword [ebp + 0x48]
mov edx, dword [esp + 0x14]
mov dword [ecx + edi*4], edx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4cd13e
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd147
call fcn.005b8b18
mov edx, dword [esp + 0x14]
test edx, edx
mov eax, dword [esi + 4]
mov dword [eax + ebx*4], ebx
jl 0x4cd179
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4cd164
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4cd16d
call fcn.005b8b18
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x8c]
mov dword [ecx + edx*4], eax
cmp edx, 0xfffffffe
jne 0x4cd1e2
mov edi, dword [ebp + 0x2c]
cmp dword [ebp + 0x28], edi
lea esi, [ebp + 0x24]
jbe 0x4cd18e
call fcn.005b8b18
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x20], eax
jbe 0x4cd1a3
call fcn.005b8b18
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edi
push esi
push eax
push esi
lea eax, [esp + 0x40]
call fcn.004cff60
add esp, 0x14
cmp dword [ebp + 0x10], 2
jne 0x4cd1e2
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ebx, [esp + 0x34]
mov edi, esi
call fcn.004cddc0
lea ebx, [ebp + 0x8c]
call fcn.004cdd60
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x14], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0xa0], ebx
jl 0x4cd203
mov eax, dword [ebp + 0x8c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push eax
push ebx
call edx
jmp 0x4cd212
mov eax, dword [ecx]
mov edx, dword [ebp + 0x8c]
mov eax, dword [eax + 0x30]
push ebx
push edx
call eax
test al, al
je 0x4cd653
push ebp
call fcn.004ccd10
jmp 0x4cd694
test al, al
je 0x4cd5ec
mov ecx, dword [esi + 4]
test ecx, ecx
mov edx, dword [ebp + 0x8c]
mov dword [esp + 0x14], edx
je 0x4cd24a
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4cd24f
call fcn.005b8b18
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov edi, dword [ecx + edx*4]
mov ecx, dword [ebp + 0x48]
test ecx, ecx
mov edx, dword [ebp + 0x8c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
je 0x4cd27a
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4cd283
call fcn.005b8b18
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x48]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp + 0x48]
test ecx, ecx
je 0x4cd2a0
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4cd2a5
call fcn.005b8b18
mov edx, dword [ebp + 0x48]
mov dword [edx + edi*4], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4cd2c0
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x4cd2c5
call fcn.005b8b18
cmp ebx, 0xfffffffe
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x8c]
mov edx, dword [esp + 0x14]
mov dword [eax + edx*4], ecx
jne 0x4cd31f
cmp dword [ebp + 0x10], 2
jne 0x4cd2f0
lea esi, [ebp + 0x24]
lea ebx, [esp + 0x1c]
call fcn.004cdd60
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x8c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push edi
call eax
test al, al
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0xa0], ecx
je 0x4cd653
push ebp
call fcn.004ccd10
jmp 0x4cd694
test ebx, ebx
jl 0x4cd2f0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4cd336
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd33b
call fcn.005b8b18
mov eax, dword [esi + 4]
mov dword [eax + ebx*4], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x8c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push eax
push edi
call edx
jmp 0x4cd302
test ecx, ecx
je 0x4cd365
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd36a
call fcn.005b8b18
mov edx, dword [ebp + 0x48]
mov ecx, dword [esi + 4]
test ecx, ecx
mov eax, dword [edx + ebx*4]
mov edi, dword [ebp + 0x8c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebx
je 0x4cd395
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4cd39a
call fcn.005b8b18
mov ecx, dword [esi + 4]
mov edi, dword [ecx + edi*4]
cmp ebx, edi
mov ecx, dword [ebp + 0x48]
mov dword [esp + 0x1c], edi
jne 0x4cd457
test ecx, ecx
je 0x4cd3bf
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd3c4
call fcn.005b8b18
mov edx, dword [ebp + 0x48]
mov dword [edx + ebx*4], ebx
mov ecx, dword [ebp + 0x48]
test ecx, ecx
mov edi, dword [ebp + 0x8c]
je 0x4cd3e3
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4cd3e8
call fcn.005b8b18
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x48]
mov dword [eax + edi*4], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4cd405
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd40a
call fcn.005b8b18
mov edx, dword [esi + 4]
mov dword [edx + ebx*4], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4cd425
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x4cd42a
call fcn.005b8b18
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x8c]
mov edx, dword [esp + 0x14]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x8c]
mov dword [ebp + 0xa0], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
push ebx
push edx
call eax
jmp 0x4cd653
test ecx, ecx
je 0x4cd467
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd46c
call fcn.005b8b18
mov ecx, dword [ebp + 0x48]
mov dword [ecx + ebx*4], ebx
mov ecx, dword [ebp + 0x48]
test ecx, ecx
je 0x4cd485
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4cd48a
call fcn.005b8b18
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x48]
mov eax, dword [esp + 0x1c]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp + 0x48]
test ecx, ecx
mov edi, dword [ebp + 0x8c]
je 0x4cd4b1
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4cd4b6
call fcn.005b8b18
mov edx, dword [ebp + 0x48]
mov eax, dword [esp + 0x20]
mov dword [edx + edi*4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4cd4d3
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd4d8
call fcn.005b8b18
mov ecx, dword [esi + 4]
mov dword [ecx + ebx*4], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
mov edi, dword [ebp + 0x8c]
je 0x4cd4f7
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4cd4fc
call fcn.005b8b18
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 4]
mov dword [edx + edi*4], eax
mov eax, dword [esp + 0x14]
cmp eax, 0xfffffffe
jne 0x4cd5c4
lea edi, [ebp + 0x24]
lea esi, [esp + 0x14]
call fcn.00518990
lea esi, [esp + 0x4c]
mov dword [esp + 0x20], eax
call fcn.0049a000
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x34]
call fcn.004cff60
add esp, 0x14
cmp dword [ebp + 0x10], 2
jne 0x4cd577
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ebx, [esp + 0x54]
call fcn.004cddc0
lea ebx, [esp + 0x1c]
mov esi, edi
call fcn.004cdd60
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x8c]
mov edx, dword [edx + 0x30]
push ebx
push eax
call edx
mov edx, dword [ebp + 0x8c]
mov ecx, dword [ebp + 0xc]
mov byte [esp + 0x13], al
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
mov edx, dword [esp + 0x20]
push edx
call eax
or byte [esp + 0x13], al
mov al, byte [esp + 0x13]
test al, al
mov dword [ebp + 0xa0], ebx
je 0x4cd653
push ebp
call fcn.004ccd10
jmp 0x4cd694
test eax, eax
jl 0x4cd577
mov edi, dword [esp + 0x14]
call fcn.004cdd40
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
push edx
mov edx, dword [ebp + 0x8c]
push ebx
push edx
call eax
jmp 0x4cd5ab
cmp ebx, 0xfffffffe
je 0x4cd617
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4cd604
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4cd609
call fcn.005b8b18
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x8c]
mov dword [ecx + ebx*4], edx
jmp 0x4cd62f
cmp dword [ebp + 0x10], 2
jne 0x4cd62f
lea esi, [ebp + 0x24]
lea ebx, [ebp + 0x8c]
call fcn.004cdd60
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebp + 0x48]
test ecx, ecx
mov esi, dword [ebp + 0x8c]
je 0x4cd648
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4cd64d
call fcn.005b8b18
mov eax, dword [ebp + 0x48]
mov dword [eax + esi*4], ebx
cmp ebx, 0xfffffffe
jne 0x4cd692
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
mov eax, dword [ebp + 0x8c]
lea esi, [ebp + 0x8c]
sub edx, 1
cmp eax, edx
je 0x4cd692
mov ebp, dword [ebp + 0xc]
mov edx, dword [ebp]
add eax, 1
push eax
mov eax, dword [edx + 0x20]
mov ecx, ebp
call eax
mov ecx, dword [esi]
lea edx, [ecx + 1]
cmp eax, edx
jle 0x4cd692
sub eax, ecx
jmp 0x4cd694
xor eax, eax
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b88a9
add esp, 0xbc
ret 8