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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 4], 0
push 0x18
call fcn.0047476f
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x10
call fcn.0047476f
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 dword [ebp - 0x18], 0
push 0xc
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x5d00bf
push ebx
add ebx, 4
push ebx
push 8
call fcn.0047476f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040545b
pop ebx
push 8
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ebx, dword [0x723de8]
call fcn.00402610
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x405784
mov ebx, dword [0x723de8]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4055cd
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4055e0
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
push eax
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.004012f1
add esp, 8
cmp eax, 0
jne 0x40577c
mov ebx, dword [0x723de8]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40562e
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405641
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
push eax
push 0x18
call fcn.0047476f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x40567c
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x40569b
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4056ba
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4056d9
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4056f8
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
push eax
mov ebx, dword [ebp - 8]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x405713
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x405727
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40573b
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40574f
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x405763
push ebx
call fcn.00474775
add esp, 4
pop ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
jmp 0x405784
pop eax
pop ebx
pop ecx
jmp 0x40559f
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x406254
mov ebx, dword [0x723df0]
call fcn.00402610
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40590d
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4057d3
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4057e6
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x4c
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
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 0x4058eb
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40583a
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40584d
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x50]
call fcn.00402629
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x405871
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405884
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
push eax
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.004012f1
add esp, 8
cmp eax, 0
jne 0x4058e3
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
jmp 0x4058eb
pop eax
pop ebx
pop ecx
jmp 0x405801
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x405905
jmp 0x40590d
pop eax
pop ebx
pop ecx
jmp 0x4057a5
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x24], ebx
push 0x5d033e
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.004012f1
add esp, 8
cmp eax, 0
jne 0x405955
mov eax, 0x5d0340
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40594c
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x4059da
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x24], ebx
push 0x58ff32
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.004012f1
add esp, 8
cmp eax, 0
jne 0x40599a
mov eax, 0x5a6cee
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405991
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x4059da
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x24], ebx
push 0x5d0345
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.004012f1
add esp, 8
cmp eax, 0
jne 0x4059da
mov eax, 0x5d0347
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4059d6
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push str.side
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.v1id
mov ecx, 4
call fcn.0040106f
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
push 8
call fcn.0047476f
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
mov eax, str.User_Agent:Mozilla_5.0__Linux__Android_4.4.4__2015813_Build_KTU84P__AppleWebKit_537.36__KHTML__like_Gecko__Version_4.0_Chrome_35.0.1916.138_Mobile_Mobile_Safari_537.36
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x2c]
push eax
push 1
push 1
mov eax, str.http:__1_api_red.xunlei.com_index.php_rusr_openStone
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040290b
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x405b05
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405b15
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x405b25
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x405b35
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x405b45
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x405b55
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x405b65
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405b75
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405b85
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x47d920
call fcn.00474787
add esp, 0x10
call fcn.00474775
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x405bbb
mov eax, 0x5a6de3
push eax
push 1
mov ebx, 0x476a80
call fcn.00474787
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x405be1
push ebx
call fcn.00474775
add esp, 4
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x405c03
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x5a6deb
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405c3c
push ebx
call fcn.00474775
add esp, 4
push 0x5a6ded
push dword [ebp - 0x2c]
call fcn.004012f1
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405c6a
push ebx
call fcn.00474775
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x4061e2
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x20]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, str.get.name
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405cc5
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, str.get.num
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405cfe
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov eax, 0x5d039a
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405d37
push ebx
call fcn.00474775
add esp, 4
push dword [ebp - 0x48]
push 0x5d039d
push dword [ebp - 0x3c]
push 0x5d03a4
push dword [ebp - 0x30]
push 0x5d03ab
mov ecx, 6
call fcn.0040106f
add esp, 0x18
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405d6f
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405d7f
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x405d8f
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405da5
push ebx
call fcn.00474775
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, str.get.num
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405df7
push ebx
call fcn.00474775
add esp, 4
push 0x5d03b1
push dword [ebp - 0x34]
push 0x5d03b8
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5d0080
push dword [ebp - 0x18]
push 0x5d03bf
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x5d0080
mov ecx, 9
call fcn.0040106f
add esp, 0x24
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x405e40
push ebx
call fcn.00474775
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov eax, 0x5d03c6
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00404e40
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x405e65
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405e75
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x34], ebx
push 0
mov ebx, 0x477700
call fcn.00474787
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push 1
mov eax, str._HH:mm:ss
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, 0x5d03d5
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00406387
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405efb
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405f0b
push ebx
call fcn.00474775
add esp, 4
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov eax, str.get.num
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x405f44
push ebx
call fcn.00474775
add esp, 4
push 0x5d03e0
push dword [ebp - 0x54]
push 0x5d03e3
push dword [ebp - 0x48]
push 0x5d03e3
mov ebx, dword [ebp - 0x34]
push dword [ebx]
push 0x5d03e3
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0x5d03e3
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 0x5d03e3
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push 0x5d03e3
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push str.insert_into_box_box_bz_username_box_name_box_id_box_value_box_side_box_time_box_profit__values_1_
mov ecx, 0xf
call fcn.0040106f
add esp, 0x3c
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x405fab
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x405fbb
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [0x723df4]
test ebx, ebx
je 0x405fd2
push ebx
call fcn.00474775
add esp, 4
pop eax
mov dword [0x723df4], eax
call fcn.0040682c
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4061dd
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
dec eax
jns 0x40601a
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40602d
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x50
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x28]
push 4
mov eax, 2
call fcn.00474769
add esp, 8
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
dec eax
jl 0x406186
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
mov ebx, dword [ebx]
mov dword [ebp - 0x38], ebx
call fcn.00402629
mov dword [ebp - 0x3c], ecx
sub ecx, dword [ebp - 0x30]
jle 0x406186
cmp ecx, 1
jle 0x406087
mov ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jle 0x406186
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
sub eax, dword [ebp - 0x34]
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4060b5
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x38]
add edi, 8
mov eax, dword [ebp - 0x30]
shl eax, 2
add edi, eax
mov ecx, dword [ebp - 0x34]
mov ebx, edi
push edi
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4060de
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4060f2
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406106
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40611a
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40612e
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406142
push ebx
call fcn.00474775
add esp, 4
pop ebx
call fcn.00474775
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4060c9
pop edi
mov eax, dword [ebp - 0x34]
shl eax, 2
mov esi, edi
add esi, eax
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
sub edi, dword [ebp - 0x38]
push edi
push dword [ebp - 0x38]
call fcn.00474799
add esp, 8
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x34]
jmp 0x406188
xor eax, eax
mov ebx, dword [0x723df0]
call fcn.00402629
push ebx
push ecx
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
dec eax
jns 0x4061b3
push 4
call fcn.0047477b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4061c6
push 1
call fcn.0047477b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x4c
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
dec dword [ebx]
call fcn.00406b3b
jmp 0x40624f
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x20]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5d039a
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406233
push ebx
call fcn.00474775
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406249
push ebx
call fcn.00474775
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
jmp 0x40628a
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x20]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov eax, 0x5d044c
push eax
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406284
push ebx
call fcn.00474775
add esp, 4
pop eax
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov eax, dword [ebp - 0x20]
push eax
push 8
call fcn.0047476f
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4062bd
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.0047476f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
jmp 0x4062c6
push eax
mov ebx, dword [ebp - 8]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4062db
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4062ef
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406303
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406317
push ebx
call fcn.00474775
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40632b
push ebx
call fcn.00474775
add esp, 4
pop ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406350
push ebx
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00474775
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406377
push ebx
call fcn.00474775
add esp, 4
pop ebx
call fcn.00474775
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4