Function at 0x4105d0
Capabilities:
Hash data with md5
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42e4dd
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x43b050]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [eax + 0x1c]
mov dword [esp + 0x3c], eax
call fcn.004189a0
xor edi, edi
mov dword [esp + 0x118], edi
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, ebx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jb 0x4109b7
mov edi, ebx
cmp esi, ebx
jbe 0x410668
call fcn.004204b3
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], esi
cmp esi, ebx
jbe 0x41067d
call fcn.004204b3
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
push edi
mov dword [esp + 0x18], edi
call fcn.00410b50
mov ebx, eax
mov eax, dword [esp + 0x30]
add esp, 4
mov edi, eax
cmp dword [esp + 0x28], eax
jbe 0x4106a5
call fcn.004204b3
mov eax, dword [esp + 0x1c]
push edi
push eax
push ebx
push esi
lea ebx, [esp + 0x20]
lea esi, [esp + 0x2c]
call fcn.00410a70
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp edi, eax
jbe 0x4106cf
call fcn.004204b3
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
jmp 0x4106e0
mov dword [esp + 0x34], eax
cmp dword [esp + 0x28], eax
jbe 0x4106ef
call fcn.004204b3
xor ebx, ebx
cmp esi, ebx
je 0x4106fb
cmp esi, dword [esp + 0x1c]
je 0x410700
call fcn.004204b3
cmp edi, dword [esp + 0x34]
je 0x41094a
cmp esi, ebx
jne 0x41093f
call fcn.004204b3
xor esi, esi
cmp edi, dword [esi + 0x10]
jb 0x410723
call fcn.004204b3
push 0xffffffffffffffff
push ebx
xor edx, edx
push edi
lea ecx, [esp + 0x84]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], dx
call fcn.004048d0
lea ecx, [esp + 0x78]
lea edi, [esp + 0x40]
mov byte [esp + 0x118], 1
call fcn.00417ab0
push 7
push str.SYN.ACK
mov eax, edi
mov byte [esp + 0x120], 2
call fcn.0040ddb0
push 0x40
lea eax, [esp + 0xac]
push ebx
push eax
mov dword [esp + 0xa0], vtable.CMD5Checksum.0
call fcn.00421960
add esp, 0xc
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xf0], 0x67452301
mov dword [esp + 0xf4], 0xefcdab89
mov dword [esp + 0xf8], 0x98badcfe
mov dword [esp + 0xfc], 0x10325476
mov byte [esp + 0x118], 3
cmp dword [esp + 0x58], 0x10
mov eax, dword [esp + 0x44]
jae 0x4107e9
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x54]
push ecx
lea esi, [esp + 0x1c]
lea edi, [esp + 0x98]
call fcn.00417060
mov byte [esp + 0x118], 4
mov eax, dword [eax]
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.0040db60
mov byte [esp + 0x118], 5
mov ecx, dword [eax]
mov edi, 0xf
mov eax, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x410834
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x64]
call fcn.004015d0
mov byte [esp + 0x118], 7
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410898
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x5c]
push ecx
add ebx, 4
call fcn.0040da10
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x4108c1
mov edx, dword [esp + 0x60]
push edx
call fcn.0041f860
add esp, 4
xor ebx, ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x58], esi
jb 0x4108e2
mov eax, dword [esp + 0x44]
push eax
call fcn.0041f860
add esp, 4
mov byte [esp + 0x118], bl
cmp dword [esp + 0x90], 8
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x41090c
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0041f860
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x410946
call fcn.004204b3
xor eax, eax
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x10]
jb 0x410929
call fcn.004204b3
add dword [esp + 0x14], 0x1c
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x4106e0
mov esi, dword [esi]
jmp 0x410719
mov eax, dword [eax]
jmp 0x41091b
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x10], eax
jbe 0x41095f
call fcn.004204b3
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 0x14]
jbe 0x410977
call fcn.004204b3
mov eax, dword [esp + 0x10]
mov edi, dword [edi + 4]
cmp eax, ebx
je 0x410982
cmp eax, edi
je 0x410987
call fcn.004204b3
mov edi, dword [esp + 0x18]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.0040e6a0
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
add esp, 0xc
xor edi, edi
cmp esi, edi
je 0x4109db
mov ecx, dword [esp + 0x18]
push ecx
mov edi, ebx
mov eax, esi
call fcn.00410c30
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
call fcn.0041f860
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.0041f860
add esp, 4
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.0041f86b
mov esp, ebp
pop ebp
ret 4