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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e4347
mov eax, dword fs:[0]
push eax
mov eax, 0x2098
call fcn.005e9a80
mov eax, dword [0x7cf070]
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 dword [ebp - 0x2098], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2094], eax
mov dword [ebp - 0x20a0], eax
mov dword [ebp - 0x20a4], 0
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x406aa8
push 0x80004005
call fcn.00402890
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.004a5457
add esp, 4
mov dword [ebp - 0x209c], eax
mov ecx, str.BKKLLLLLTbpx2_DS_aijx48_FPUdlox__:IIM_
call fcn.0045f920
push eax
lea ecx, [ebp - 0x2084]
call fcn.00404e10
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 1
jne 0x406c80
mov ebx, dword [edi]
test ebx, ebx
jne 0x406afe
xor edx, edx
jmp 0x406b38
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406b03
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x406b21
xor edx, edx
jmp 0x406b38
add esi, esi
mov eax, esi
call fcn.005ea280
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004072c0
mov edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406b40
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.0040da30
add esp, 4
lea ecx, [ebp - 0x207c]
call fcn.0040daf0
xor esi, esi
or ebx, 0xffffffff
push 0x10
lea eax, [ebp - 0x208c]
push eax
movzx eax, byte [ebp + esi - 0x2024]
push eax
call fcn.005f44d3
lea ecx, [ebp - 0x208c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406bc7
sub ecx, edx
cmp ecx, 1
jne 0x406bef
mov al, byte [ebp - 0x208c]
mov byte [ebp - 0x208b], al
mov byte [ebp - 0x208c], 0x30
mov byte [ebp - 0x208a], 0
mov eax, dword [ebp - 0x2084]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x406c05
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x406c11
call fcn.004b08d6
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
lea eax, [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x2080]
call fcn.00407120
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2084]
mov eax, dword [ebp - 0x2080]
push dword [eax - 0xc]
push eax
call fcn.004071f0
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 0x406c5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, 0x10
jl 0x406ba4
lea eax, [ebp - 0x2084]
push eax
lea ecx, [ebp - 0x2090]
call fcn.00405050
mov esi, dword [ebp - 0x2090]
cmp dword [edi + 0x14], 2
jne 0x406fa6
mov ebx, dword [edi + 8]
cmp dword [ebx - 0xc], 0
jne 0x406cf4
mov ecx, str.MRUcccccft_0BCQVdpqq_25_IIOVelmp_3_J
call fcn.0045f920
mov edi, dword [ebp - 0x2094]
mov ecx, edi
push eax
call fcn.00404e10
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x2084]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406ccf
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], ebx
dec ebx
test ebx, ebx
jg 0x407013
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x407013
mov ecx, str.LPTccccckuv_4_MS____aajx_277BBLMYhtt.7
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov byte [edi + 0x48], 1
call fcn.0045f920
push eax
push ebx
call fcn.005f46de
mov ebx, eax
add esp, 8
mov dword [ebp - 0x2080], ebx
test ebx, ebx
jne 0x406d86
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x406d3b
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0x2094]
add eax, 0x10
mov dword [edi], eax
push 0
push 0
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00404fa0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x2084]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406d7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
jmp 0x406ffa
push 2
push 0
push 0
push ebx
call fcn.005f49c6
add esp, 0x10
test eax, eax
jne 0x406db1
push ebx
call fcn.005f4fc4
add esp, 4
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
push ebx
call fcn.005f4fe5
add esp, 4
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.005f527f
mov ebx, dword [edi + 0x3c]
add esp, 0x10
mov ecx, dword [edi + 0x38]
mov esi, eax
test ebx, ebx
jl 0x406e31
jg 0x406e19
test ecx, ecx
je 0x406e31
mov eax, esi
cdq
add eax, dword [edi + 0x40]
adc edx, dword [edi + 0x44]
cmp edx, ebx
jl 0x406e31
jg 0x406e2c
cmp eax, ecx
jbe 0x406e31
mov esi, ecx
sub esi, dword [edi + 0x40]
mov eax, esi
lea ecx, [ebp - 0x207c]
cdq
add dword [edi + 0x40], eax
push esi
adc dword [edi + 0x44], edx
lea edx, [ebp - 0x2014]
call fcn.0040da30
add esp, 4
cmp esi, 0x2000
jl 0x406e87
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
mov ebx, dword [ebp - 0x2080]
test ecx, ecx
jl 0x406df0
jg 0x406e6d
test eax, eax
je 0x406df0
mov ebx, dword [ebp - 0x2080]
cmp dword [edi + 0x44], ecx
jl 0x406df0
jg 0x406e87
cmp dword [edi + 0x40], eax
jb 0x406df0
push dword [ebp - 0x2080]
call fcn.005f5426
add esp, 4
lea ecx, [ebp - 0x207c]
call fcn.0040daf0
cmp dword [edi + 0x44], 0
jl 0x406f8a
jg 0x406eb6
cmp dword [edi + 0x40], 0
jbe 0x406f8a
xor esi, esi
or edi, 0xffffffff
nop dword [eax + eax]
push 0x10
lea eax, [ebp - 0x208c]
push eax
movzx eax, byte [ebp + esi - 0x2024]
push eax
call fcn.005f44d3
lea ecx, [ebp - 0x208c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ee3
sub ecx, edx
cmp ecx, 1
jne 0x406f0b
mov al, byte [ebp - 0x208c]
mov byte [ebp - 0x208b], al
mov byte [ebp - 0x208c], 0x30
mov byte [ebp - 0x208a], 0
mov eax, dword [ebp - 0x2084]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x406f21
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x406f2d
call fcn.004b08d6
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
lea eax, [ebp - 0x208c]
push eax
lea ecx, [ebp - 0x2080]
call fcn.00407120
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2084]
mov eax, dword [ebp - 0x2080]
push dword [eax - 0xc]
push eax
call fcn.004071f0
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x2080]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406f7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, 0x10
jl 0x406ec0
mov edi, dword [ebp - 0x2098]
lea eax, [ebp - 0x2084]
push eax
lea ecx, [ebp - 0x2090]
call fcn.00405050
mov esi, dword [ebp - 0x2090]
mov byte [edi + 0x48], 0
movups xmm0, xmmword [ebp - 0x2024]
push dword [ebp - 0x209c]
movups xmmword [edi + 0x1c], xmm0
call fcn.004a5452
add esp, 4
add esi, 0xfffffff0
push esi
call fcn.004050c0
mov edi, dword [ebp - 0x2094]
add eax, 0x10
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x2084]
add esp, 4
add edx, 0xfffffff0
mov dword [edi], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406ffa
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 0x407013
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea esp, [ebp - 0x20b4]
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.005e9199
mov esp, ebp
pop ebp
ret 4