Function at 0x404d78
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0x48
call fcn.00407a19
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x4ad431
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0x67452301
mov dword [ebp - 8], 0xefcdab89
mov dword [ebp - 0xc], 0x98badcfe
mov dword [ebp - 0x10], 0x10325476
mov dword [ebp - 0x14], 1
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x404e31
mov eax, 0x48993f
push eax
push 1
mov ebx, 0x407e80
call fcn.00407a25
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x10000000
jl 0x404e5e
mov eax, 0x489934
jmp 0x40520b
push 0x80000601
push 0x40500000
push 0
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 2
mov ebx, 0x407d20
call fcn.00407a25
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.0040282f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x38
jg 0x404ecd
fld qword [0x4ad404]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040282f
mov dword [ebp - 0x1c], eax
jmp 0x404eea
fld qword [0x4ad40c]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040282f
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fmul qword [0x4ad414]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040282f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
jle 0x404f91
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x4ad391]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040282f
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x4086a0
call fcn.00407a25
add esp, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push 0x4ad41c
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 3
call fcn.00404d21
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x404f75
push ebx
call fcn.00407a1f
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404f8b
push ebx
call fcn.00407a1f
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x408430
call fcn.00407a25
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4ad425
push dword [ebp - 0x38]
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 3
call fcn.00404d21
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404fdd
push ebx
call fcn.00407a1f
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ff3
push ebx
call fcn.00407a1f
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x40517b
lea eax, [ebp - 0x20]
mov ebx, eax
mov ecx, 1
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x10
jg 0x40510a
mov ebx, dword [ebp - 0x24]
call fcn.00401792
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x405037
push 4
call fcn.00407a2b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40504a
push 1
call fcn.00407a2b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
push 0xa0000301
push 0
lea eax, [ebp - 0x14]
push eax
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40507e
mov eax, 0x48993f
push eax
push 3
mov ebx, 0x4084e0
call fcn.00407a25
add esp, 0x28
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
cmp ecx, 0x80000101
jne 0x4050b2
and eax, 0xff
jmp 0x4050fd
cmp ecx, 0x80000201
jne 0x4050bd
cwde
jmp 0x4050fd
cmp ecx, 0x80000301
je 0x4050fd
cmp ecx, 0x80000401
je 0x4050fd
mov dword [ebp - 0x4c], eax
cmp ecx, 0x80000501
je 0x4050ed
cmp ecx, 0x80000601
je 0x4050f2
push 2
call fcn.00407a2b
add esp, 4
fld dword [ebp - 0x4c]
jmp 0x4050f8
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.0040282f
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
pop ebx
pop ecx
inc ecx
jmp 0x40500d
add esp, 8
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040521f
push dword [ebp - 0x28]
push dword [ebp - 4]
call fcn.004066c1
mov dword [ebp - 4], eax
push dword [ebp - 0x2c]
push dword [ebp - 8]
call fcn.004066c1
mov dword [ebp - 8], eax
push dword [ebp - 0x30]
push dword [ebp - 0xc]
call fcn.004066c1
mov dword [ebp - 0xc], eax
push dword [ebp - 0x34]
push dword [ebp - 0x10]
call fcn.004066c1
mov dword [ebp - 0x10], eax
jmp 0x404ff9
push dword [ebp - 4]
call fcn.00406ca2
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
call fcn.00406ca2
mov dword [ebp - 0x3c], eax
push dword [ebp - 0xc]
call fcn.00406ca2
mov dword [ebp - 0x40], eax
push dword [ebp - 0x10]
call fcn.00406ca2
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
mov ecx, 4
call fcn.0040110c
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4051d3
push ebx
call fcn.00407a1f
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4051e3
push ebx
call fcn.00407a1f
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4051f3
push ebx
call fcn.00407a1f
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405203
push ebx
call fcn.00407a1f
add esp, 4
mov eax, dword [ebp - 0x48]
jmp 0x40520b
push eax
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.00407a1f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4