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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.0051ef6e
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0051ef6e
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x679969
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.0051ef6e
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x679969
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0051ef6e
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
mov dword [ebp - 0x1c], esp
push 0
mov eax, 0x2b
call fcn.0051ef7a
cmp dword [ebp - 0x1c], esp
je 0x4158ce
push 0
push 0x408698d
push 6
call fcn.0051ef74
add esp, 0xc
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x523ca0
call fcn.0051ef80
add esp, 0x28
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x415913
mov eax, 0x679969
jmp 0x41651a
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x415928
mov eax, 0x679963
push eax
push 1
mov ebx, 0x51fce0
call fcn.0051ef80
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 0x415954
push ebx
call fcn.0051ef68
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x679963
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00409a25
add esp, 8
cmp eax, 0
jne 0x415993
mov eax, 0x67a4f0
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41598d
push ebx
call fcn.0051ef68
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x415a24
cmp dword [ebp + 0x44], 1
jge 0x4159b3
mov dword [ebp + 0x44], 0x1388
jmp 0x4159d0
fild dword [ebp + 0x44]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x6799de]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00409566
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.WS2_32.dll_connect
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x522980
call fcn.0051ef80
add esp, 0x4c
push 0x679963
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.00409a25
add esp, 8
cmp eax, 0
je 0x415af0
push 0xa0000004
push 0
push dword [ebp + 0x4c]
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x522980
call fcn.0051ef80
add esp, 0x34
push 0x679963
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.00409a25
add esp, 8
cmp eax, 0
je 0x415af0
cmp dword [ebp + 0x68], 0
jne 0x415aa9
mov dword [ebp + 0x64], 1
push 0xa0000301
push 0
lea eax, [ebp + 0x64]
push eax
push 0xa0000004
push 0
push dword [ebp + 0x5c]
push 0xa0000004
push 0
push dword [ebp + 0x54]
push reloc.WS2_32.dll_connect
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x522980
call fcn.0051ef80
add esp, 0x40
push reloc.WS2_32.dll_bind
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x522980
call fcn.0051ef80
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x415b82
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.WS2_32.dll_connect
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x523ba0
call fcn.0051ef80
add esp, 0x34
push 0x679963
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00409a25
add esp, 8
cmp eax, 0
jne 0x415bd8
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.004092a0
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 0x415bd2
push ebx
call fcn.0051ef68
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x679963
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00409a25
add esp, 8
cmp eax, 0
je 0x415c31
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.WS2_32.dll_connect
push 0
push str.Cookie
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x522980
call fcn.0051ef80
add esp, 0x34
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x679997
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x415c64
mov eax, 0x679963
push eax
push 4
mov ebx, 0x51fb30
call fcn.0051ef80
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jle 0x4160bf
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x679997
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x415cab
mov eax, 0x679963
push eax
push 3
mov ebx, 0x5206c0
call fcn.0051ef80
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 0x415ce3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x415cdf
imul eax, dword [ebx]
jmp 0x415cd4
mov ecx, eax
test ecx, ecx
je 0x415d02
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415cfb
push ebx
push eax
call fcn.0051ef68
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415ce9
call fcn.0051ef68
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.0040a7ea
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 0x4160b7
mov ebx, dword [ebp - 8]
call fcn.0040a803
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x415d54
push 0x66b
push 0x408698d
push 4
call fcn.0051ef74
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x415d71
push 0x66b
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x67a698
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x415dac
mov eax, 0x679963
push eax
push 4
mov ebx, 0x51fb30
call fcn.0051ef80
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x4160af
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x415dea
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x415de6
imul eax, dword [ebx]
jmp 0x415ddb
mov ecx, eax
test ecx, ecx
je 0x415e09
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415e02
push ebx
push eax
call fcn.0051ef68
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415df0
call fcn.0051ef68
add esp, 4
mov eax, 0x679969
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040a803
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x415e40
push 0x6d5
push 0x408698d
push 4
call fcn.0051ef74
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x415e5d
push 0x6d5
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x67a698
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x415e8c
mov eax, 0x679963
push eax
push 3
mov ebx, 0x5206c0
call fcn.0051ef80
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 0x415ec4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x415ec0
imul eax, dword [ebx]
jmp 0x415eb5
mov ecx, eax
test ecx, ecx
je 0x415ee3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x415edc
push ebx
push eax
call fcn.0051ef68
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415eca
call fcn.0051ef68
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.0040a7ea
cmp dword [ebp - 0xc], eax
jle 0x415f0f
jmp 0x415ffb
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
mov eax, 1
cmp eax, ecx
jl 0x415f37
push 0x7d1
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
mov eax, 1
cmp eax, ecx
jl 0x415f67
push 0x7f0
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x415f96
push 0x7f0
push 0x408698d
push 4
call fcn.0051ef74
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x415fb3
push 0x7f0
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x67a698
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ecx, 3
call fcn.004092a0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x415ff0
push ebx
call fcn.0051ef68
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
jmp 0x415ef6
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
mov eax, 0
cmp eax, ecx
jl 0x416023
push 0x83a
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
mov eax, 1
cmp eax, ecx
jl 0x416053
push 0x83a
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x416070
mov eax, 0x679963
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x416086
mov eax, 0x679963
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x522980
call fcn.0051ef80
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x415d1f
add esp, 0xc
jmp 0x41635c
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x67a698
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4160f2
mov eax, 0x679963
push eax
push 4
mov ebx, 0x51fb30
call fcn.0051ef80
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jle 0x41635c
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x67a698
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x416139
mov eax, 0x679963
push eax
push 3
mov ebx, 0x5206c0
call fcn.0051ef80
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 0x416171
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41616d
imul eax, dword [ebx]
jmp 0x416162
mov ecx, eax
test ecx, ecx
je 0x416190
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x416189
push ebx
push eax
call fcn.0051ef68
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x416177
call fcn.0051ef68
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.0040a7ea
cmp dword [ebp - 0xc], eax
jle 0x4161bc
jmp 0x4162a8
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
mov eax, 1
cmp eax, ecx
jl 0x4161e4
push 0xa0f
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
mov eax, 1
cmp eax, ecx
jl 0x416214
push 0xa2e
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x416243
push 0xa2e
push 0x408698d
push 4
call fcn.0051ef74
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x416260
push 0xa2e
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x67a698
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ecx, 3
call fcn.004092a0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41629d
push ebx
call fcn.0051ef68
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
jmp 0x4161a3
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
mov eax, 0
cmp eax, ecx
jl 0x4162d0
push 0xa78
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040a803
mov eax, 1
cmp eax, ecx
jl 0x416300
push 0xa78
push 0x408698d
push 1
call fcn.0051ef74
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x41631d
mov eax, 0x679963
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x416333
mov eax, 0x679963
push eax
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x522980
call fcn.0051ef80
add esp, 0x34
mov eax, 0x679969
xor ecx, ecx
test eax, eax
je 0x41636a
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x41637d
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x416394
dec eax
test ecx, ecx
je 0x416394
call fcn.0040f03b
add esp, 0xc
test eax, eax
jne 0x4163d6
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x522980
call fcn.0051ef80
add esp, 0x28
jmp 0x416441
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebx]
test eax, eax
jne 0x4163f1
mov eax, 0x679969
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x523590
call fcn.0051ef80
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x522980
call fcn.0051ef80
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 - 4]
push 3
mov ebx, 0x522950
call fcn.0051ef80
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, 0x522b50
call fcn.0051ef80
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, 0x522aa0
call fcn.0051ef80
add esp, 0x10
call fcn.0051ef68
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4164ce
push ebx
call fcn.0051ef68
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
mov eax, 0x2c
call fcn.0051ef7a
cmp dword [ebp - 0x1c], esp
je 0x4164fb
push 0xf38
push 0x408698d
push 6
call fcn.0051ef74
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x416515
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0051ef6e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41651a
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x523c70
call fcn.0051ef80
add esp, 0x10
call fcn.0051ef68
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41655c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x416558
imul eax, dword [ebx]
jmp 0x41654d
mov ecx, eax
test ecx, ecx
je 0x41657b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x416574
push ebx
push eax
call fcn.0051ef68
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x416562
call fcn.0051ef68
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4165a1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41659d
imul eax, dword [ebx]
jmp 0x416592
mov ecx, eax
test ecx, ecx
je 0x4165c0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4165b9
push ebx
push eax
call fcn.0051ef68
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4165a7
call fcn.0051ef68
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x522aa0
call fcn.0051ef80
add esp, 0x10
call fcn.0051ef68
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4165fb
push ebx
call fcn.0051ef68
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74