Function at 0x403784
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.004156e9
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x4915cc
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 0x40383d
mov eax, 0x491493
push eax
push 1
mov ebx, 0x415c10
call fcn.004156fb
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x10000000
jl 0x40386a
mov eax, 0x49148d
jmp 0x403c17
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, 0x415ab0
call fcn.004156fb
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.004010e4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x38
jg 0x4038d9
fld qword [0x49159f]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004010e4
mov dword [ebp - 0x1c], eax
jmp 0x4038f6
fld qword [0x4915a7]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004010e4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fmul qword [0x4915af]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004010e4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
jle 0x40399d
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x491485]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004010e4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x416e20
call fcn.004156fb
add esp, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x48]
push 0x4915b7
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 3
call fcn.0040372d
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x403981
push ebx
call fcn.004156e3
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403997
push ebx
call fcn.004156e3
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, 0x416bb0
call fcn.004156fb
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4915c0
push dword [ebp - 0x38]
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 3
call fcn.0040372d
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4039e9
push ebx
call fcn.004156e3
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4039ff
push ebx
call fcn.004156e3
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x403b87
lea eax, [ebp - 0x20]
mov ebx, eax
mov ecx, 1
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x10
jg 0x403b16
mov ebx, dword [ebp - 0x24]
call fcn.0040110b
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x403a43
push 4
call fcn.004156ef
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403a56
push 1
call fcn.004156ef
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 0x403a8a
mov eax, 0x491493
push eax
push 3
mov ebx, 0x416c60
call fcn.004156fb
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 0x403abe
and eax, 0xff
jmp 0x403b09
cmp ecx, 0x80000201
jne 0x403ac9
cwde
jmp 0x403b09
cmp ecx, 0x80000301
je 0x403b09
cmp ecx, 0x80000401
je 0x403b09
mov dword [ebp - 0x4c], eax
cmp ecx, 0x80000501
je 0x403af9
cmp ecx, 0x80000601
je 0x403afe
push 2
call fcn.004156ef
add esp, 4
fld dword [ebp - 0x4c]
jmp 0x403b04
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.004010e4
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
pop ebx
pop ecx
inc ecx
jmp 0x403a19
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.00403c2b
push dword [ebp - 0x28]
push dword [ebp - 4]
call fcn.004050cd
mov dword [ebp - 4], eax
push dword [ebp - 0x2c]
push dword [ebp - 8]
call fcn.004050cd
mov dword [ebp - 8], eax
push dword [ebp - 0x30]
push dword [ebp - 0xc]
call fcn.004050cd
mov dword [ebp - 0xc], eax
push dword [ebp - 0x34]
push dword [ebp - 0x10]
call fcn.004050cd
mov dword [ebp - 0x10], eax
jmp 0x403a05
push dword [ebp - 4]
call fcn.004056ae
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
call fcn.004056ae
mov dword [ebp - 0x3c], eax
push dword [ebp - 0xc]
call fcn.004056ae
mov dword [ebp - 0x40], eax
push dword [ebp - 0x10]
call fcn.004056ae
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.00401088
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x403bdf
push ebx
call fcn.004156e3
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x403bef
push ebx
call fcn.004156e3
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403bff
push ebx
call fcn.004156e3
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x403c0f
push ebx
call fcn.004156e3
add esp, 4
mov eax, dword [ebp - 0x48]
jmp 0x403c17
push eax
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.004156e3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4