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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
push 8
call fcn.00452d44
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.00452d44
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x512ca3
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.00452d44
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.00452d44
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x512ca3
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, 0x38
call fcn.00452d56
cmp dword [ebp - 0x20], esp
je 0x40ec94
push 6
call fcn.00452d50
add esp, 4
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x40ecb2
mov eax, 0xada246
jmp 0x40ecb7
mov eax, 0xada24b
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ecce
push ebx
call fcn.00452d4a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0xada24f
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x457ac0
call fcn.00452d5c
add esp, 0x28
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40ed17
mov eax, 0x512ca3
jmp 0x40f876
cmp dword [ebp + 0x5c], 0xffffffff
je 0x40eda8
cmp dword [ebp + 0x5c], 1
jge 0x40ed37
mov dword [ebp + 0x5c], 0x3a98
jmp 0x40ed54
fild dword [ebp + 0x5c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0xada26a]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401300
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.WS2_32.dll_connect
push 0
push 0xada272
push 0x10030
push 0
push dword [ebp - 8]
push 6
mov ebx, 0x456a50
call fcn.00452d5c
add esp, 0x4c
push 0x512cff
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
call fcn.00401760
add esp, 8
cmp eax, 0
je 0x40ee74
push 0xa0000004
push 0
push dword [ebp + 0x4c]
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
push 0xada27e
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x456a50
call fcn.00452d5c
add esp, 0x34
push 0x512cff
mov ebx, dword [ebp + 0x64]
push dword [ebx]
call fcn.00401760
add esp, 8
cmp eax, 0
je 0x40ee74
cmp dword [ebp + 0x78], 0
jne 0x40ee2d
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.WS2_32.dll_connect
push 0
push 0xada287
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x456a50
call fcn.00452d5c
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.WS2_32.dll_connect
push 0
push 0xada29b
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x456a50
call fcn.00452d5c
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x40ef07
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.WS2_32.dll_connect
push 0
push 0xada2a0
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x457a10
call fcn.00452d5c
add esp, 0x34
push 0x512cff
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401760
add esp, 8
cmp eax, 0
jne 0x40ef5d
push 0xada2a7
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0xada34b
mov ecx, 3
call fcn.0040423a
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 0x40ef57
push ebx
call fcn.00452d4a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x512cff
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401760
add esp, 8
cmp eax, 0
je 0x40efb6
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.WS2_32.dll_connect
push 0
push 0xada355
push reloc.WS2_32.dll_connect
push 0
push 0xada35c
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x456a50
call fcn.00452d5c
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x521079
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40efe9
mov eax, 0x512cff
push eax
push 4
mov ebx, 0x4539d0
call fcn.00452d5c
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x40f094
push dword [ebp + 0x2c]
call fcn.0040f96e
mov dword [ebp - 0x20], eax
push dword [ebp + 0x2c]
call fcn.0040fa86
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40f032
mov eax, 0x512cff
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40f046
mov eax, 0x512cff
push eax
push reloc.WS2_32.dll_connect
push 0
push 0xada35c
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x456a50
call fcn.00452d5c
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f07f
push ebx
call fcn.00452d4a
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f08f
push ebx
call fcn.00452d4a
add esp, 4
jmp 0x40f291
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x521079
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40f0bb
mov eax, 0x512cff
push eax
push 3
mov ebx, 0x4545b0
call fcn.00452d5c
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 0x40f0f3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f0ef
imul eax, dword [ebx]
jmp 0x40f0e4
mov ecx, eax
test ecx, ecx
je 0x40f112
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40f10b
push ebx
push eax
call fcn.00452d4a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f0f9
call fcn.00452d4a
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00401727
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 0x40f28e
mov ebx, dword [ebp - 0xc]
call fcn.00401740
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40f15a
push 4
call fcn.00452d50
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f16d
push 1
call fcn.00452d50
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0x512cff
mov ebx, dword [ebp - 0x20]
push dword [ebx]
call fcn.00401760
add esp, 8
cmp eax, 0
je 0x40f286
mov ebx, dword [ebp - 0xc]
call fcn.00401740
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40f1ad
push 4
call fcn.00452d50
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f1c0
push 1
call fcn.00452d50
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
call fcn.0040f96e
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0xc]
call fcn.00401740
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40f1f0
push 4
call fcn.00452d50
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f203
push 1
call fcn.00452d50
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x28]
call fcn.0040fa86
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f229
mov eax, 0x512cff
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40f23d
mov eax, 0x512cff
push eax
push reloc.WS2_32.dll_connect
push 0
push 0xada35c
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x456a50
call fcn.00452d5c
add esp, 0x34
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f276
push ebx
call fcn.00452d4a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f286
push ebx
call fcn.00452d4a
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x40f12f
add esp, 0xc
mov eax, 0x512ca3
xor ecx, ecx
test eax, eax
je 0x40f29f
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 0x40f2b2
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x40f2c9
dec eax
test ecx, ecx
je 0x40f2c9
call fcn.00403599
add esp, 0xc
test eax, eax
jne 0x40f30b
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.WS2_32.dll_connect
push 0
push 0xada36d
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x456a50
call fcn.00452d5c
add esp, 0x28
jmp 0x40f376
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 0x40f326
mov eax, 0x512ca3
push eax
push 0x10031
push 0
push dword [ebp - 0x14]
push 3
mov ebx, 0x4574e0
call fcn.00452d5c
add esp, 0x28
push 0x20010031
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.WS2_32.dll_connect
push 0
push 0xada36d
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x456a50
call fcn.00452d5c
add esp, 0x28
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0xada372
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x456a20
call fcn.00452d5c
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, 0x456aa0
call fcn.00452d5c
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, 0x456a80
call fcn.00452d5c
add esp, 0x10
call fcn.00452d4a
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f403
push ebx
call fcn.00452d4a
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0xada37f
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x4569f0
call fcn.00452d5c
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 0x40f44e
push ebx
call fcn.00452d4a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x521079
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x40f47b
mov eax, 0x512cff
push eax
push 3
mov ebx, 0x4545b0
call fcn.00452d5c
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 0x40f4b3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f4af
imul eax, dword [ebx]
jmp 0x40f4a4
mov ecx, eax
test ecx, ecx
je 0x40f4d2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40f4cb
push ebx
push eax
call fcn.00452d4a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f4b9
call fcn.00452d4a
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, 0x512cff
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f4f6
push ebx
call fcn.00452d4a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401727
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 0x40f7ad
mov ebx, dword [ebp - 0x1c]
call fcn.00401740
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40f538
push 4
call fcn.00452d50
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f54b
push 1
call fcn.00452d50
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.WS2_32.dll_connect
push 0
push 0xada395
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40f586
mov eax, 0x512cff
push eax
push 4
mov ebx, 0x4539d0
call fcn.00452d5c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x40f605
mov ebx, dword [ebp - 0x1c]
call fcn.00401740
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40f5c3
push 4
call fcn.00452d50
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f5d6
push 1
call fcn.00452d50
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
call fcn.0040fa86
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 0x40f5ff
push ebx
call fcn.00452d4a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00401740
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40f622
push 4
call fcn.00452d50
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f635
push 1
call fcn.00452d50
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.WS2_32.dll_connect
push 0
push 0xada39f
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x40f670
mov eax, 0x512cff
push eax
push 4
mov ebx, 0x4539d0
call fcn.00452d5c
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x40f7a5
mov ebx, dword [ebp - 0x1c]
call fcn.00401740
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x40f6ad
push 4
call fcn.00452d50
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40f6c0
push 1
call fcn.00452d50
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, 0xada3aa
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xada3ac
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.0040fbcc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f713
push ebx
call fcn.00452d4a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f723
push ebx
call fcn.00452d4a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40f736
mov eax, 0x512cff
push eax
push 1
mov ebx, 0x454380
call fcn.00452d5c
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f75c
push ebx
call fcn.00452d4a
add esp, 4
push 0xada3b8
push dword [ebp - 0x38]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040423a
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f789
push ebx
call fcn.00452d4a
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f79f
push ebx
call fcn.00452d4a
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x40f50d
add esp, 0xc
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.0040fe8d
mov ebx, eax
test ebx, ebx
je 0x40f7ca
push ebx
call fcn.00452d4a
add esp, 4
push 0x512cff
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401760
add esp, 8
cmp eax, 0
jne 0x40f81c
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x40f803
push eax
mov ebx, eax
call fcn.00401a98
inc eax
push eax
call fcn.00452d44
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 0x40f816
push ebx
call fcn.00452d4a
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, 0x457ab0
call fcn.00452d5c
add esp, 0x10
mov dword [ebp - 0x20], esp
mov eax, 0x39
call fcn.00452d56
cmp dword [ebp - 0x20], esp
je 0x40f857
push 6
call fcn.00452d50
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40f871
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00452d44
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40f876
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f887
push ebx
call fcn.00452d4a
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x457ab0
call fcn.00452d5c
add esp, 0x10
call fcn.00452d4a
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40f8c8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f8c4
imul eax, dword [ebx]
jmp 0x40f8b9
mov ecx, eax
test ecx, ecx
je 0x40f8e7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40f8e0
push ebx
push eax
call fcn.00452d4a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f8ce
call fcn.00452d4a
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x456a80
call fcn.00452d5c
add esp, 0x10
call fcn.00452d4a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f922
push ebx
call fcn.00452d4a
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40f940
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f93c
imul eax, dword [ebx]
jmp 0x40f931
mov ecx, eax
test ecx, ecx
je 0x40f95f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40f958
push ebx
push eax
call fcn.00452d4a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f946
call fcn.00452d4a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x74