Function at 0x40ba90
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 4], 0
push 0x2c
call fcn.004c4d96
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebx], 0x5326c5
push ebx
mov eax, esp
push eax
call fcn.004103ec
pop ebx
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
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 8
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x5327d9
push 8
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x532144
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], 0
push 8
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x3c], eax
mov edi, eax
mov esi, 0x532144
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x40], eax
mov edi, eax
mov esi, 0x532144
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x44], eax
mov edi, eax
mov esi, 0x532144
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x48], eax
mov edi, eax
mov esi, 0x532144
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x4c], 0
push 8
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x50], eax
mov edi, eax
mov esi, 0x532144
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
push dword [ebp + 8]
call fcn.0040de28
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40bc44
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x40bc74
mov eax, 0x532144
jmp 0x40db5f
cmp dword [ebp + 0x104], 0
je 0x40bc9a
push dword [ebp + 0x104]
push 0x2774
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 1
push 0
push dword [ebp + 0xcc]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xd0]
push getsockname
push 0
mov ebx, dword [ebp + 0xbc]
mov eax, dword [ebx]
test eax, eax
jne 0x40bcd0
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x174
call fcn.004c96d0
add esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40bcfa
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push getsockname
push 0
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x40bd13
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x174
call fcn.004c96d0
add esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40bd3d
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0xa4]
mov eax, dword [ebx]
test eax, eax
je 0x40bd60
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40bd71
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push getsockname
push 0
mov ebx, dword [ebp + 0xac]
mov eax, dword [ebx]
test eax, eax
jne 0x40bd8d
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x174
call fcn.004c96d0
add esp, 0x10
mov dword [ebp - 0x74], eax
push getsockname
push 0
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x40bdb6
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x150
call fcn.004c9630
add esp, 0x10
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40bddc
push ebx
call fcn.004c4d90
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40bdf0
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc4], 0
je 0x40be1a
push dword [ebp + 0xc4]
push 0x2803
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 0x4ee2e4
push dword [ebp - 0x18]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40be4a
lea eax, [ebp - 0x18]
push eax
push 0x2734
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
cmp dword [ebp + 0xc], 0
jne 0x40be8a
push 0x532568
push dword [ebp - 0x18]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40be8a
push 0x532570
push dword [ebp - 0x18]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40be8a
xor eax, eax
jmp 0x40be8f
mov eax, 1
test eax, eax
je 0x40bfc1
push 0x532568
push dword [ebp - 0x18]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40bed0
push 0x532570
push dword [ebp - 0x18]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40bed0
mov eax, 1
jmp 0x40bed5
mov eax, 0
test eax, eax
je 0x40bf0a
push 1
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa8]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x40bf0a
mov eax, 0x532144
jmp 0x40db5f
mov eax, 0x532144
xor ecx, ecx
test eax, eax
je 0x40bf18
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
je 0x40bf29
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40bf40
dec eax
test ecx, ecx
je 0x40bf40
call fcn.0040493c
add esp, 0xc
test eax, eax
jne 0x40bf84
push 0x4ee2e4
push dword [ebp - 0x10]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x40bf84
push 0x4ee2e4
push dword [ebp - 0xc]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x40bf84
mov eax, 1
jmp 0x40bf89
mov eax, 0
test eax, eax
je 0x40bfbc
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xac]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x40bfbc
mov eax, 0x532144
jmp 0x40db5f
jmp 0x40bff7
push 0x532574
push dword [ebp - 0x18]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x40bff7
push 1
push 0x2c
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
jmp 0x40bff7
push getsockname
push 0
mov ebx, dword [ebp + 0x94]
mov eax, dword [ebx]
test eax, eax
jne 0x40c00f
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x174
call fcn.004c96d0
add esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40c039
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x4ee2e4
push dword [ebp - 0x1c]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40c06b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
push getsockname
push 0
mov ebx, dword [ebp + 0x9c]
mov eax, dword [ebx]
test eax, eax
jne 0x40c083
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x174
call fcn.004c96d0
add esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c0ad
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x4ee2e4
push dword [ebp - 0x20]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40c0f4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x40c112
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c123
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 1
push dword [ebp + 0x1c]
push 1
push dword [ebp + 0xfc]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
je 0x40c163
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40c174
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x4ee2e4
push dword [ebp - 0x28]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40c1a6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x9c]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
mov eax, 0x532144
xor ecx, ecx
test eax, eax
je 0x40c1ca
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
je 0x40c1db
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40c1f2
dec eax
test ecx, ecx
je 0x40c1f2
call fcn.0040493c
add esp, 0xc
test eax, eax
jne 0x40c233
push 0x4ee2e4
push dword [ebp - 0x10]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x40c233
push 0x4ee2e4
push dword [ebp - 0xc]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x40c233
xor eax, eax
jmp 0x40c238
mov eax, 1
test eax, eax
je 0x40ccd3
push 0x4ee2e4
push dword [ebp - 0xc]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40c309
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 3
mov ebx, 0xc8
call fcn.004c91f0
add esp, 0x28
mov dword [ebp - 0x74], eax
push 1
push 0x80
push 1
push dword [ebp - 0x74]
push 1
push 3
push 1
push SysReAllocString
lea eax, [ebp - 0xc]
push eax
call fcn.0040e5d4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40c2cc
mov eax, 0x532144
jmp 0x40db5f
push reloc.WS2_32.dll_getsockname
push 0
push 0x41078c
push 1
mov ebx, 0x9dc
call fcn.004c87b0
add esp, 0x10
mov dword [ebp - 0x74], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x74]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x80]
jmp 0x40ccd3
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x40c343
mov eax, 0x532144
jmp 0x40db5f
mov eax, 0x532144
xor ecx, ecx
test eax, eax
je 0x40c351
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
je 0x40c362
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40c379
dec eax
test ecx, ecx
je 0x40c379
call fcn.0040493c
add esp, 0xc
test eax, eax
je 0x40c59a
push 0
push 0
push 0
push getsockname
push 0
push 0x53257c
push getsockname
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40c3a9
mov eax, 0x532144
push eax
push 3
mov ebx, 0x1c4
call fcn.004cb150
add esp, 0x28
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x34]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c3e1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c3dd
imul eax, dword [ebx]
jmp 0x40c3d2
mov ecx, eax
test ecx, ecx
je 0x40c400
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c3f9
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c3e7
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x34]
call fcn.0040a9e8
xor ecx, ecx
push eax
lea eax, [ebp - 0x38]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40c597
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x38]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
push 0
push 0
push 0
push getsockname
push 0
push 0x532588
push getsockname
push 0
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x40c46b
mov eax, 0x532144
push eax
push 3
mov ebx, 0x1c4
call fcn.004cb150
add esp, 0x28
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c4a3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c49f
imul eax, dword [ebx]
jmp 0x40c494
mov ecx, eax
test ecx, ecx
je 0x40c4c2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c4bb
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c4a9
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x3c]
call fcn.0040a9e8
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jl 0x40c58f
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
push getsockname
push 0
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x40c510
mov eax, 0x532144
push eax
push 1
mov ebx, 0x168
call fcn.004c8c40
add esp, 0x10
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40c57c
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40c58f
push ebx
call fcn.004c4d90
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x40c41d
add esp, 0xc
push 0x4ee2e4
push dword [ebp - 0x10]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40ccb1
mov ebx, 6
call fcn.004088e0
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40c5d0
mov eax, 0x4ee2e4
push eax
push 3
mov ebx, 0x190
call fcn.004cb2d0
add esp, 0x28
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x40]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c608
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c604
imul eax, dword [ebx]
jmp 0x40c5f9
mov ecx, eax
test ecx, ecx
je 0x40c627
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c620
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c60e
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x40]
call fcn.0040a9e8
xor ecx, ecx
push eax
lea eax, [ebp - 0x38]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40ccae
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x38]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
push 0
push 0
push 0
push getsockname
push 0
push 0x532594
push getsockname
push 0
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x40c692
mov eax, 0x4ee2e4
push eax
push 3
mov ebx, 0x190
call fcn.004cb2d0
add esp, 0x28
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x44]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c6ca
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c6c6
imul eax, dword [ebx]
jmp 0x40c6bb
mov ecx, eax
test ecx, ecx
je 0x40c6e9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c6e2
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c6d0
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
mov ecx, 2
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004c4d96
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 2
add edi, 4
mov ebx, dword [ebp - 0x44]
call fcn.0040ae00
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x40c732
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ebx, esi
mov ecx, eax
test ecx, ecx
je 0x40c763
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c759
push ebx
call fcn.004c4d90
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x40c748
pop edx
pop edi
test edx, edx
je 0x40c771
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x44]
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
push 0x4ee2e4
mov ebx, dword [ebp - 0x74]
push dword [ebx]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x40c850
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 0x78]
mov eax, dword [ebx]
test eax, eax
je 0x40c801
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x74]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c814
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov ebx, dword [ebp - 0x74]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
mov eax, 0x532598
push eax
mov ebx, dword [ebp - 0x74]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c84a
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov ebx, dword [ebp - 0x74]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
push 0
push 0
push 0
push getsockname
push 0
push 0x5325a0
push getsockname
push 0
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x40c88f
mov eax, 0x4ee2e4
push eax
push 3
mov ebx, 0x190
call fcn.004cb2d0
add esp, 0x28
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x48]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c8c7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c8c3
imul eax, dword [ebx]
jmp 0x40c8b8
mov ecx, eax
test ecx, ecx
je 0x40c8e6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40c8df
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c8cd
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
mov ecx, 3
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004c4d96
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 3
add edi, 4
mov ebx, dword [ebp - 0x48]
call fcn.0040ae00
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x40c92f
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ebx, esi
mov ecx, eax
test ecx, ecx
je 0x40c960
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c956
push ebx
call fcn.004c4d90
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x40c945
pop edx
pop edi
test edx, edx
je 0x40c96e
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x48]
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
push 0x4ee2e4
mov ebx, dword [ebp - 0x74]
push dword [ebx]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40c9f0
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x7c], ebx
push 0x4ee2e4
mov ebx, dword [ebp - 0x7c]
push dword [ebx]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40c9f0
mov eax, 1
jmp 0x40c9f5
mov eax, 0
test eax, eax
je 0x40ca8c
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x7c], ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x80], ebx
push 1
push dword [ebp - 0x80]
push 1
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push dword [ebp - 0x74]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
jmp 0x40cca6
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
push 0x4ee2e4
mov ebx, dword [ebp - 0x74]
push dword [ebx]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40cb51
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
push 1
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push dword [ebp - 0x74]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40cb4c
push ebx
call fcn.004c4d90
add esp, 4
jmp 0x40cca6
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
push 0x4ee2e4
mov ebx, dword [ebp - 0x74]
push dword [ebx]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40cc16
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x7c], ebx
push 1
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x74]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40cc11
push ebx
call fcn.004c4d90
add esp, 4
jmp 0x40cca6
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x74]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40cc93
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40cca6
push ebx
call fcn.004c4d90
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x40c644
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push eax
push 0x281d
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
cmp dword [ebp + 0x3c], 0
je 0x40ce8e
push 0
push 1
push 0x4a
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getsockname
push 0
push 0x5325a4
push getsockname
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40cd2b
mov eax, 0x4ee2e4
push eax
push 4
mov ebx, 0x148
call fcn.004c90c0
add esp, 0x34
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x40cdc4
push 0x4ee2e4
push dword [ebp - 0x24]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40cd94
push 0x53253c
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40cd90
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x5325b4
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40cdc0
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getsockname
push 0
push 0x5325cc
push getsockname
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40cdf5
mov eax, 0x4ee2e4
push eax
push 4
mov ebx, 0x148
call fcn.004c90c0
add esp, 0x34
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x40ce8e
push 0x4ee2e4
push dword [ebp - 0x24]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40ce5e
push 0x53253c
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ce5a
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x5325d4
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ce8a
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getsockname
push 0
push 0x5325e8
push getsockname
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40cebf
mov eax, 0x4ee2e4
push eax
push 4
mov ebx, 0x148
call fcn.004c90c0
add esp, 0x34
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x40cf91
push 0x4ee2e4
mov ebx, dword [ebp + 0x84]
push dword [ebx]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40cf91
push 0x5325f0
mov ebx, dword [ebp + 0x84]
push dword [ebx]
call fcn.004026a4
add esp, 8
cmp eax, 0
mov eax, 0
sete al
test eax, eax
je 0x40cf46
mov eax, dword [ebp - 4]
test eax, eax
je 0x40cf41
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40cf67
mov ebx, dword [ebp + 0x84]
mov eax, dword [ebx]
test eax, eax
je 0x40cf67
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 0x2720
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40cf91
push ebx
call fcn.004c4d90
add esp, 4
mov eax, 0x532144
xor ecx, ecx
test eax, eax
je 0x40cf9f
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
xor ebx, ebx
test eax, eax
je 0x40cfb0
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40cfc7
dec eax
test ecx, ecx
je 0x40cfc7
call fcn.0040493c
add esp, 0xc
test eax, eax
jne 0x40cffc
push 0x4ee2e4
push dword [ebp - 0x10]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x40cffc
cmp dword [ebp - 0x2c], 0
je 0x40cffc
mov eax, 1
jmp 0x40d001
mov eax, 0
test eax, eax
je 0x40d077
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getsockname
push 0
push 0x5325f8
push getsockname
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40d03a
mov eax, 0x4ee2e4
push eax
push 4
mov ebx, 0x148
call fcn.004c90c0
add esp, 0x34
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x40d077
push dword [ebp - 0x2c]
call fcn.0040e6f0
push edx
push eax
push 0x3c
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
push getsockname
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x40d08c
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x174
call fcn.004c96d0
add esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40d0b6
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
push 0x4ee2e4
push dword [ebp - 0x4c]
call fcn.004026a4
add esp, 8
cmp eax, 0
jne 0x40d0ed
mov eax, 0x532608
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40d0e9
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
push 0x4ee2e4
push dword [ebp - 0x24]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40d1b8
push 0
push 0
push 0
push getsockname
push 0
push 0x53253c
push getsockname
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40d140
mov eax, 0x4ee2e4
push eax
push 3
mov ebx, 0x190
call fcn.004cb2d0
add esp, 0x28
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x50]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40d178
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40d174
imul eax, dword [ebx]
jmp 0x40d169
mov ecx, eax
test ecx, ecx
je 0x40d197
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40d190
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40d17e
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
cmp dword [ebp + 0x64], 0
je 0x40d1d8
push 1
push dword [ebp + 0x6c]
push dword [ebp + 0x64]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
push getsockname
push 0
mov ebx, dword [ebp + 0x7c]
mov eax, dword [ebx]
test eax, eax
jne 0x40d1ed
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x174
call fcn.004c96d0
add esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40d217
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
push 0x4ee2e4
push dword [ebp - 0x54]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40d2d0
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push 4
push getsockname
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x40d25f
mov eax, 0x4ee2e4
push eax
push 3
mov ebx, 0x270
call fcn.004cb400
add esp, 0x28
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x40d29b
cmp dword [ebp - 0x2c], 0
je 0x40d291
push dword [ebp - 0x2c]
call fcn.004042b8
mov eax, 0x532144
jmp 0x40db5f
push reloc.WS2_32.dll_getsockname
push 0
push 0x410854
push 1
mov ebx, 0x9dc
call fcn.004c87b0
add esp, 0x10
mov dword [ebp - 0x74], eax
push dword [ebp - 0x58]
push dword [ebp - 0x74]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x7c]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x40d32d
cmp dword [ebp - 0x2c], 0
je 0x40d2fd
push dword [ebp - 0x2c]
call fcn.004042b8
cmp dword [ebp - 0x58], 0
je 0x40d323
push 0x80000301
push 0
push dword [ebp - 0x58]
push 1
mov ebx, 0x278
call fcn.004cb4f0
add esp, 0x10
mov eax, 0x532144
jmp 0x40db5f
cmp dword [ebp - 0x2c], 0
je 0x40d33f
push dword [ebp - 0x2c]
call fcn.004042b8
cmp dword [ebp - 0x58], 0
je 0x40d365
push 0x80000301
push 0
push dword [ebp - 0x58]
push 1
mov ebx, 0x278
call fcn.004cb4f0
add esp, 0x10
cmp dword [ebp + 0xe4], 0
jne 0x40d390
cmp dword [ebp + 0xec], 0
jne 0x40d390
cmp dword [ebp + 0xf4], 0
jne 0x40d390
xor eax, eax
jmp 0x40d395
mov eax, 1
test eax, eax
je 0x40d3cd
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d3c7
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
cmp dword [ebp + 0xb4], 0
je 0x40d3ee
cmp dword [ebp + 0xd4], 0
je 0x40d3ee
mov eax, 1
jmp 0x40d3f3
mov eax, 0
test eax, eax
jne 0x40d419
cmp dword [ebp + 0xec], 0
jne 0x40d419
cmp dword [ebp + 0xf4], 0
jne 0x40d419
xor eax, eax
jmp 0x40d41e
mov eax, 1
test eax, eax
je 0x40daae
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 4]
push eax
call fcn.0040e764
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40d452
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x5c], eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.0040e9d8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40d47d
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x64]
push getsockname
push 0
push 0x532678
push getsockname
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40d4bf
mov eax, 0x4ee2e4
push eax
push 4
mov ebx, 0x148
call fcn.004c90c0
add esp, 0x34
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffff
jne 0x40d4e4
jmp 0x40d8e5
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0
push 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push 0
push dword [ebp - 0x80]
mov dword [ebp - 0x84], 0
push 0
push dword [ebp - 0x84]
push 1
push dword [ebp - 0x64]
push 1
mov eax, 0x53253c
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
push 1
mov eax, 0x532678
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp + 0x54]
call fcn.0040e19c
mov dword [ebp - 0x90], eax
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x40d582
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x40d595
push ebx
call fcn.004c4d90
add esp, 4
push getsockname
push 0
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x40d5ab
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x174
call fcn.004c96d0
add esp, 0x10
mov dword [ebp - 0x94], eax
mov ebx, dword [ebp - 0x90]
test ebx, ebx
je 0x40d5d7
push ebx
call fcn.004c4d90
add esp, 4
push dword [ebp - 0x94]
push 0x532684
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x98], eax
mov ebx, dword [ebp - 0x94]
test ebx, ebx
je 0x40d608
push ebx
call fcn.004c4d90
add esp, 4
mov eax, dword [ebp - 0x98]
push eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40d61f
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x68], eax
add dword [ebp - 0x64], 5
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getsockname
push 0
push 0x532694
push getsockname
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40d658
mov eax, 0x4ee2e4
push eax
push 4
mov ebx, 0x148
call fcn.004c90c0
add esp, 0x34
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x40d748
push 0x80000301
push 0
push 1
push getsockname
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40d697
mov eax, 0x4ee2e4
push eax
push 2
mov ebx, 0x138
call fcn.004c95d0
add esp, 0x1c
mov dword [ebp - 0x74], eax
push 0x53269c
push dword [ebp - 0x74]
call fcn.004026a4
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40d6db
push ebx
call fcn.004c4d90
add esp, 4
cmp dword [ebp - 0x78], 0
je 0x40d715
push 0x5326a0
push dword [ebp - 0x68]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40d711
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x68], eax
push dword [ebp - 0x5c]
push 0x5326a4
push dword [ebp - 0x68]
mov ecx, 3
call fcn.00402647
add esp, 0xc
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40d744
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x68], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getsockname
push 0
push 0x5326ac
push getsockname
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40d779
mov eax, 0x4ee2e4
push eax
push 4
mov ebx, 0x148
call fcn.004c90c0
add esp, 0x34
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xffffffff
jne 0x40d869
push 0x80000301
push 0
push 1
push getsockname
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40d7b8
mov eax, 0x4ee2e4
push eax
push 2
mov ebx, 0x138
call fcn.004c95d0
add esp, 0x1c
mov dword [ebp - 0x74], eax
push 0x53269c
push dword [ebp - 0x74]
call fcn.004026a4
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40d7fc
push ebx
call fcn.004c4d90
add esp, 4
cmp dword [ebp - 0x78], 0
je 0x40d836
push 0x5326a0
push dword [ebp - 0x68]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40d832
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x68], eax
push dword [ebp - 0x60]
push 0x5326b4
push dword [ebp - 0x68]
mov ecx, 3
call fcn.00402647
add esp, 0xc
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40d865
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x68], eax
push 0x4ee2e4
push dword [ebp - 0x6c]
call fcn.004026a4
add esp, 8
cmp eax, 0
je 0x40d8b2
push 0x53253c
push dword [ebp - 0x6c]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40d8ae
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40d8dc
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x6c], eax
jmp 0x40d488
cmp dword [ebp + 0xec], 0
je 0x40d927
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40d90e
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x5c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d921
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov ebx, dword [ebp + 0x5c]
mov dword [ebx], eax
cmp dword [ebp + 0xb4], 0
je 0x40d948
cmp dword [ebp + 0xd4], 0
je 0x40d948
mov eax, 1
jmp 0x40d94d
mov eax, 0
test eax, eax
jne 0x40d966
cmp dword [ebp + 0xf4], 0
jne 0x40d966
xor eax, eax
jmp 0x40d96b
mov eax, 1
test eax, eax
je 0x40daae
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040ebd0
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40d9ac
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40d9bc
push ebx
call fcn.004c4d90
add esp, 4
push 1
lea eax, [ebp - 0x7c]
push eax
push 1
push dword [ebp + 0x2c]
call fcn.0040fcd4
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40d9e8
push ebx
call fcn.004c4d90
add esp, 4
mov eax, dword [ebp - 0x80]
push eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40d9ff
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x70], eax
cmp dword [ebp + 0xf4], 0
je 0x40da4b
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x40da2c
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x8c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40da42
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov ebx, dword [ebp + 0x8c]
mov dword [ebx], eax
cmp dword [ebp + 0xb4], 0
je 0x40da6c
cmp dword [ebp + 0xd4], 0
je 0x40da6c
mov eax, 1
jmp 0x40da71
mov eax, 0
test eax, eax
je 0x40daae
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x40da95
push eax
mov ebx, eax
call fcn.004025dc
inc eax
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40daa8
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xdc], 0
jne 0x40dac9
cmp dword [ebp + 0x44], 0
jne 0x40dac9
xor eax, eax
jmp 0x40dace
mov eax, 1
test eax, eax
je 0x40daec
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xf0]
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0
je 0x40db2f
mov ebx, dword [ebp + 0x4c]
cmp dword [ebx], 0xc8
jl 0x40db18
mov ebx, dword [ebp + 0x4c]
cmp dword [ebx], 0x12c
jge 0x40db18
xor eax, eax
jmp 0x40db1d
mov eax, 1
test eax, eax
je 0x40db2f
mov eax, 0x532144
jmp 0x40db5f
cmp dword [ebp - 0x58], 0
je 0x40db43
mov eax, 0x5326bc
jmp 0x40db5f
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xe4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
jmp 0x40db5f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40db70
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40db90
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40dba0
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40dbb0
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40dbc0
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40dbd0
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40dbe0
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40dbf0
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40dc00
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40dc2e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40dc2a
imul eax, dword [ebx]
jmp 0x40dc1f
mov ecx, eax
test ecx, ecx
je 0x40dc4d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40dc46
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40dc34
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40dc73
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40dc6f
imul eax, dword [ebx]
jmp 0x40dc64
mov ecx, eax
test ecx, ecx
je 0x40dc92
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40dc8b
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40dc79
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x40]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40dcb8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40dcb4
imul eax, dword [ebx]
jmp 0x40dca9
mov ecx, eax
test ecx, ecx
je 0x40dcd7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40dcd0
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40dcbe
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x44]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40dcfd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40dcf9
imul eax, dword [ebx]
jmp 0x40dcee
mov ecx, eax
test ecx, ecx
je 0x40dd1c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40dd15
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40dd03
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x48]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40dd42
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40dd3e
imul eax, dword [ebx]
jmp 0x40dd33
mov ecx, eax
test ecx, ecx
je 0x40dd61
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40dd5a
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40dd48
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40dd79
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x50]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40dd97
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40dd93
imul eax, dword [ebx]
jmp 0x40dd88
mov ecx, eax
test ecx, ecx
je 0x40ddb6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40ddaf
push ebx
push eax
call fcn.004c4d90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40dd9d
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40ddce
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40ddde
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40ddee
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40ddfe
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40de0e
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40de1e
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x104