Function at 0x406550
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ee9d7
mov eax, dword fs:[0]
push eax
mov eax, 0x2090
call fcn.005f3e50
mov eax, dword [0x977070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2094], eax
mov dword [ebp - 0x209c], 0
call fcn.004bad4e
mov ecx, eax
test ecx, ecx
jne 0x4065ac
push 0x80004005
call fcn.00402760
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2090], esi
push 0x100
mov dword [ebp - 4], 0
call fcn.004af905
add esp, 4
mov dword [ebp - 0x2098], eax
lea ecx, [ebp - 0x208c]
push 0x9468f0
call fcn.00404c30
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov ecx, dword [edi + 0x14]
cmp ecx, 1
jne 0x40676d
mov ebx, dword [edi]
test ebx, ebx
jne 0x406601
xor edx, edx
jmp 0x40663b
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406606
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x406624
xor edx, edx
jmp 0x40663b
add esi, esi
mov eax, esi
call fcn.005f4650
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00406e80
mov edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406640
sub ecx, esi
mov dword [ebp - 0x2078], 0
push ecx
lea ecx, [ebp - 0x207c]
mov dword [ebp - 0x207c], 0
mov dword [ebp - 0x2074], 0x67452301
mov dword [ebp - 0x2070], 0xefcdab89
mov dword [ebp - 0x206c], 0x98badcfe
mov dword [ebp - 0x2068], 0x10325476
call fcn.00415a80
add esp, 4
lea ecx, [ebp - 0x207c]
call fcn.00415b40
xor esi, esi
or ebx, 0xffffffff
push 0x10
lea eax, [ebp - 0x2088]
push eax
movzx eax, byte [ebp + esi - 0x2024]
push eax
call fcn.005fe868
lea ecx, [ebp - 0x2088]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4066c7
sub ecx, edx
cmp ecx, 1
jne 0x4066ef
mov al, byte [ebp - 0x2088]
mov byte [ebp - 0x2087], al
mov byte [ebp - 0x2088], 0x30
mov byte [ebp - 0x2086], 0
mov eax, dword [ebp - 0x208c]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x406705
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x406711
call fcn.004bad4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
lea eax, [ebp - 0x2088]
push eax
lea ecx, [ebp - 0x2080]
call fcn.00406ce0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x208c]
mov eax, dword [ebp - 0x2080]
push dword [eax - 0xc]
push eax
call fcn.00406db0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x2080]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40675e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, 0x10
jl 0x4066a4
jmp 0x406ba4
cmp ecx, 2
jne 0x406a74
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
jne 0x4067d8
mov ebx, dword [ebp - 0x2094]
mov ecx, ebx
push 0x9468f0
call fcn.00404c30
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x208c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4067b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4067d1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x406c25
push 0x78c1f4
push eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [edi + 0x50], 1
call fcn.005fea73
mov ebx, eax
add esp, 8
mov dword [ebp - 0x2080], ebx
test ebx, ebx
jne 0x406859
mov ebx, dword [ebp - 0x2094]
mov ecx, ebx
push eax
call fcn.00404c30
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x208c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406836
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4067d1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
jmp 0x406c25
push 2
push 0
push 0
push ebx
call fcn.005fed5b
add esp, 0x10
test eax, eax
jne 0x406881
push ebx
call fcn.005ff359
push ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
call fcn.005ff37a
add esp, 8
mov dword [ebp - 0x2078], 0
mov dword [ebp - 0x207c], 0
mov dword [ebp - 0x2074], 0x67452301
mov dword [ebp - 0x2070], 0xefcdab89
mov dword [ebp - 0x206c], 0x98badcfe
mov dword [ebp - 0x2068], 0x10325476
nop dword [eax]
push ebx
push 0x2000
lea eax, [ebp - 0x2014]
push 1
push eax
call fcn.005ff614
mov ebx, dword [edi + 0x44]
add esp, 0x10
mov ecx, dword [edi + 0x40]
mov esi, eax
test ebx, ebx
jl 0x406901
jg 0x4068e9
test ecx, ecx
je 0x406901
mov eax, esi
cdq
add eax, dword [edi + 0x48]
adc edx, dword [edi + 0x4c]
cmp edx, ebx
jl 0x406901
jg 0x4068fc
cmp eax, ecx
jbe 0x406901
mov esi, ecx
sub esi, dword [edi + 0x48]
mov eax, esi
lea ecx, [ebp - 0x207c]
cdq
add dword [edi + 0x48], eax
push esi
adc dword [edi + 0x4c], edx
lea edx, [ebp - 0x2014]
call fcn.00415a80
add esp, 4
cmp esi, 0x2000
jl 0x406957
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
mov ebx, dword [ebp - 0x2080]
test ecx, ecx
jl 0x4068c0
jg 0x40693d
test eax, eax
je 0x4068c0
mov ebx, dword [ebp - 0x2080]
cmp dword [edi + 0x4c], ecx
jl 0x4068c0
jg 0x406957
cmp dword [edi + 0x48], eax
jb 0x4068c0
push dword [ebp - 0x2080]
call fcn.005ff73a
add esp, 4
lea ecx, [ebp - 0x207c]
call fcn.00415b40
cmp dword [edi + 0x4c], 0
jl 0x406a56
jg 0x406986
cmp dword [edi + 0x48], 0
jbe 0x406a56
xor esi, esi
or ebx, 0xffffffff
nop dword [eax + eax]
push 0x10
lea eax, [ebp - 0x2088]
push eax
movzx eax, byte [ebp + esi - 0x2024]
push eax
call fcn.005fe868
lea ecx, [ebp - 0x2088]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4069b3
sub ecx, edx
cmp ecx, 1
jne 0x4069db
mov al, byte [ebp - 0x2088]
mov byte [ebp - 0x2087], al
mov byte [ebp - 0x2088], 0x30
mov byte [ebp - 0x2086], 0
mov eax, dword [ebp - 0x208c]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4069f1
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x4069fd
call fcn.004bad4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
lea eax, [ebp - 0x2088]
push eax
lea ecx, [ebp - 0x2080]
call fcn.00406ce0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x208c]
mov eax, dword [ebp - 0x2080]
push dword [eax - 0xc]
push eax
call fcn.00406db0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x2080]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406a4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, 0x10
jl 0x406990
jmp 0x406a59
or ebx, 0xffffffff
lea eax, [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x2090]
call fcn.00404e70
mov byte [edi + 0x50], 0
jmp 0x406bb6
cmp ecx, 3
jne 0x406bbc
push dword [edi + 0x38]
mov edx, dword [edi + 0x34]
lea ecx, [ebp - 0x207c]
mov dword [ebp - 0x2078], 0
mov dword [ebp - 0x207c], 0
mov dword [ebp - 0x2074], 0x67452301
mov dword [ebp - 0x2070], 0xefcdab89
mov dword [ebp - 0x206c], 0x98badcfe
mov dword [ebp - 0x2068], 0x10325476
call fcn.00415a80
add esp, 4
lea ecx, [ebp - 0x207c]
call fcn.00415b40
xor esi, esi
nop word [eax + eax]
push 0x10
lea eax, [ebp - 0x2088]
push eax
movzx eax, byte [ebp + esi - 0x2024]
push eax
call fcn.005fe868
lea ecx, [ebp - 0x2088]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406b03
sub ecx, edx
cmp ecx, 1
jne 0x406b2b
mov al, byte [ebp - 0x2088]
mov byte [ebp - 0x2087], al
mov byte [ebp - 0x2088], 0x30
mov byte [ebp - 0x2086], 0
mov eax, dword [ebp - 0x208c]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x406b41
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x406b4d
call fcn.004bad4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
lea eax, [ebp - 0x2088]
push eax
lea ecx, [ebp - 0x2080]
call fcn.00406ce0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x208c]
mov eax, dword [ebp - 0x2080]
push dword [eax - 0xc]
push eax
call fcn.00406db0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x2080]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406b9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, 0x10
jl 0x406ae0
lea eax, [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x2090]
call fcn.00404e70
mov esi, dword [ebp - 0x2090]
movups xmm0, xmmword [ebp - 0x2024]
push dword [ebp - 0x2098]
movups xmmword [edi + 0x1c], xmm0
call fcn.004af900
add esi, 0xfffffff0
push esi
call fcn.00404ee0
mov edi, dword [ebp - 0x2094]
add eax, 0x10
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp - 0x208c]
add edx, 0xfffffff0
mov dword [edi], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406c0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x406c23
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea esp, [ebp - 0x20ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f354f
mov esp, ebp
pop ebp
ret 4