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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 8
call fcn.0049c042
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0049c042
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x546fe8
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.0049c042
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x546fe8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0049c042
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, 0x21
call fcn.0049c04e
cmp dword [ebp - 0x1c], esp
je 0x420c90
push 0
push 0x4013e9d
push 6
call fcn.0049c048
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, 0x49fcf0
call fcn.0049c054
add esp, 0x28
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x420cd5
mov eax, 0x546fe8
jmp 0x4218dc
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x420cea
mov eax, 0x547059
push eax
push 1
mov ebx, 0x49c9c0
call fcn.0049c054
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 0x420d16
push ebx
call fcn.0049c03c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x547059
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401f6f
add esp, 8
cmp eax, 0
jne 0x420d55
mov eax, 0x547119
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x420d4f
push ebx
call fcn.0049c03c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x44], 0xffffffff
je 0x420de6
cmp dword [ebp + 0x44], 1
jge 0x420d75
mov dword [ebp + 0x44], 0x1388
jmp 0x420d92
fild dword [ebp + 0x44]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x548077]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00402c55
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, 0x49ec50
call fcn.0049c054
add esp, 0x4c
push 0x547059
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.00401f6f
add esp, 8
cmp eax, 0
je 0x420eb2
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, 0x49ec50
call fcn.0049c054
add esp, 0x34
push 0x547059
mov ebx, dword [ebp + 0x54]
push dword [ebx]
call fcn.00401f6f
add esp, 8
cmp eax, 0
je 0x420eb2
cmp dword [ebp + 0x68], 0
jne 0x420e6b
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, 0x49ec50
call fcn.0049c054
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, 0x49ec50
call fcn.0049c054
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x420f44
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, 0x49fc20
call fcn.0049c054
add esp, 0x34
push 0x547059
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401f6f
add esp, 8
cmp eax, 0
jne 0x420f9a
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.00401731
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 0x420f94
push ebx
call fcn.0049c03c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x547059
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401f6f
add esp, 8
cmp eax, 0
je 0x420ff3
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, 0x49ec50
call fcn.0049c054
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 0x548294
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x421026
mov eax, 0x547059
push eax
push 4
mov ebx, 0x49c810
call fcn.0049c054
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jle 0x421481
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x548294
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x42106d
mov eax, 0x547059
push eax
push 3
mov ebx, 0x49d260
call fcn.0049c054
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 0x4210a5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4210a1
imul eax, dword [ebx]
jmp 0x421096
mov ecx, eax
test ecx, ecx
je 0x4210c4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4210bd
push ebx
push eax
call fcn.0049c03c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4210ab
call fcn.0049c03c
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004016ad
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 0x421479
mov ebx, dword [ebp - 8]
call fcn.0040106d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x421116
push 0x66b
push 0x4013e9d
push 4
call fcn.0049c048
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x421133
push 0x66b
push 0x4013e9d
push 1
call fcn.0049c048
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 0x548cf4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x42116e
mov eax, 0x547059
push eax
push 4
mov ebx, 0x49c810
call fcn.0049c054
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jle 0x421471
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4211ac
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4211a8
imul eax, dword [ebx]
jmp 0x42119d
mov ecx, eax
test ecx, ecx
je 0x4211cb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4211c4
push ebx
push eax
call fcn.0049c03c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4211b2
call fcn.0049c03c
add esp, 4
mov eax, 0x546fe8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.0040106d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x421202
push 0x6d5
push 0x4013e9d
push 4
call fcn.0049c048
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42121f
push 0x6d5
push 0x4013e9d
push 1
call fcn.0049c048
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 0x548cf4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x42124e
mov eax, 0x547059
push eax
push 3
mov ebx, 0x49d260
call fcn.0049c054
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 0x421286
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x421282
imul eax, dword [ebx]
jmp 0x421277
mov ecx, eax
test ecx, ecx
je 0x4212a5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x42129e
push ebx
push eax
call fcn.0049c03c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x42128c
call fcn.0049c03c
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.004016ad
cmp dword [ebp - 0xc], eax
jle 0x4212d1
jmp 0x4213bd
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
mov eax, 1
cmp eax, ecx
jl 0x4212f9
push 0x7d1
push 0x4013e9d
push 1
call fcn.0049c048
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
mov eax, 1
cmp eax, ecx
jl 0x421329
push 0x7f0
push 0x4013e9d
push 1
call fcn.0049c048
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x421358
push 0x7f0
push 0x4013e9d
push 4
call fcn.0049c048
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x421375
push 0x7f0
push 0x4013e9d
push 1
call fcn.0049c048
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x548cf4
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ecx, 3
call fcn.00401731
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 0x4213b2
push ebx
call fcn.0049c03c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
jmp 0x4212b8
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
mov eax, 0
cmp eax, ecx
jl 0x4213e5
push 0x83a
push 0x4013e9d
push 1
call fcn.0049c048
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
mov eax, 1
cmp eax, ecx
jl 0x421415
push 0x83a
push 0x4013e9d
push 1
call fcn.0049c048
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 0x421432
mov eax, 0x547059
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x421448
mov eax, 0x547059
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, 0x49ec50
call fcn.0049c054
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x4210e1
add esp, 0xc
jmp 0x42171e
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 0x548cf4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4214b4
mov eax, 0x547059
push eax
push 4
mov ebx, 0x49c810
call fcn.0049c054
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jle 0x42171e
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x548cf4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4214fb
mov eax, 0x547059
push eax
push 3
mov ebx, 0x49d260
call fcn.0049c054
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 0x421533
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x42152f
imul eax, dword [ebx]
jmp 0x421524
mov ecx, eax
test ecx, ecx
je 0x421552
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x42154b
push ebx
push eax
call fcn.0049c03c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x421539
call fcn.0049c03c
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.004016ad
cmp dword [ebp - 0xc], eax
jle 0x42157e
jmp 0x42166a
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
mov eax, 1
cmp eax, ecx
jl 0x4215a6
push 0xa0f
push 0x4013e9d
push 1
call fcn.0049c048
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
mov eax, 1
cmp eax, ecx
jl 0x4215d6
push 0xa2e
push 0x4013e9d
push 1
call fcn.0049c048
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x421605
push 0xa2e
push 0x4013e9d
push 4
call fcn.0049c048
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x421622
push 0xa2e
push 0x4013e9d
push 1
call fcn.0049c048
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x548cf4
mov ebx, dword [ebp - 0x20]
push dword [ebx]
mov ecx, 3
call fcn.00401731
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 0x42165f
push ebx
call fcn.0049c03c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
jmp 0x421565
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
mov eax, 0
cmp eax, ecx
jl 0x421692
push 0xa78
push 0x4013e9d
push 1
call fcn.0049c048
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040106d
mov eax, 1
cmp eax, ecx
jl 0x4216c2
push 0xa78
push 0x4013e9d
push 1
call fcn.0049c048
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 0x4216df
mov eax, 0x547059
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4216f5
mov eax, 0x547059
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, 0x49ec50
call fcn.0049c054
add esp, 0x34
mov eax, 0x546fe8
xor ecx, ecx
test eax, eax
je 0x42172c
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 0x42173f
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x421756
dec eax
test ecx, ecx
je 0x421756
call fcn.004061b1
add esp, 0xc
test eax, eax
jne 0x421798
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, 0x49ec50
call fcn.0049c054
add esp, 0x28
jmp 0x421803
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 0x4217b3
mov eax, 0x546fe8
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x49f710
call fcn.0049c054
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, 0x49ec50
call fcn.0049c054
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, 0x49ec20
call fcn.0049c054
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, 0x49ecd0
call fcn.0049c054
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, 0x49ecb0
call fcn.0049c054
add esp, 0x10
call fcn.0049c03c
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x421890
push ebx
call fcn.0049c03c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
mov eax, 0x22
call fcn.0049c04e
cmp dword [ebp - 0x1c], esp
je 0x4218bd
push 0xf38
push 0x4013e9d
push 6
call fcn.0049c048
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4218d7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0049c042
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4218dc
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x49fcc0
call fcn.0049c054
add esp, 0x10
call fcn.0049c03c
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x42191e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x42191a
imul eax, dword [ebx]
jmp 0x42190f
mov ecx, eax
test ecx, ecx
je 0x42193d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x421936
push ebx
push eax
call fcn.0049c03c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x421924
call fcn.0049c03c
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x421963
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x42195f
imul eax, dword [ebx]
jmp 0x421954
mov ecx, eax
test ecx, ecx
je 0x421982
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x42197b
push ebx
push eax
call fcn.0049c03c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x421969
call fcn.0049c03c
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x49ecb0
call fcn.0049c054
add esp, 0x10
call fcn.0049c03c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4219bd
push ebx
call fcn.0049c03c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74