Function at 0x40f8a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x497a15
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4b73f0]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x4b73f0]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], 0
test esi, esi
je 0x40f95d
cmp byte [esi], 0
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jne 0x40f90f
xor ecx, ecx
jmp 0x40f91d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f914
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x34]
call fcn.004087af
lea eax, [esp + 0x2c]
mov dword [esp + 0x108], 0
push eax
mov ecx, edi
call fcn.0040d8c0
mov dword [esp + 0x108], 0xffffffff
cmp dword [esp + 0x40], 0x10
jb 0x40f95d
push dword [esp + 0x2c]
call fcn.0042490f
add esp, 4
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x20]
mov dword [esp + 0x1c], eax
test esi, esi
jne 0x40f99a
push 0xffffffffffffffff
push esi
lea ecx, [edi + 4]
mov dword [esp + 0x48], 0xf
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
call fcn.004086cc
lea esi, [esp + 0x2c]
mov ebx, 1
jmp 0x40f9e9
cmp byte [esi], 0
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], 0
mov byte [esp + 0xe0], 0
jne 0x40f9c1
xor ecx, ecx
jmp 0x40f9cf
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f9c6
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0xe8]
call fcn.004087af
lea esi, [esp + 0xe0]
mov ebx, 2
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0xdc], 0xf
mov dword [esp + 0xd8], 0
mov byte [esp + 0xc8], 0
jae 0x40fa27
mov eax, dword [esi + 0x10]
inc eax
je 0x40fa36
push eax
lea eax, [esp + 0xcc]
push esi
push eax
call fcn.00427170
add esp, 0xc
jmp 0x40fa36
mov eax, dword [esi]
mov dword [esp + 0xc8], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0xd8], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xdc], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esp + 0x108], 2
test bl, 2
je 0x40faa5
and ebx, 0xfffffffd
cmp dword [esp + 0xf4], 0x10
jb 0x40fa87
push dword [esp + 0xe0]
call fcn.0042490f
add esp, 4
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], 0
mov byte [esp + 0xe0], 0
mov byte [esp + 0x108], 3
test bl, 1
je 0x40fada
cmp dword [esp + 0x40], 0x10
jb 0x40fac5
push dword [esp + 0x2c]
call fcn.0042490f
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
xorps xmm0, xmm0
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
call fcn.00413d70
mov dword [esp + 0xc0], eax
mov byte [esp + 0x108], 4
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
jbe 0x4100aa
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x4100aa
or edx, 0xffffffff
mov ebx, dword [eax + 8]
mov dword [esp + 0x48], ebx
mov esi, dword [ebx]
cmp esi, ebx
je 0x41009c
mov edi, dword [esi + 0x20]
lea ecx, [esi + 0x10]
cmp edi, 0xffffffff
mov dword [esp + 0xbc], 0xf
lea eax, [esp + 0xa8]
mov dword [esp + 0xb8], 0
cmova edi, edx
mov byte [esp + 0xa8], 0
cmp eax, ecx
jne 0x40fba0
test edi, edi
jne 0x410100
push edi
mov dword [esp + 0xbc], edi
mov ecx, eax
push edi
mov byte [esp + edi + 0xb0], 0
call fcn.00408857
jmp 0x40fc36
cmp edi, 0xfffffffe
ja 0x41010a
cmp edi, 0xf
jbe 0x40fbc2
push 0
push edi
lea ecx, [esp + 0xb0]
call fcn.00408977
lea ecx, [esi + 0x10]
jmp 0x40fbd5
test edi, edi
jne 0x40fbd7
mov dword [esp + 0xb8], edi
mov byte [esp + 0xa8], 0
test edi, edi
setne al
test al, al
je 0x40fc36
cmp dword [ecx + 0x14], 0x10
jb 0x40fbe8
mov edx, dword [ecx]
jmp 0x40fbea
mov edx, ecx
cmp dword [esp + 0xbc], 0x10
lea eax, [esp + 0xa8]
mov ecx, dword [esp + 0xa8]
cmovae eax, ecx
test edi, edi
je 0x40fc19
push edi
push edx
push eax
call fcn.0042a2c0
mov ecx, dword [esp + 0xb4]
add esp, 0xc
cmp dword [esp + 0xbc], 0x10
lea eax, [esp + 0xa8]
mov dword [esp + 0xb8], edi
cmovae eax, ecx
mov byte [eax + edi], 0
mov byte [esp + 0x108], 5
lea ecx, [esi + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x24], eax
test eax, eax
je 0x40fc9e
mov edi, dword [ecx + 0x14]
cmp edi, 0x10
jb 0x40fc5c
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
jmp 0x40fc62
mov edx, ecx
mov dword [esp + 0x20], ecx
add eax, edx
cmp edi, 0x10
jb 0x40fc6d
mov edi, dword [ecx]
jmp 0x40fc6f
mov edi, ecx
cmp edi, eax
jae 0x40fc9e
movsx eax, byte [edi]
push 1
push eax
push 0x4a897c
call fcn.00427eb0
add esp, 0xc
test eax, eax
jne 0x40fd8f
mov eax, dword [esp + 0x20]
inc edi
add eax, dword [esp + 0x24]
cmp edi, eax
jb 0x40fc73
lea ecx, [esi + 0x10]
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x40fdf4
lea eax, [esp + 0xc8]
mov edx, 0x4a897c
push eax
lea ecx, [esp + 0x30]
call fcn.00413da0
add esp, 4
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40fcce
mov eax, dword [eax]
push ecx
push ecx
push eax
lea ecx, [esi + 0x10]
call fcn.00412a80
cmp eax, 0xffffffff
sete al
cmp dword [esp + 0x40], 0x10
mov byte [esp + 0x1b], al
jb 0x40fcfa
push dword [esp + 0x2c]
call fcn.0042490f
mov al, byte [esp + 0x1f]
add esp, 4
test al, al
je 0x40fd17
push 4
push ecx
push str._all
lea ecx, [esi + 0x10]
call fcn.00412a80
cmp eax, 0xffffffff
je 0x410020
push edi
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 0x10]
call fcn.00412710
mov edi, eax
lea eax, [esp + 0xa8]
cmp eax, edi
je 0x40fdde
cmp dword [esp + 0xbc], 0x10
jb 0x40fd51
push dword [esp + 0xa8]
call fcn.0042490f
add esp, 4
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
cmp dword [edi + 0x14], 0x10
jae 0x40fdaa
mov eax, dword [edi + 0x10]
inc eax
je 0x40fdb9
push eax
lea eax, [esp + 0xac]
push edi
push eax
call fcn.00427170
add esp, 0xc
jmp 0x40fdb9
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x40fda1
mov eax, dword [ecx]
sub edi, eax
jmp 0x40fca1
mov eax, ecx
sub edi, eax
jmp 0x40fca1
mov eax, dword [edi]
mov dword [esp + 0xa8], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0xb8], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0xbc], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esp + 0x40], 0x10
jb 0x40fdf1
push dword [esp + 0x2c]
call fcn.0042490f
add esp, 4
lea ecx, [esi + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x24], eax
test eax, eax
je 0x40ff43
mov edi, dword [ecx + 0x14]
cmp edi, 0x10
jb 0x40fe13
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
jmp 0x40fe19
mov edx, ecx
mov dword [esp + 0x20], ecx
add eax, edx
cmp edi, 0x10
jb 0x40fe24
mov edi, dword [ecx]
jmp 0x40fe26
mov edi, ecx
cmp edi, eax
jae 0x40ff43
mov edi, edi
movsx eax, byte [edi]
push 1
push eax
push 0x4a8c7c
call fcn.00427eb0
add esp, 0xc
test eax, eax
jne 0x40fe59
mov eax, dword [esp + 0x20]
inc edi
add eax, dword [esp + 0x24]
cmp edi, eax
jb 0x40fe30
jmp 0x40ff40
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x40fe66
mov eax, dword [ecx]
jmp 0x40fe68
mov eax, ecx
sub edi, eax
cmp edi, 0xffffffff
je 0x40ff43
mov eax, dword [ecx + 0x10]
sub eax, edi
sub eax, dword [esp + 0xd8]
sub eax, 2
push eax
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00412710
mov edi, eax
lea eax, [esp + 0xa8]
cmp eax, edi
je 0x40ff2d
cmp dword [esp + 0xbc], 0x10
jb 0x40febb
push dword [esp + 0xa8]
call fcn.0042490f
add esp, 4
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
cmp dword [edi + 0x14], 0x10
jae 0x40fef9
mov eax, dword [edi + 0x10]
inc eax
je 0x40ff08
push eax
lea eax, [esp + 0xac]
push edi
push eax
call fcn.00427170
add esp, 0xc
jmp 0x40ff08
mov eax, dword [edi]
mov dword [esp + 0xa8], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0xb8], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0xbc], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esp + 0x40], 0x10
jb 0x40ff40
push dword [esp + 0x2c]
call fcn.0042490f
add esp, 4
lea ecx, [esi + 0x10]
mov edi, dword [esp + 0xc0]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x40ffa2
mov ebx, eax
lea esp, [esp]
cmp dword [esp + 0xbc], 0x10
lea eax, [esp + 0xa8]
push dword [esp + 0xb8]
cmovae eax, dword [esp + 0xac]
lea ecx, [ebx + 0x10]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.00412be0
test eax, eax
jns 0x40ff94
mov ebx, dword [ebx + 8]
jmp 0x40ff98
mov edi, ebx
mov ebx, dword [ebx]
cmp byte [ebx + 0xd], 0
je 0x40ff60
mov ebx, dword [esp + 0x48]
cmp edi, dword [esp + 0xc0]
je 0x40ffd3
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x40ffb9
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0xc0]
push ecx
lea ecx, [esp + 0xb8]
call fcn.00412be0
test eax, eax
jns 0x41000c
lea eax, [esp + 0xa8]
push ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0xcc]
call fcn.00414ff0
push eax
add eax, 0x10
lea ecx, [esp + 0xc4]
push eax
push edi
lea eax, [esp + 0x50]
push eax
call fcn.004150b0
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
lea ecx, [edi + 0x28]
push 0xffffffffffffffff
push 0
add eax, 0x18
push eax
call fcn.00408c75
mov byte [esp + 0x108], 4
cmp dword [esp + 0xbc], 0x10
jb 0x410041
push dword [esp + 0xa8]
call fcn.0042490f
add esp, 4
cmp byte [esi + 0xd], 0
jne 0x410087
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41006c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x410087
lea ebx, [ebx]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x410060
jmp 0x410087
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x410085
cmp esi, dword [eax + 8]
jne 0x410085
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x410075
mov esi, eax
mov edx, 0xffffffff
cmp esi, ebx
jne 0x40fb46
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jne 0x40fb35
mov eax, dword [esp + 0xc4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040627a
mov edi, dword [esp + 0xc4]
xor ecx, ecx
add esp, 4
mov dword [esp + 0x1c], ecx
mov ebx, eax
mov dword [esp + 0x48], ebx
mov esi, dword [edi]
cmp esi, edi
je 0x4102ea
jmp 0x4100f0
lea ebx, [esi + 0x10]
cmp dword [ebx + 0x2c], 0x10
lea edx, [ebx + 0x18]
jb 0x410114
mov ecx, dword [edx]
jmp 0x410116
push str.invalid_string_position
call fcn.0044208b
push str.string_too_long
call fcn.0044205d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410120
sub ecx, dword [esp + 0x14]
cmp dword [edx + 0x14], 0x10
jb 0x410133
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], 0x67452301
mov dword [esp + 0x54], 0xefcdab89
mov dword [esp + 0x58], 0x98badcfe
mov dword [esp + 0x5c], 0x10325476
call fcn.004616a6
add esp, 4
lea ecx, [esp + 0x5f]
xor edx, edx
jmp 0x410180
movzx eax, byte [ecx - 3]
lea ecx, [ecx + 4]
mov byte [esp + edx + 0x24], al
movzx eax, byte [ecx - 6]
mov byte [esp + edx + 0x25], al
movzx eax, byte [ecx - 5]
mov byte [esp + edx + 0x26], al
movzx eax, byte [ecx - 4]
mov byte [esp + edx + 0x27], al
add edx, 4
cmp edx, 8
jb 0x410180
mov eax, dword [esp + 0x5c]
mov ecx, 0x38
shr eax, 3
and eax, 0x3f
cmp eax, 0x38
jb 0x4101c4
mov ecx, 0x78
sub ecx, eax
mov edx, 0x4b86f0
push ecx
lea ecx, [esp + 0x50]
call fcn.004616a6
add esp, 4
lea edx, [esp + 0x24]
lea ecx, [esp + 0x4c]
push 8
call fcn.004616a6
add esp, 4
lea ecx, [esp + 0x4f]
xor edx, edx
movzx eax, byte [ecx - 3]
lea ecx, [ecx + 4]
mov byte [esp + edx + 0xe0], al
movzx eax, byte [ecx - 6]
mov byte [esp + edx + 0xe1], al
movzx eax, byte [ecx - 5]
mov byte [esp + edx + 0xe2], al
movzx eax, byte [ecx - 4]
mov byte [esp + edx + 0xe3], al
add edx, 4
cmp edx, 0x10
jb 0x4101f0
push 0x20
call fcn.0040627a
push eax
mov edx, 0x10
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0xe8]
call fcn.0045a49b
mov ecx, dword [ebx + 0x10]
inc ecx
push ecx
call fcn.0040627a
add esp, 0xc
mov dword [esp + 0x14], eax
cmp dword [ebx + 0x14], 0x10
jb 0x41025d
mov ebx, dword [ebx]
mov ecx, eax
nop
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x410260
push 8
call fcn.0042493a
add esp, 4
test eax, eax
je 0x41028b
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
jmp 0x41028d
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov dword [ebx + ecx*4], eax
inc ecx
cmp byte [esi + 0xd], 0
mov dword [esp + 0x1c], ecx
jne 0x4102e2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4102c2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4102e2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4102b6
jmp 0x4102e2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4102e0
jmp 0x4102d0
cmp esi, dword [eax + 8]
jne 0x4102e0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4102d0
mov esi, eax
cmp esi, edi
jne 0x4100f0
mov dword [ebx + ecx*4], 0
lea ecx, [esp + 0xc0]
mov eax, dword [esp + 0xc0]
push eax
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.00412fd0
push dword [esp + 0xc0]
call fcn.0042490f
add esp, 4
cmp dword [esp + 0xdc], 0x10
jb 0x410334
push dword [esp + 0xc8]
call fcn.0042490f
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0042932e
mov esp, ebp
pop ebp
ret 4