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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
push 8
call fcn.00413bd3
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00413bd3
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4ce16f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 0x10
call fcn.00413bd3
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.00413bd3
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x4ce16f
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, 0
call fcn.00413beb
cmp dword [ebp - 0x20], esp
je 0x4049ef
push 6
call fcn.00413bd9
add esp, 4
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x404a0d
mov eax, 0x4cea2a
jmp 0x404a12
mov eax, 0x4cea2f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404a29
push ebx
call fcn.00413bbb
add esp, 4
pop eax
mov dword [ebp - 4], eax
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 - 8]
push 3
mov ebx, 0x416fc0
call fcn.00413bcd
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x404a72
mov eax, 0x4ce16f
jmp 0x4055d1
cmp dword [ebp + 0x5c], 0xffffffff
je 0x404b03
cmp dword [ebp + 0x5c], 1
jge 0x404a92
mov dword [ebp + 0x5c], 0x3a98
jmp 0x404aaf
fild dword [ebp + 0x5c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4cea4e]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040124e
mov dword [ebp + 0x5c], eax
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x5c]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4cea56
push 0x10030
push 0
push dword [ebp - 8]
push 6
mov ebx, 0x415f80
call fcn.00413bcd
add esp, 0x4c
push 0x4ce0e4
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.004027f8
add esp, 8
cmp eax, 0
je 0x404bcf
push 0xa0000004
push 0
push dword [ebp + 0x4c]
push 0x80000301
push 0
push 2
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x415f80
call fcn.00413bcd
add esp, 0x34
push 0x4ce0e4
mov ebx, dword [ebp + 0x64]
push dword [ebx]
call fcn.004027f8
add esp, 8
cmp eax, 0
je 0x404bcf
cmp dword [ebp + 0x78], 0
jne 0x404b88
mov dword [ebp + 0x74], 1
push 0xa0000301
push 0
lea eax, [ebp + 0x74]
push eax
push 0xa0000004
push 0
push dword [ebp + 0x6c]
push 0xa0000004
push 0
push dword [ebp + 0x64]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetProxyCredentials
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x415f80
call fcn.00413bcd
add esp, 0x40
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
lea eax, [ebp - 4]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x415f80
call fcn.00413bcd
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x404c62
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 - 8]
push 4
mov ebx, 0x416f10
call fcn.00413bcd
add esp, 0x34
push 0x4ce0e4
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.004027f8
add esp, 8
cmp eax, 0
jne 0x404cb8
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 0x4ceb2f
mov ecx, 3
call fcn.004015ab
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 0x404cb2
push ebx
call fcn.00413bbb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x4ce0e4
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.004027f8
add esp, 8
cmp eax, 0
je 0x404d11
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 - 8]
push 4
mov ebx, 0x415f80
call fcn.00413bcd
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 0x4ce10d
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404d44
mov eax, 0x4ce0e4
push eax
push 4
mov ebx, 0x414340
call fcn.00413bcd
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x404def
push dword [ebp + 0x2c]
call fcn.004056c9
mov dword [ebp - 0x20], eax
push dword [ebp + 0x2c]
call fcn.004057e1
mov dword [ebp - 0x24], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x404d8d
mov eax, 0x4ce0e4
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x404da1
mov eax, 0x4ce0e4
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x415f80
call fcn.00413bcd
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404dda
push ebx
call fcn.00413bbb
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404dea
push ebx
call fcn.00413bbb
add esp, 4
jmp 0x404fec
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4ce10d
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x404e16
mov eax, 0x4ce0e4
push eax
push 3
mov ebx, 0x414ba0
call fcn.00413bcd
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404e4e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404e4a
imul eax, dword [ebx]
jmp 0x404e3f
mov ecx, eax
test ecx, ecx
je 0x404e6d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404e66
push ebx
push eax
call fcn.00413bbb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404e54
call fcn.00413bbb
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00401607
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x404fe9
mov ebx, dword [ebp - 0xc]
call fcn.00401620
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x404eb5
push 4
call fcn.00413bd9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404ec8
push 1
call fcn.00413bd9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x4ce0e4
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.004027f8
add esp, 8
cmp eax, 0
je 0x404fe1
mov ebx, dword [ebp - 0xc]
call fcn.00401620
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x404f08
push 4
call fcn.00413bd9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404f1b
push 1
call fcn.00413bd9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
call fcn.004056c9
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0xc]
call fcn.00401620
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x404f4b
push 4
call fcn.00413bd9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x404f5e
push 1
call fcn.00413bd9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x28]
call fcn.004057e1
mov dword [ebp - 0x2c], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x404f84
mov eax, 0x4ce0e4
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x404f98
mov eax, 0x4ce0e4
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x415f80
call fcn.00413bcd
add esp, 0x34
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404fd1
push ebx
call fcn.00413bbb
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404fe1
push ebx
call fcn.00413bbb
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x404e8a
add esp, 0xc
mov eax, 0x4ce16f
xor ecx, ecx
test eax, eax
je 0x404ffa
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 0x40500d
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x405024
dec eax
test ecx, ecx
je 0x405024
call fcn.00404878
add esp, 0xc
test eax, eax
jne 0x405066
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 - 8]
push 3
mov ebx, 0x415f80
call fcn.00413bcd
add esp, 0x28
jmp 0x4050d1
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x405081
mov eax, 0x4ce16f
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x416a10
call fcn.00413bcd
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 - 8]
push 3
mov ebx, 0x415f80
call fcn.00413bcd
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 - 8]
push 3
mov ebx, 0x415f50
call fcn.00413bcd
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, 0x415fd0
call fcn.00413bcd
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, 0x415fb0
call fcn.00413bcd
add esp, 0x10
call fcn.00413bbb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40515e
push ebx
call fcn.00413bbb
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 - 8]
push 3
mov ebx, 0x415f20
call fcn.00413bcd
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4051a9
push ebx
call fcn.00413bbb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4ce10d
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x4051d6
mov eax, 0x4ce0e4
push eax
push 3
mov ebx, 0x414ba0
call fcn.00413bcd
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 0x40520e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40520a
imul eax, dword [ebx]
jmp 0x4051ff
mov ecx, eax
test ecx, ecx
je 0x40522d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405226
push ebx
push eax
call fcn.00413bbb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405214
call fcn.00413bbb
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x4ce0e4
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405251
push ebx
call fcn.00413bbb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401607
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x405508
mov ebx, dword [ebp - 0x1c]
call fcn.00401620
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x405293
push 4
call fcn.00413bd9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4052a6
push 1
call fcn.00413bd9
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 0x4052e1
mov eax, 0x4ce0e4
push eax
push 4
mov ebx, 0x414340
call fcn.00413bcd
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x405360
mov ebx, dword [ebp - 0x1c]
call fcn.00401620
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40531e
push 4
call fcn.00413bd9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405331
push 1
call fcn.00413bd9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
call fcn.004057e1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40535a
push ebx
call fcn.00413bbb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401620
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40537d
push 4
call fcn.00413bd9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405390
push 1
call fcn.00413bd9
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 0x4053cb
mov eax, 0x4ce0e4
push eax
push 4
mov ebx, 0x414340
call fcn.00413bcd
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x405500
mov ebx, dword [ebp - 0x1c]
call fcn.00401620
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x405408
push 4
call fcn.00413bd9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40541b
push 1
call fcn.00413bd9
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, 0x4ceb8e
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.00405927
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40546e
push ebx
call fcn.00413bbb
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40547e
push ebx
call fcn.00413bbb
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x405491
mov eax, 0x4ce0e4
push eax
push 1
mov ebx, 0x414970
call fcn.00413bcd
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4054b7
push ebx
call fcn.00413bbb
add esp, 4
push 0x4ceb9c
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004015ab
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4054e4
push ebx
call fcn.00413bbb
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4054fa
push ebx
call fcn.00413bbb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x405268
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.00405be8
mov ebx, eax
test ebx, ebx
je 0x405525
push ebx
call fcn.00413bbb
add esp, 4
push 0x4ce0e4
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.004027f8
add esp, 8
cmp eax, 0
jne 0x405577
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x40555e
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.00413bd3
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 0x405571
push ebx
call fcn.00413bbb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x416fb0
call fcn.00413bcd
add esp, 0x10
mov dword [ebp - 0x20], esp
mov eax, 1
call fcn.00413beb
cmp dword [ebp - 0x20], esp
je 0x4055b2
push 6
call fcn.00413bd9
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4055cc
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00413bd3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4055d1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4055e2
push ebx
call fcn.00413bbb
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x416fb0
call fcn.00413bcd
add esp, 0x10
call fcn.00413bbb
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405623
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40561f
imul eax, dword [ebx]
jmp 0x405614
mov ecx, eax
test ecx, ecx
je 0x405642
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40563b
push ebx
push eax
call fcn.00413bbb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405629
call fcn.00413bbb
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x415fb0
call fcn.00413bcd
add esp, 0x10
call fcn.00413bbb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40567d
push ebx
call fcn.00413bbb
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40569b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405697
imul eax, dword [ebx]
jmp 0x40568c
mov ecx, eax
test ecx, ecx
je 0x4056ba
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4056b3
push ebx
push eax
call fcn.00413bbb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4056a1
call fcn.00413bbb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74