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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x28
call fcn.0040741d
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0x4fe35b
push 8
call fcn.0040741d
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4fe17d
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.0040741d
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4fe17d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
cmp dword [ebp + 0x54], 0xffffffff
je 0x402670
cmp dword [ebp + 0x54], 1
jge 0x402638
mov dword [ebp + 0x54], 0x5dc
jmp 0x402655
fild dword [ebp + 0x54]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fmul qword [0x4fe1fc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00402475
mov dword [ebp + 0x54], eax
push 1
push dword [ebp + 0x54]
push 1
push dword [ebp + 0x54]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
push 0x4fe1be
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.004010ec
add esp, 8
cmp eax, 0
je 0x40269c
push dword [ebp + 0x4c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x7c]
cmp dword [ebp + 0x3c], 0
je 0x4026bc
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa0]
cmp dword [ebp + 0xc], 1
jne 0x40278d
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
mov eax, 0x4fe17d
xor ecx, ecx
test eax, eax
je 0x4026ea
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x4026fd
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x402714
dec eax
test ecx, ecx
je 0x402714
call fcn.0040249c
add esp, 0xc
test eax, eax
jne 0x402774
push SysStringLen
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x402734
mov eax, 0x4fe1be
push eax
push 1
mov ebx, 0x4080d0
call fcn.00407423
add esp, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40276f
push ebx
call fcn.00407435
add esp, 4
jmp 0x402788
push dword [ebp + 0x44]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x98]
jmp 0x4027a3
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x94]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb4]
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push 0x4fe204
push SysStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4027f8
mov eax, 0x4fe1be
push eax
push 4
mov ebx, 0x407a10
call fcn.00407423
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x40284e
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401090
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402848
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push str.Referer:
push SysStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402881
mov eax, 0x4fe1be
push eax
push 4
mov ebx, 0x407a10
call fcn.00407423
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4028dc
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._r_nReferer:
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.00401090
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4028d6
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push str.Accept_Language:
push SysStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40290f
mov eax, 0x4fe1be
push eax
push 4
mov ebx, 0x407a10
call fcn.00407423
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x402965
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401090
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40295f
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push str.User_Agent:
push SysStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402998
mov eax, 0x4fe1be
push eax
push 4
mov ebx, 0x407a10
call fcn.00407423
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4029ee
push str._r_nUser_Agent:Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_45.0.2454.101_Safari_537.36
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401090
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4029e8
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push str.Content_Type:
push SysStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402a21
mov eax, 0x4fe1be
push eax
push 4
mov ebx, 0x407a10
call fcn.00407423
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x402a77
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.00401090
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402a71
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0
push 0
push 0
push SysStringLen
push 0
push 0x4fe320
push SysStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x402a9e
mov eax, 0x4fe1be
push eax
push 3
mov ebx, 0x407f40
call fcn.00407423
add esp, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402ad6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402ad2
imul eax, dword [ebx]
jmp 0x402ac7
mov ecx, eax
test ecx, ecx
je 0x402af5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402aee
push ebx
push eax
call fcn.00407435
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402adc
call fcn.00407435
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push str.Cookie:
mov ecx, 2
call fcn.00401090
add esp, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push 4
mov eax, 2
call fcn.00407417
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], ebx
call fcn.00402548
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x20]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x402b5e
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x20]
call fcn.0040743b
add esp, 8
mov dword [ebp - 8], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x24]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x1c]
push edi
test eax, eax
je 0x402ba1
push eax
mov ebx, eax
call fcn.00401025
inc eax
push eax
call fcn.0040741d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402bb4
push ebx
call fcn.00407435
add esp, 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa4]
push 0x4fe1be
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004010ec
add esp, 8
cmp eax, 0
je 0x402c23
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push str.Set_Cookie:
mov ecx, 2
call fcn.00401090
add esp, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402c23
push ebx
call fcn.00407435
add esp, 4
cmp dword [ebp + 0x88], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x402c60
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0x84]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x74]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xb8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402c96
push ebx
call fcn.00407435
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402cc4
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
mov ebx, 6
call fcn.00402568
push SysStringLen
push 0
push str.Set_Cookie
push SysStringLen
push 0
push str.set_cookie
push SysStringLen
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x402d0d
mov eax, 0x4fe1be
push eax
push 6
mov ebx, 0x407d50
call fcn.00407423
add esp, 0x4c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402d39
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc4]
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
push 0
push 0
push 0
push SysStringLen
push 0
push 0x4fe320
push SysStringLen
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x402d7c
mov eax, 0x4fe1be
push eax
push 3
mov ebx, 0x407f40
call fcn.00407423
add esp, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402db4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402db0
imul eax, dword [ebx]
jmp 0x402da5
mov ecx, eax
test ecx, ecx
je 0x402dd3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402dcc
push ebx
push eax
call fcn.00407435
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402dba
call fcn.00407435
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, 0x4fe1be
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402df7
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
call fcn.00402570
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4031ab
mov ebx, dword [ebp - 0x10]
call fcn.00402548
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x402e43
push 0xae9
push 0x4012e95
push 4
call fcn.00407429
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x402e60
push 0xae9
push 0x4012e95
push 1
call fcn.00407429
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push str.Set_Cookie
push SysStringLen
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x402e9b
mov eax, 0x4fe1be
push eax
push 4
mov ebx, 0x407a10
call fcn.00407423
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x4031a3
mov ebx, dword [ebp - 0x10]
call fcn.00402548
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x402ee2
push 0xb4e
push 0x4012e95
push 4
call fcn.00407429
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x402eff
push 0xb4e
push 0x4012e95
push 1
call fcn.00407429
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push 0x4fe34e
push SysStringLen
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x402f3a
mov eax, 0x4fe1be
push eax
push 4
mov ebx, 0x407a10
call fcn.00407423
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x403088
mov ebx, dword [ebp - 0x10]
call fcn.00402548
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x402f81
push 0xbc9
push 0x4012e95
push 4
call fcn.00407429
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x402f9e
push 0xbc9
push 0x4012e95
push 1
call fcn.00407429
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x4fe34e
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
call fcn.0040333b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402ff1
push ebx
call fcn.00407435
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403001
push ebx
call fcn.00407435
add esp, 4
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x403014
mov eax, 0x4fe1be
push eax
push 1
mov ebx, 0x407d30
call fcn.00407423
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40303a
push ebx
call fcn.00407435
add esp, 4
push 0x4fe350
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401090
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403067
push ebx
call fcn.00407435
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40307d
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
jmp 0x4031a3
mov ebx, dword [ebp - 0x10]
call fcn.00402548
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x4030af
push 0xc53
push 0x4012e95
push 4
call fcn.00407429
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4030cc
push 0xc53
push 0x4012e95
push 1
call fcn.00407429
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
mov ebx, 9
call fcn.00402568
push SysStringLen
push 0
push str.Set_Cookie:
push SysStringLen
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x40310b
mov eax, 0x4fe1be
push eax
push 6
mov ebx, 0x407d50
call fcn.00407423
add esp, 0x4c
mov dword [ebp - 0x1c], eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x403134
mov eax, 0x4fe1be
push eax
push 1
mov ebx, 0x407d30
call fcn.00407423
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40315a
push ebx
call fcn.00407435
add esp, 4
push 0x4fe350
push dword [ebp - 0x20]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.00401090
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403187
push ebx
call fcn.00407435
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40319d
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x402e0e
add esp, 0xc
push SysStringLen
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4031c3
mov eax, 0x4fe1be
push eax
push 1
mov ebx, 0x407710
call fcn.00407423
add esp, 0x10
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x4fe353]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00402475
push 0x80000301
push 0
push eax
push SysStringLen
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x403210
mov eax, 0x4fe1be
push eax
push 2
mov ebx, 0x407790
call fcn.00407423
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40323c
push ebx
call fcn.00407435
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004035d9
mov ebx, eax
test ebx, ebx
je 0x40325c
push ebx
call fcn.00407435
add esp, 4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x403284
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040741d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403289
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00407435
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4032b8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4032b4
imul eax, dword [ebx]
jmp 0x4032a9
mov ecx, eax
test ecx, ecx
je 0x4032d7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4032d0
push ebx
push eax
call fcn.00407435
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4032be
call fcn.00407435
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4032ef
push ebx
call fcn.00407435
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40330d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403309
imul eax, dword [ebx]
jmp 0x4032fe
mov ecx, eax
test ecx, ecx
je 0x40332c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403325
push ebx
push eax
call fcn.00407435
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x403313
call fcn.00407435
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x84