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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 8
call fcn.0042806a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042806a
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4c5619
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 0x10
call fcn.0042806a
add esp, 4
mov dword [ebp - 0x10], 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 - 0x14], 0
push 8
call fcn.0042806a
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x4c5619
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esp
push 0
mov eax, 6
call fcn.00428076
cmp dword [ebp - 0x1c], esp
je 0x40541a
push 6
call fcn.00428070
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, 0x42b3a0
call fcn.0042807c
add esp, 0x28
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40545f
mov eax, 0x4c5619
jmp 0x406188
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x405474
mov eax, 0x4c54fb
push eax
push 1
mov ebx, 0x428b10
call fcn.0042807c
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4054a0
push ebx
call fcn.00428064
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x4c54fb
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401b56
add esp, 8
cmp eax, 0
jne 0x4054df
mov eax, 0x4c57c8
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4054d9
push ebx
call fcn.00428064
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x405570
cmp dword [ebp + 0x44], 1
jge 0x4054ff
mov dword [ebp + 0x44], 0x3a98
jmp 0x40551c
fild dword [ebp + 0x44]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x4c57cc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401bf3
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 0x4c57d4
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x42a370
call fcn.0042807c
add esp, 0x4c
push 0x4c54fb
push dword [0x51eb10]
call fcn.00401b56
add esp, 8
cmp eax, 0
je 0x405634
push 0xa0000004
push 0
push 0x51eb10
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, 0x42a370
call fcn.0042807c
add esp, 0x34
push 0x4c54fb
push dword [0x51eb14]
call fcn.00401b56
add esp, 8
cmp eax, 0
je 0x405634
push 0xa0000301
push 0
push 0x51eb1c
push 0xa0000004
push 0
push 0x51eb18
push 0xa0000004
push 0
push 0x51eb14
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x42a370
call fcn.0042807c
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, 0x42a370
call fcn.0042807c
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x4056c6
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, 0x42b2a0
call fcn.0042807c
add esp, 0x34
push 0x4c54fb
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401b56
add esp, 8
cmp eax, 0
jne 0x40571c
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.004014cb
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405716
push ebx
call fcn.00428064
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
push 1
push dword [ebp + 8]
call fcn.00406270
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406819
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405763
push ebx
call fcn.00428064
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405773
push ebx
call fcn.00428064
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x28]
push eax
call fcn.00406bd2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405792
push ebx
call fcn.00428064
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4057a8
push ebx
call fcn.00428064
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
push 0x4c54fb
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401b56
add esp, 8
cmp eax, 0
je 0x405807
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, 0x42a370
call fcn.0042807c
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 0x4c58cf
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40583a
mov eax, 0x4c54fb
push eax
push 4
mov ebx, 0x428970
call fcn.0042807c
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4058e5
push dword [ebp + 0x2c]
call fcn.00407d7d
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x2c]
call fcn.00407e95
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x405883
mov eax, 0x4c54fb
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x405897
mov eax, 0x4c54fb
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42a370
call fcn.0042807c
add esp, 0x34
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4058d0
push ebx
call fcn.00428064
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4058e0
push ebx
call fcn.00428064
add esp, 4
jmp 0x405ae2
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4c58cf
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40590c
mov eax, 0x4c54fb
push eax
push 3
mov ebx, 0x4291e0
call fcn.0042807c
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405944
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405940
imul eax, dword [ebx]
jmp 0x405935
mov ecx, eax
test ecx, ecx
je 0x405963
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40595c
push ebx
push eax
call fcn.00428064
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40594a
call fcn.00428064
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004035ca
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 0x405adf
mov ebx, dword [ebp - 8]
call fcn.004035e3
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4059ab
push 4
call fcn.00428070
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4059be
push 1
call fcn.00428070
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x4c54fb
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call fcn.00401b56
add esp, 8
cmp eax, 0
je 0x405ad7
mov ebx, dword [ebp - 8]
call fcn.004035e3
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x4059fe
push 4
call fcn.00428070
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405a11
push 1
call fcn.00428070
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
call fcn.00407d7d
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 8]
call fcn.004035e3
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405a41
push 4
call fcn.00428070
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405a54
push 1
call fcn.00428070
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.00407e95
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x405a7a
mov eax, 0x4c54fb
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x405a8e
mov eax, 0x4c54fb
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42a370
call fcn.0042807c
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405ac7
push ebx
call fcn.00428064
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405ad7
push ebx
call fcn.00428064
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x405980
add esp, 0xc
mov eax, 0x4c5619
xor ecx, ecx
test eax, eax
je 0x405af0
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 0x405b03
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x405b1a
dec eax
test ecx, ecx
je 0x405b1a
call fcn.004052aa
add esp, 0xc
test eax, eax
jne 0x405b5c
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, 0x42a370
call fcn.0042807c
add esp, 0x28
jmp 0x405bc7
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 0x405b77
mov eax, 0x4c5619
push eax
push 0x10031
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x42ae20
call fcn.0042807c
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x10]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42a370
call fcn.0042807c
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, 0x42a340
call fcn.0042807c
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, 0x42a470
call fcn.0042807c
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, 0x42a430
call fcn.0042807c
add esp, 0x10
call fcn.00428064
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405c54
push ebx
call fcn.00428064
add esp, 4
pop eax
mov dword [ebp - 0x14], 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, 0x42a2b0
call fcn.0042807c
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405c9f
push ebx
call fcn.00428064
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 0x4c58cf
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x405ccc
mov eax, 0x4c54fb
push eax
push 3
mov ebx, 0x4291e0
call fcn.0042807c
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405d04
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405d00
imul eax, dword [ebx]
jmp 0x405cf5
mov ecx, eax
test ecx, ecx
je 0x405d23
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405d1c
push ebx
push eax
call fcn.00428064
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405d0a
call fcn.00428064
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x4c54fb
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405d47
push ebx
call fcn.00428064
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004035ca
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 0x406085
mov ebx, dword [ebp - 0x18]
call fcn.004035e3
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405d89
push 4
call fcn.00428070
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405d9c
push 1
call fcn.00428070
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], 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 - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x405dd7
mov eax, 0x4c54fb
push eax
push 4
mov ebx, 0x428970
call fcn.0042807c
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x405edd
mov ebx, dword [ebp - 0x18]
call fcn.004035e3
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405e14
push 4
call fcn.00428070
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405e27
push 1
call fcn.00428070
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push 1
mov ebx, 6
call fcn.00401abc
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Location:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x405e72
mov eax, 0x4c54fb
push eax
push 6
mov ebx, 0x428ff0
call fcn.0042807c
add esp, 0x4c
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x405e9b
mov eax, 0x4c54fb
push eax
push 1
mov ebx, 0x428fb0
call fcn.0042807c
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405ec1
push ebx
call fcn.00428064
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405ed7
push ebx
call fcn.00428064
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
call fcn.004035e3
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405efa
push 4
call fcn.00428070
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405f0d
push 1
call fcn.00428070
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], 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 - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x405f48
mov eax, 0x4c54fb
push eax
push 4
mov ebx, 0x428970
call fcn.0042807c
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x40607d
mov ebx, dword [ebp - 0x18]
call fcn.004035e3
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405f85
push 4
call fcn.00428070
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405f98
push 1
call fcn.00428070
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4c5547
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1c]
call fcn.00403d3e
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405feb
push ebx
call fcn.00428064
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405ffb
push ebx
call fcn.00428064
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40600e
mov eax, 0x4c54fb
push eax
push 1
mov ebx, 0x428fb0
call fcn.0042807c
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x406034
push ebx
call fcn.00428064
add esp, 4
push 0x4c591b
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004014cb
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x406061
push ebx
call fcn.00428064
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406077
push ebx
call fcn.00428064
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x405d5e
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00406bd2
mov ebx, eax
test ebx, ebx
je 0x4060a2
push ebx
call fcn.00428064
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
push 1
push dword [ebp + 8]
call fcn.00406270
mov dword [ebp - 0x20], eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20]
push eax
call fcn.00407fdb
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4060dc
push ebx
call fcn.00428064
add esp, 4
push 0x4c54fb
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401b56
add esp, 8
cmp eax, 0
jne 0x40612e
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x406115
push eax
mov ebx, eax
call fcn.00401460
inc eax
push eax
call fcn.0042806a
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 0x406128
push ebx
call fcn.00428064
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push 0x10030
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x42b370
call fcn.0042807c
add esp, 0x10
mov dword [ebp - 0x1c], esp
mov eax, 7
call fcn.00428076
cmp dword [ebp - 0x1c], esp
je 0x406169
push 6
call fcn.00428070
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x406183
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042806a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406188
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42b370
call fcn.0042807c
add esp, 0x10
call fcn.00428064
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4061ca
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4061c6
imul eax, dword [ebx]
jmp 0x4061bb
mov ecx, eax
test ecx, ecx
je 0x4061e9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4061e2
push ebx
push eax
call fcn.00428064
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4061d0
call fcn.00428064
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x42a430
call fcn.0042807c
add esp, 0x10
call fcn.00428064
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x406224
push ebx
call fcn.00428064
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406242
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40623e
imul eax, dword [ebx]
jmp 0x406233
mov ecx, eax
test ecx, ecx
je 0x406261
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40625a
push ebx
push eax
call fcn.00428064
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406248
call fcn.00428064
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54