Function at 0x404d80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455c03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x334
push ebx
push esi
push edi
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x300], ecx
mov dword [ebp - 0x150], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
lea eax, [ebp + 8]
push eax
call fcn.0040d600
mov dword [ebp - 0x324], eax
mov ecx, dword [0x46af70]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
jmp 0x404df5
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x30c]
jae 0x40585e
mov eax, dword [0x469a74]
cdq
mov esi, eax
mov edi, edx
add esi, 1
adc edi, 0
mov eax, dword [0x469a70]
cdq
add eax, 9
adc edx, 0
push 0
push 0x8d91
push edx
push eax
call fcn.0042f150
mov ecx, eax
mov ebx, edx
add ecx, 0x36
adc ebx, 0
mov eax, dword [0x469a70]
cdq
add eax, 1
adc edx, 0
push edx
push eax
push ebx
push ecx
call fcn.0042f150
add esi, eax
adc edi, edx
add esi, 0x8d91
adc edi, 0
push edi
push esi
call fcn.004026e0
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], edx
mov edx, dword [ebp - 0x31c]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x14], 0x10
jb 0x404ea9
mov dword [ebp - 0x18c], 1
jmp 0x404eb3
mov dword [ebp - 0x18c], 0
mov al, byte [ebp - 0x18c]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x404edb
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ecx]
mov byte [ebp - 0x12], dl
movsx eax, byte [ebp - 0x12]
cdq
xor eax, dword [ebp - 0x318]
mov ecx, dword [ebp - 0x3c]
mov byte [ecx], al
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x14], 0x10
jb 0x404f32
mov dword [ebp - 0xc0], 1
jmp 0x404f3c
mov dword [ebp - 0xc0], 0
mov dl, byte [ebp - 0xc0]
mov byte [ebp - 0x13], dl
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x404f64
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x1b4], edx
mov eax, dword [ebp - 0x1b4]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x405012
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x14], 0x10
jb 0x404fb7
mov dword [ebp - 0xc8], 1
jmp 0x404fc1
mov dword [ebp - 0xc8], 0
mov dl, byte [ebp - 0xc8]
mov byte [ebp - 0x14], dl
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x404fe9
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov dword [ebp - 0x1b8], edx
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1bc]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1c0]
mov byte [eax], 0x55
jmp 0x405859
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 0x10
jb 0x405039
mov dword [ebp - 0xd0], 1
jmp 0x405043
mov dword [ebp - 0xd0], 0
mov cl, byte [ebp - 0xd0]
mov byte [ebp - 0x15], cl
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x40506b
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1cc], ecx
mov edx, dword [ebp - 0x1cc]
movsx eax, byte [edx]
cmp eax, 0x55
jne 0x40511a
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 0x10
jb 0x4050bf
mov dword [ebp - 0xd8], 1
jmp 0x4050c9
mov dword [ebp - 0xd8], 0
mov cl, byte [ebp - 0xd8]
mov byte [ebp - 0x16], cl
movzx edx, byte [ebp - 0x16]
test edx, edx
je 0x4050f1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1d8]
mov byte [edx], 0xff
jmp 0x405859
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x14], 0x10
jb 0x405141
mov dword [ebp - 0xe0], 1
jmp 0x40514b
mov dword [ebp - 0xe0], 0
mov al, byte [ebp - 0xe0]
mov byte [ebp - 0x17], al
movzx ecx, byte [ebp - 0x17]
test ecx, ecx
je 0x405173
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x1e0]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
movsx edx, byte [ecx]
cmp edx, 0xffffffff
jne 0x405222
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x14], 0x10
jb 0x4051c7
mov dword [ebp - 0xe8], 1
jmp 0x4051d1
mov dword [ebp - 0xe8], 0
mov al, byte [ebp - 0xe8]
mov byte [ebp - 0x18], al
movzx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x4051f9
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x1ec], edx
mov eax, dword [ebp - 0x1ec]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
mov byte [ecx], 0xfd
jmp 0x405859
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x14], 0x10
jb 0x405249
mov dword [ebp - 0xf0], 1
jmp 0x405253
mov dword [ebp - 0xf0], 0
mov dl, byte [ebp - 0xf0]
mov byte [ebp - 0x19], dl
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x40527b
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp - 0x1f8]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x1fc], edx
mov eax, dword [ebp - 0x1fc]
movsx ecx, byte [eax]
cmp ecx, 0xfffffffd
jne 0x40532a
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 0x14], 0x10
jb 0x4052cf
mov dword [ebp - 0xf8], 1
jmp 0x4052d9
mov dword [ebp - 0xf8], 0
mov dl, byte [ebp - 0xf8]
mov byte [ebp - 0x1a], dl
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x405301
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov dword [ebp - 0x200], edx
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x204]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x208], edx
mov eax, dword [ebp - 0x208]
mov byte [eax], 0xde
jmp 0x405859
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x14], 0x10
jb 0x405351
mov dword [ebp - 0x100], 1
jmp 0x40535b
mov dword [ebp - 0x100], 0
mov cl, byte [ebp - 0x100]
mov byte [ebp - 0x1b], cl
movzx edx, byte [ebp - 0x1b]
test edx, edx
je 0x405383
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
movsx eax, byte [edx]
cmp eax, 0xffffffde
jne 0x405432
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x4053d7
mov dword [ebp - 0x108], 1
jmp 0x4053e1
mov dword [ebp - 0x108], 0
mov cl, byte [ebp - 0x108]
mov byte [ebp - 0x1c], cl
movzx edx, byte [ebp - 0x1c]
test edx, edx
je 0x405409
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x220]
mov byte [edx], 5
jmp 0x405859
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0x14], 0x10
jb 0x405459
mov dword [ebp - 0x110], 1
jmp 0x405463
mov dword [ebp - 0x110], 0
mov al, byte [ebp - 0x110]
mov byte [ebp - 0x1d], al
movzx ecx, byte [ebp - 0x1d]
test ecx, ecx
je 0x40548b
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
movsx edx, byte [ecx]
cmp edx, 5
jne 0x40553a
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x14], 0x10
jb 0x4054df
mov dword [ebp - 0x118], 1
jmp 0x4054e9
mov dword [ebp - 0x118], 0
mov al, byte [ebp - 0x118]
mov byte [ebp - 0x1e], al
movzx ecx, byte [ebp - 0x1e]
test ecx, ecx
je 0x405511
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov byte [ecx], 1
jmp 0x405859
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x14], 0x10
jb 0x405561
mov dword [ebp - 0x120], 1
jmp 0x40556b
mov dword [ebp - 0x120], 0
mov dl, byte [ebp - 0x120]
mov byte [ebp - 0x1f], dl
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x405593
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x240], ecx
mov edx, dword [ebp - 0x240]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
movsx ecx, byte [eax]
cmp ecx, 1
jne 0x405642
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x14], 0x10
jb 0x4055e7
mov dword [ebp - 0x128], 1
jmp 0x4055f1
mov dword [ebp - 0x128], 0
mov dl, byte [ebp - 0x128]
mov byte [ebp - 0x20], dl
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x405619
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x250]
mov byte [eax], 0xa
jmp 0x405859
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x14], 0x10
jb 0x405669
mov dword [ebp - 0x130], 1
jmp 0x405673
mov dword [ebp - 0x130], 0
mov cl, byte [ebp - 0x130]
mov byte [ebp - 0x21], cl
movzx edx, byte [ebp - 0x21]
test edx, edx
je 0x40569b
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
movsx eax, byte [edx]
cmp eax, 0xa
jne 0x40574a
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x14], 0x10
jb 0x4056ef
mov dword [ebp - 0x138], 1
jmp 0x4056f9
mov dword [ebp - 0x138], 0
mov cl, byte [ebp - 0x138]
mov byte [ebp - 0x22], cl
movzx edx, byte [ebp - 0x22]
test edx, edx
je 0x405721
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x268]
mov byte [edx], 0x80
jmp 0x405859
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x80]
cmp dword [edx + 0x14], 0x10
jb 0x405771
mov dword [ebp - 0x140], 1
jmp 0x40577b
mov dword [ebp - 0x140], 0
mov al, byte [ebp - 0x140]
mov byte [ebp - 0x23], al
movzx ecx, byte [ebp - 0x23]
test ecx, ecx
je 0x4057a3
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
movsx edx, byte [ecx]
cmp edx, 0xffffff80
jne 0x405859
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x14], 0x10
jb 0x405800
mov dword [ebp - 0x148], 1
jmp 0x40580a
mov dword [ebp - 0x148], 0
mov al, byte [ebp - 0x148]
mov byte [ebp - 0x24], al
movzx ecx, byte [ebp - 0x24]
test ecx, ecx
je 0x405835
mov edx, dword [ebp - 0x84]
mov eax, dword [edx]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x27c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
mov byte [ecx], 0
jmp 0x404dec
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x340]
call fcn.0040d430
mov eax, dword [ebp - 0x150]
or eax, 1
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.0040f260
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x288], edx
mov eax, dword [ebp - 0x288]
push eax
lea ecx, [ebp + 8]
call fcn.0040d3d0
lea ecx, [ebp - 0x340]
call fcn.0040f260
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x28c], ecx
movzx edx, byte [ebp - 0x31]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.00413140
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x320], eax
lea ecx, [ebp - 0x1a4]
call fcn.0040f350
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x290]
add edx, 0xc
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [ebp - 0x154]
ja 0x40593d
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x1a4]
call fcn.0040f390
jmp 0x405957
push 0
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.0040f520
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0x14], 0x10
jb 0x405987
mov dword [ebp - 0x158], 1
jmp 0x405991
mov dword [ebp - 0x158], 0
mov cl, byte [ebp - 0x158]
mov byte [ebp - 0x25], cl
movzx edx, byte [ebp - 0x25]
test edx, edx
je 0x4059bc
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x29c]
mov dword [edx], 0xabbadaad
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2b0], ecx
lea edx, [ebp - 0x1a4]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x90]
cmp dword [ecx + 0x14], 0x10
jb 0x405a25
mov dword [ebp - 0x160], 1
jmp 0x405a2f
mov dword [ebp - 0x160], 0
mov dl, byte [ebp - 0x160]
mov byte [ebp - 0x26], dl
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x405a5a
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx]
mov dword [ebp - 0x2a4], edx
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2b0]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x1a4]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x94]
cmp dword [ecx + 0x14], 0x10
jb 0x405ab1
mov dword [ebp - 0x168], 1
jmp 0x405abb
mov dword [ebp - 0x168], 0
mov dl, byte [ebp - 0x168]
mov byte [ebp - 0x27], dl
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x405ae6
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x2c0]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x2c4], edx
cmp dword [ebp - 0x2c4], 0
je 0x405c43
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2d8], eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x14], 0x10
jb 0x405b59
mov dword [ebp - 0x170], 1
jmp 0x405b63
mov dword [ebp - 0x170], 0
mov cl, byte [ebp - 0x170]
mov byte [ebp - 0x28], cl
movzx edx, byte [ebp - 0x28]
test edx, edx
je 0x405b8e
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
mov dword [ebp - 0x2c8], ecx
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2dc], ecx
lea edx, [ebp - 0x1a4]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x9c]
cmp dword [ecx + 0x14], 0x10
jb 0x405bd6
mov dword [ebp - 0x178], 1
jmp 0x405be0
mov dword [ebp - 0x178], 0
mov dl, byte [ebp - 0x178]
mov byte [ebp - 0x29], dl
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x405c0b
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx]
mov dword [ebp - 0x2d0], edx
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2e0], edx
mov eax, dword [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
mov edx, dword [ebp - 0x2e0]
add edx, 0xc
push edx
call fcn.00430050
add esp, 0xc
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x2e4]
jae 0x405d79
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x2e8], edx
mov eax, dword [ebp - 0x2e8]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x2f8], eax
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x14], 0x10
jb 0x405cb0
mov dword [ebp - 0x180], 1
jmp 0x405cba
mov dword [ebp - 0x180], 0
mov cl, byte [ebp - 0x180]
mov byte [ebp - 0x2a], cl
movzx edx, byte [ebp - 0x2a]
test edx, edx
je 0x405ce5
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2f4], ecx
mov edx, dword [ebp - 0x2f4]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x2fc], edx
push 0
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x2fc]
push ecx
mov edx, dword [ebp - 0x300]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0xffffffff
jne 0x405d68
mov dword [ebp - 0x304], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.0040f260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040f260
mov eax, dword [ebp - 0x304]
jmp 0x405da7
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x188]
mov dword [ebp - 0x30], eax
jmp 0x405c4a
mov dword [ebp - 0x308], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.0040f260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040f260
mov eax, dword [ebp - 0x308]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18