Function at 0x404c78
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.00414323
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x48c597
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 0x404d31
mov eax, 0x48c10c
push eax
push 1
mov ebx, 0x414880
call fcn.00414317
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x10000000
jl 0x404d5e
mov eax, 0x48c11d
jmp 0x405144
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, 0x4146b0
call fcn.00414317
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.0040291d
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x38
jg 0x404dcd
fld qword [0x48c56a]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040291d
mov dword [ebp - 0x1c], eax
jmp 0x404dea
fld qword [0x48c572]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040291d
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fmul qword [0x48c57a]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040291d
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
jle 0x404e91
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x48c29c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040291d
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x415ab0
call fcn.00414317
add esp, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push 0x48c582
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 3
call fcn.004012eb
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x404e75
push ebx
call fcn.0041430b
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404e8b
push ebx
call fcn.0041430b
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, 0x4157b0
call fcn.00414317
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x48c58b
push dword [ebp - 0x38]
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 3
call fcn.004012eb
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404edd
push ebx
call fcn.0041430b
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404ef3
push ebx
call fcn.0041430b
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x40507b
lea eax, [ebp - 0x20]
mov ebx, eax
mov ecx, 1
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x10
jg 0x40500a
mov ebx, dword [ebp - 0x24]
call fcn.00403095
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x404f37
push 4
call fcn.00414329
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404f4a
push 1
call fcn.00414329
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 0x404f7e
mov eax, 0x48c10c
push eax
push 3
mov ebx, 0x4158b0
call fcn.00414317
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 0x404fb2
and eax, 0xff
jmp 0x404ffd
cmp ecx, 0x80000201
jne 0x404fbd
cwde
jmp 0x404ffd
cmp ecx, 0x80000301
je 0x404ffd
cmp ecx, 0x80000401
je 0x404ffd
mov dword [ebp - 0x4c], eax
cmp ecx, 0x80000501
je 0x404fed
cmp ecx, 0x80000601
je 0x404ff2
push 2
call fcn.00414329
add esp, 4
fld dword [ebp - 0x4c]
jmp 0x404ff8
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.0040291d
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
pop ebx
pop ecx
inc ecx
jmp 0x404f0d
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.00405158
push dword [ebp - 0x28]
push dword [ebp - 4]
call fcn.004065fa
mov dword [ebp - 4], eax
push dword [ebp - 0x2c]
push dword [ebp - 8]
call fcn.004065fa
mov dword [ebp - 8], eax
push dword [ebp - 0x30]
push dword [ebp - 0xc]
call fcn.004065fa
mov dword [ebp - 0xc], eax
push dword [ebp - 0x34]
push dword [ebp - 0x10]
call fcn.004065fa
mov dword [ebp - 0x10], eax
jmp 0x404ef9
push dword [ebp - 4]
call fcn.00406bdb
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
call fcn.00406bdb
mov dword [ebp - 0x3c], eax
push dword [ebp - 0xc]
call fcn.00406bdb
mov dword [ebp - 0x40], eax
push dword [ebp - 0x10]
call fcn.00406bdb
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.00401160
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4050d3
push ebx
call fcn.0041430b
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4050e3
push ebx
call fcn.0041430b
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4050f3
push ebx
call fcn.0041430b
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405103
push ebx
call fcn.0041430b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x405116
mov eax, 0x48c11d
push eax
push 1
mov ebx, 0x414e90
call fcn.00414317
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40513c
push ebx
call fcn.0041430b
add esp, 4
mov eax, dword [ebp - 0x4c]
jmp 0x405144
push eax
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.0041430b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4