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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 8
call fcn.00421184
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00421184
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4d4e15
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 8
call fcn.00421184
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4d4e15
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.00421184
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
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x18], 0
push 8
call fcn.00421184
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4d4e15
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], esp
push 0
mov eax, 0x16
call fcn.00421196
cmp dword [ebp - 0x20], esp
je 0x40d4c4
push 6
call fcn.00421190
add esp, 4
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4258f0
call fcn.0042118a
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40d509
mov eax, 0x4d4e15
jmp 0x40e4fa
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40d51e
mov eax, 0x4d4db0
push eax
push 1
mov ebx, 0x421e80
call fcn.0042118a
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d54a
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4d4db0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401074
add esp, 8
cmp eax, 0
jne 0x40d589
mov eax, 0x4d549a
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d583
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x40d61a
cmp dword [ebp + 0x44], 1
jge 0x40d5a9
mov dword [ebp + 0x44], 0x3a98
jmp 0x40d5c6
fild dword [ebp + 0x44]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4d528d]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401dff
mov dword [ebp + 0x44], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x44]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x4c
push 0x4d4db0
push dword [0x573b9c]
call fcn.00401074
add esp, 8
cmp eax, 0
je 0x40d6de
push 0xa0000004
push 0
push 0x573b9c
push 0x80000301
push 0
push 2
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x34
push 0x4d4db0
push dword [0x573ba0]
call fcn.00401074
add esp, 8
cmp eax, 0
je 0x40d6de
push 0xa0000301
push 0
push 0x573ba8
push 0xa0000004
push 0
push 0x573ba4
push 0xa0000004
push 0
push 0x573ba0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40d770
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x425820
call fcn.0042118a
add esp, 0x34
push 0x4d4db0
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401074
add esp, 8
cmp eax, 0
jne 0x40d7c6
push str._r_nAccept:___r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0__r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 3
call fcn.004015d7
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40d7c0
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4d4db0
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401074
add esp, 8
cmp eax, 0
je 0x40d81f
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Cookie
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4d50a0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40d852
mov eax, 0x4d4db0
push eax
push 4
mov ebx, 0x421cd0
call fcn.0042118a
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40dc49
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4d50a0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40d899
mov eax, 0x4d4db0
push eax
push 3
mov ebx, 0x4227f0
call fcn.0042118a
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40d8d1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40d8cd
imul eax, dword [ebx]
jmp 0x40d8c2
mov ecx, eax
test ecx, ecx
je 0x40d8f0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40d8e9
push ebx
push eax
call fcn.0042117e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40d8d7
call fcn.0042117e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00402a50
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40dc41
mov ebx, dword [ebp - 8]
call fcn.00401ddf
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40d938
push 4
call fcn.00421190
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40d94b
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4d5583
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40d986
mov eax, 0x4d4db0
push eax
push 4
mov ebx, 0x421cd0
call fcn.0042118a
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40dc39
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40d9c4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40d9c0
imul eax, dword [ebx]
jmp 0x40d9b5
mov ecx, eax
test ecx, ecx
je 0x40d9e3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40d9dc
push ebx
push eax
call fcn.0042117e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40d9ca
call fcn.0042117e
add esp, 4
mov eax, 0x4d4e15
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00401ddf
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40da10
push 4
call fcn.00421190
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40da23
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4d5583
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40da52
mov eax, 0x4d4db0
push eax
push 3
mov ebx, 0x4227f0
call fcn.0042118a
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40da8a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40da86
imul eax, dword [ebx]
jmp 0x40da7b
mov ecx, eax
test ecx, ecx
je 0x40daa9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40daa2
push ebx
push eax
call fcn.0042117e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40da90
call fcn.0042117e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00402a50
cmp dword [ebp - 0xc], eax
jle 0x40dad5
jmp 0x40db99
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
mov eax, 1
cmp eax, ecx
jl 0x40daf3
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
mov eax, 1
cmp eax, ecx
jl 0x40db19
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40db3e
push 4
call fcn.00421190
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40db51
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4d5583
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004015d7
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40db8e
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40dabc
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
mov eax, 0
cmp eax, ecx
jl 0x40dbb7
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
mov eax, 1
cmp eax, ecx
jl 0x40dbdd
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40dbfa
mov eax, 0x4d4db0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40dc10
mov eax, 0x4d4db0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x40d90d
add esp, 0xc
jmp 0x40deaa
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4d5583
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40dc7c
mov eax, 0x4d4db0
push eax
push 4
mov ebx, 0x421cd0
call fcn.0042118a
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40deaa
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4d5583
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40dcc3
mov eax, 0x4d4db0
push eax
push 3
mov ebx, 0x4227f0
call fcn.0042118a
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40dcfb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40dcf7
imul eax, dword [ebx]
jmp 0x40dcec
mov ecx, eax
test ecx, ecx
je 0x40dd1a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40dd13
push ebx
push eax
call fcn.0042117e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40dd01
call fcn.0042117e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 2
inc dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.00402a50
cmp dword [ebp - 0xc], eax
jle 0x40dd46
jmp 0x40de0a
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
mov eax, 1
cmp eax, ecx
jl 0x40dd64
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
mov eax, 1
cmp eax, ecx
jl 0x40dd8a
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40ddaf
push 4
call fcn.00421190
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ddc2
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x4d5583
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004015d7
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ddff
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
jmp 0x40dd2d
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
mov eax, 0
cmp eax, ecx
jl 0x40de28
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.00401ddf
mov eax, 1
cmp eax, ecx
jl 0x40de4e
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40de6b
mov eax, 0x4d4db0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40de81
mov eax, 0x4d4db0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x34
mov eax, 0x4d4e15
xor ecx, ecx
test eax, eax
je 0x40deb8
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x40decb
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40dee2
dec eax
test ecx, ecx
je 0x40dee2
call fcn.00403d14
add esp, 0xc
test eax, eax
jne 0x40df24
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x28
jmp 0x40df8f
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40df3f
mov eax, 0x4d4e15
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x425340
call fcn.0042118a
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x424910
call fcn.0042118a
add esp, 0x28
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4248e0
call fcn.0042118a
add esp, 0x28
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x20]
push 2
mov ebx, 0x424990
call fcn.0042118a
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x424970
call fcn.0042118a
add esp, 0x10
call fcn.0042117e
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e01c
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x424880
call fcn.0042118a
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e067
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x4c]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4d50a0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x40e094
mov eax, 0x4d4db0
push eax
push 3
mov ebx, 0x4227f0
call fcn.0042118a
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e0cc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e0c8
imul eax, dword [ebx]
jmp 0x40e0bd
mov ecx, eax
test ecx, ecx
je 0x40e0eb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e0e4
push ebx
push eax
call fcn.0042117e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e0d2
call fcn.0042117e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4d4db0
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e10f
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00402a50
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40e44d
mov ebx, dword [ebp - 0x1c]
call fcn.00401ddf
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e151
push 4
call fcn.00421190
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e164
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Location:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e19f
mov eax, 0x4d4db0
push eax
push 4
mov ebx, 0x421cd0
call fcn.0042118a
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40e2a5
mov ebx, dword [ebp - 0x1c]
call fcn.00401ddf
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e1dc
push 4
call fcn.00421190
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e1ef
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00401004
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Location:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e23a
mov eax, 0x4d4db0
push eax
push 6
mov ebx, 0x422600
call fcn.0042118a
add esp, 0x4c
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40e263
mov eax, 0x4d4db0
push eax
push 1
mov ebx, 0x4225c0
call fcn.0042118a
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e289
push ebx
call fcn.0042117e
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e29f
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401ddf
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e2c2
push 4
call fcn.00421190
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e2d5
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Set_Cookie
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40e310
mov eax, 0x4d4db0
push eax
push 4
mov ebx, 0x421cd0
call fcn.0042118a
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x40e445
mov ebx, dword [ebp - 0x1c]
call fcn.00401ddf
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40e34d
push 4
call fcn.00421190
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e360
push 1
call fcn.00421190
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x4d55b0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.0040e627
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e3b3
push ebx
call fcn.0042117e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e3c3
push ebx
call fcn.0042117e
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40e3d6
mov eax, 0x4d4db0
push eax
push 1
mov ebx, 0x4225c0
call fcn.0042118a
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e3fc
push ebx
call fcn.0042117e
add esp, 4
push 0x4d55be
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004015d7
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e429
push ebx
call fcn.0042117e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e43f
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40e126
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040ea15
mov ebx, eax
test ebx, ebx
je 0x40e46a
push ebx
call fcn.0042117e
add esp, 4
push 0x4d4db0
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401074
add esp, 8
cmp eax, 0
jne 0x40e4bc
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x40e4a3
push eax
mov ebx, eax
call fcn.0040156c
inc eax
push eax
call fcn.00421184
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e4b6
push ebx
call fcn.0042117e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x20], esp
mov eax, 0x17
call fcn.00421196
cmp dword [ebp - 0x20], esp
je 0x40e4db
push 6
call fcn.00421190
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40e4f5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00421184
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40e4fa
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4258c0
call fcn.0042118a
add esp, 0x10
call fcn.0042117e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e53c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e538
imul eax, dword [ebx]
jmp 0x40e52d
mov ecx, eax
test ecx, ecx
je 0x40e55b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e554
push ebx
push eax
call fcn.0042117e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e542
call fcn.0042117e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e581
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e57d
imul eax, dword [ebx]
jmp 0x40e572
mov ecx, eax
test ecx, ecx
je 0x40e5a0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e599
push ebx
push eax
call fcn.0042117e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e587
call fcn.0042117e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x424970
call fcn.0042118a
add esp, 0x10
call fcn.0042117e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e5db
push ebx
call fcn.0042117e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e5f9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e5f5
imul eax, dword [ebx]
jmp 0x40e5ea
mov ecx, eax
test ecx, ecx
je 0x40e618
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40e611
push ebx
push eax
call fcn.0042117e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e5ff
call fcn.0042117e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54