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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
push 8
call fcn.005106e5
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0xc], 0
push 0x10
call fcn.005106e5
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x630b6f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc
call fcn.005106e5
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0x18
call fcn.005106e5
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x630589
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
jmp 0x4d60b3
cmp dword [0x746c90], 0
je 0x4d6148
mov eax, 0x6304a2
jmp 0x4d772a
push 0
push 0
push 0
push 1
mov ebx, 0x5109b0
call fcn.005106f1
add esp, 0x10
push 0x80000301
push 0
push 0x2691
push 0x80000301
push 0
push 0x4ea
push 2
mov ebx, 0x510a40
call fcn.005106f1
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], esp
push 0
mov eax, 0x12
call fcn.005106fd
cmp dword [ebp - 0x1c], esp
je 0x4d61b1
push 6
call fcn.005106eb
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x630991
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x513210
call fcn.005106f1
add esp, 0x28
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push reloc.WS2_32.dll_connect
push 0
push 0x6309a3
push reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x40
push reloc.WS2_32.dll_connect
push 0
push 0x6309ad
push reloc.WS2_32.dll_connect
push 0
push str.Accept
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.zh_CN
push reloc.WS2_32.dll_connect
push 0
push str.Accept_Language
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
push reloc.WS2_32.dll_connect
push 0
push str.User_Agent
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.application_x_www_form_urlencoded
push reloc.WS2_32.dll_connect
push 0
push str.Content_Type
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.deflate
push reloc.WS2_32.dll_connect
push 0
push str.Accept_Encoding
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.Keep_Alive
push reloc.WS2_32.dll_connect
push 0
push str.Connection
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.no_cache
push reloc.WS2_32.dll_connect
push 0
push str.Cache_Control
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x512920
call fcn.005106f1
add esp, 0x28
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x5128f0
call fcn.005106f1
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x1c]
push 2
mov ebx, 0x5129f0
call fcn.005106f1
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x5129b0
call fcn.005106f1
add esp, 0x10
call fcn.005106df
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d64a8
push ebx
call fcn.005106df
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], esp
mov eax, 0x13
call fcn.005106fd
cmp dword [ebp - 0x1c], esp
je 0x4d64cb
push 6
call fcn.005106eb
add esp, 4
push 0x80000301
push 0
push 5
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d64ea
mov eax, 0x6304a2
push eax
push 2
mov ebx, 0x511910
call fcn.005106f1
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
push 0x630b28
push 1
mov ebx, 0x511810
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
test eax, eax
je 0x4d652d
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x4d653e
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4d6555
dec eax
test ecx, ecx
je 0x4d6555
call fcn.004bdd3d
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d6575
push ebx
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6585
push ebx
call fcn.005106df
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x4d65ae
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d65a9
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005106e5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4d772a
mov eax, 0x6304a2
xor ecx, ecx
test eax, eax
je 0x4d65bc
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0xc]
xor ebx, ebx
test eax, eax
je 0x4d65cd
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4d65e4
dec eax
test ecx, ecx
je 0x4d65e4
call fcn.004bdd3d
add esp, 0xc
test eax, eax
jne 0x4d6618
push reloc.WS2_32.dll_connect
push 0
push 0x630b2e
push 1
mov ebx, 0x511810
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
jmp 0x4d772a
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d662b
mov eax, 0x6304a2
push eax
push 1
mov ebx, 0x511fc0
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str._htm
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4d6672
mov eax, 0x630484
push eax
push 4
mov ebx, 0x510d60
call fcn.005106f1
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d6698
push ebx
call fcn.005106df
add esp, 4
cmp dword [ebp - 0x20], 0
jle 0x4d66f1
push reloc.WS2_32.dll_connect
push 0
push str.Error
push 1
mov ebx, 0x511810
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004bef85
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d66e9
push ebx
call fcn.005106df
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4d772a
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d6704
mov eax, 0x6304a2
push eax
push 1
mov ebx, 0x511fc0
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x630b53
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4d674b
mov eax, 0x630484
push eax
push 4
mov ebx, 0x510d60
call fcn.005106f1
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d6771
push ebx
call fcn.005106df
add esp, 4
cmp dword [ebp - 0x20], 0
jle 0x4d67ca
push reloc.WS2_32.dll_connect
push 0
push str.Error
push 1
mov ebx, 0x511810
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004bef85
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d67c2
push ebx
call fcn.005106df
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4d772a
push 0
push 0
push 0
push reloc.ws2_32.dll_getpeername
push 0
push 0x630b59
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d67ef
mov eax, 0x6304a2
push eax
push 3
mov ebx, 0x511b00
call fcn.005106f1
add esp, 0x28
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x4d685e
push reloc.WS2_32.dll_connect
push 0
push str.Error
push 1
mov ebx, 0x511810
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004bef85
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d6856
push ebx
call fcn.005106df
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4d772a
push 0
push 0
push 0
push reloc.ws2_32.dll_getpeername
push 0
push 0x630b59
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d6883
mov eax, 0x6304a2
push eax
push 3
mov ebx, 0x511d40
call fcn.005106f1
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4d68bb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4d68b7
imul eax, dword [ebx]
jmp 0x4d68ac
mov ecx, eax
test ecx, ecx
je 0x4d68da
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4d68d3
push ebx
push eax
call fcn.005106df
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4d68c1
call fcn.005106df
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.004bde20
mov eax, 0
cmp eax, ecx
jl 0x4d6904
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x4d6928
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005106e5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d6939
push ebx
call fcn.005106df
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 1
jne 0x4d6a81
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [0x746d30]
test eax, eax
jne 0x4d695c
mov eax, 0x6304a2
push eax
push 1
mov ebx, 0x511810
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, 6
call fcn.004bf051
push reloc.ws2_32.dll_getpeername
push 0
push 0x6304a2
push reloc.ws2_32.dll_getpeername
push 0
push 0x630b66
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4d69a7
mov eax, 0x6304a2
push eax
push 5
mov ebx, 0x511b40
call fcn.005106f1
add esp, 0x40
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d69cd
push ebx
call fcn.005106df
add esp, 4
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d69e0
mov eax, 0x6304a2
push eax
push 1
mov ebx, 0x511fc0
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d6a06
push ebx
call fcn.005106df
add esp, 4
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d6a25
mov eax, 0x630484
push eax
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d6a39
mov eax, 0x6304a2
push eax
push 3
mov eax, 1
mov ebx, 0x556610
call fcn.00510703
add esp, 0x28
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d6a64
push ebx
call fcn.005106df
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d6a78
push ebx
call fcn.005106df
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x4d6ae9
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x746d2c]
test eax, eax
jne 0x4d6aa2
mov eax, 0x630484
push eax
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d6ab6
mov eax, 0x6304a2
push eax
push 3
mov eax, 1
mov ebx, 0x556610
call fcn.00510703
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d6ae5
push ebx
call fcn.005106df
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x4d7345
cmp dword [ebp - 4], 0
jle 0x4d6ef1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d6b24
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005106e5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4d772a
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push 0x14
mov eax, 0
call fcn.005106fd
cmp dword [ebp - 0x1c], esp
je 0x4d6f32
push 6
call fcn.005106eb
add esp, 4
mov dword [ebp - 0x1c], esp
push 4
mov eax, 1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x1d
push 0xffffffff
mov eax, 4
call fcn.005106fd
cmp dword [ebp - 0x1c], esp
je 0x4d6f6c
push 6
call fcn.005106eb
add esp, 4
push 0
call fcn.005106f7
add esp, 4
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push 0x13
mov eax, 0
call fcn.005106fd
cmp dword [ebp - 0x1c], esp
je 0x4d6fb0
push 6
call fcn.005106eb
add esp, 4
push 0xa0000101
push 0
push 0x630569
push 1
mov ebx, 0x511fc0
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4d6ff0
mov eax, 0x630484
push eax
push reloc.ws2_32.dll_getpeername
push 0
push 0x630572
push 3
mov eax, 1
mov ebx, 0x556610
call fcn.00510703
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d7027
push ebx
call fcn.005106df
add esp, 4
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d703a
mov eax, 0x6304a2
push eax
push 1
mov ebx, 0x511fc0
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d7060
push ebx
call fcn.005106df
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push eax
push 8
call fcn.005106e5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 1
call fcn.005106fd
cmp dword [ebp - 0x28], esp
je 0x4d70bd
push 6
call fcn.005106eb
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.004bdde9
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d70f7
push ebx
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 0
cmp eax, ecx
jl 0x4d7115
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
push 0
mov eax, dword [ebp - 0x14]
push eax
push 8
call fcn.005106e5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x14]
push eax
push 8
call fcn.005106e5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 2
call fcn.005106fd
cmp dword [ebp - 0x20], esp
je 0x4d71b7
push 6
call fcn.005106eb
add esp, 4
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.004bdde9
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.004bdde9
call fcn.005106df
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 1
cmp eax, ecx
jl 0x4d7230
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 2
cmp eax, ecx
jl 0x4d7268
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 0
cmp eax, ecx
jl 0x4d728e
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 3
cmp eax, ecx
jl 0x4d72be
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 0
cmp eax, ecx
jl 0x4d72e4
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
push ebx
push 1
push 4
push 0xc000021a
mov eax, 3
call fcn.005106fd
cmp dword [ebp - 0x1c], esp
je 0x4d733e
push 6
call fcn.005106eb
add esp, 4
pop eax
pop ecx
jmp 0x4d6aee
add esp, 8
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 1
push 0x13
mov eax, 0
call fcn.005106fd
cmp dword [ebp - 0x1c], esp
je 0x4d7382
push 6
call fcn.005106eb
add esp, 4
push 0xa0000101
push 0
push 0x630569
push 1
mov ebx, 0x511fc0
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4d73c2
mov eax, 0x630484
push eax
push reloc.ws2_32.dll_getpeername
push 0
push 0x630572
push 3
mov eax, 1
mov ebx, 0x556610
call fcn.00510703
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d73f9
push ebx
call fcn.005106df
add esp, 4
push reloc.ws2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4d740c
mov eax, 0x6304a2
push eax
push 1
mov ebx, 0x511fc0
call fcn.005106f1
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d7432
push ebx
call fcn.005106df
add esp, 4
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push eax
push 8
call fcn.005106e5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 1
call fcn.005106fd
cmp dword [ebp - 0x28], esp
je 0x4d748f
push 6
call fcn.005106eb
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.004bdde9
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d74c9
push ebx
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 0
cmp eax, ecx
jl 0x4d74e7
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
push 0
mov eax, dword [ebp - 0x14]
push eax
push 8
call fcn.005106e5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x14]
push eax
push 8
call fcn.005106e5
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 2
call fcn.005106fd
cmp dword [ebp - 0x20], esp
je 0x4d7589
push 6
call fcn.005106eb
add esp, 4
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.004bdde9
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.004bdde9
call fcn.005106df
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 1
cmp eax, ecx
jl 0x4d7602
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 2
cmp eax, ecx
jl 0x4d763a
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 0
cmp eax, ecx
jl 0x4d7660
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 3
cmp eax, ecx
jl 0x4d7690
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
mov eax, 0
cmp eax, ecx
jl 0x4d76b6
push 1
call fcn.005106eb
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ebx, dword [ebp - 0x18]
call fcn.004bde20
push ebx
push 1
push 4
push 0xc000021a
mov eax, 3
call fcn.005106fd
cmp dword [ebp - 0x1c], esp
je 0x4d7710
push 6
call fcn.005106eb
add esp, 4
mov dword [ebp - 4], 0
mov eax, 0x6304a2
jmp 0x4d772a
push eax
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x513200
call fcn.005106f1
add esp, 0x10
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d775e
push ebx
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4d777c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4d7778
imul eax, dword [ebx]
jmp 0x4d776d
mov ecx, eax
test ecx, ecx
je 0x4d779b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4d7794
push ebx
push eax
call fcn.005106df
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4d7782
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d77ba
push ebx
call fcn.005106df
add esp, 4
pop ebx
call fcn.005106df
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.005106df
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10